Skip to content

Commit f1eb026

Browse files
dylandreimerinkti-mo
authored andcommitted
Update kernel dependencies to 7.1
Signed-off-by: Dylan Reimerink <dylan.reimerink@isovalent.com>
1 parent 970a97d commit f1eb026

7 files changed

Lines changed: 25 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
env:
99
TMPDIR: /tmp
10-
CI_MAX_KERNEL_VERSION: '6.18'
10+
CI_MAX_KERNEL_VERSION: '7.1'
1111
CI_MAX_EFW_VERSION: '1.0.0-rc2'
1212
CI_MIN_CLANG_VERSION: '13'
1313
go_version: '~1.26'

btf/testdata/btf_testmod.btf

21.9 KB
Binary file not shown.

btf/testdata/btf_testmod.btf.base

2.5 KB
Binary file not shown.

btf/testdata/vmlinux.btf.gz

26.7 KB
Binary file not shown.

elf_sections.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/sys/types.go

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ const (
4646
BPF_F_ADJ_ROOM_ENCAP_L4_UDP = 16
4747
BPF_F_ADJ_ROOM_FIXED_GSO = 1
4848
BPF_F_ADJ_ROOM_NO_CSUM_RESET = 32
49+
BPF_F_ALL_CPUS = 16
4950
BPF_F_BPRM_SECUREEXEC = 1
5051
BPF_F_BROADCAST = 8
5152
BPF_F_CLONE = 512
53+
BPF_F_CPU = 8
5254
BPF_F_CTXLEN_MASK = 4503595332403200
5355
BPF_F_CURRENT_CPU = 4294967295
5456
BPF_F_CURRENT_NETNS = 18446744073709551615
@@ -79,6 +81,7 @@ const (
7981
BPF_F_PEER = 131072
8082
BPF_F_PRESERVE_ELEMS = 2048
8183
BPF_F_PSEUDO_HDR = 16
84+
BPF_F_RB_OVERWRITE = 524288
8285
BPF_F_RDONLY = 8
8386
BPF_F_RDONLY_PROG = 128
8487
BPF_F_RECOMPUTE_CSUM = 1
@@ -111,6 +114,7 @@ const (
111114
BPF_RB_CONS_POS = 2
112115
BPF_RB_FORCE_WAKEUP = 2
113116
BPF_RB_NO_WAKEUP = 1
117+
BPF_RB_OVERWRITE_POS = 4
114118
BPF_RB_PROD_POS = 3
115119
BPF_RB_RING_SIZE = 1
116120
BPF_REG_0 = 0
@@ -255,7 +259,8 @@ const (
255259
BPF_NETKIT_PEER AttachType = 55
256260
BPF_TRACE_KPROBE_SESSION AttachType = 56
257261
BPF_TRACE_UPROBE_SESSION AttachType = 57
258-
__MAX_BPF_ATTACH_TYPE AttachType = 58
262+
BPF_TRACE_FSESSION AttachType = 58
263+
__MAX_BPF_ATTACH_TYPE AttachType = 59
259264
)
260265

261266
type Cmd uint32
@@ -300,7 +305,8 @@ const (
300305
BPF_PROG_BIND_MAP Cmd = 35
301306
BPF_TOKEN_CREATE Cmd = 36
302307
BPF_PROG_STREAM_READ_BY_FD Cmd = 37
303-
__MAX_BPF_CMD Cmd = 38
308+
BPF_PROG_ASSOC_STRUCT_OPS Cmd = 38
309+
__MAX_BPF_CMD Cmd = 39
304310
)
305311

306312
type FunctionId uint32
@@ -588,7 +594,8 @@ const (
588594
BPF_MAP_TYPE_USER_RINGBUF MapType = 31
589595
BPF_MAP_TYPE_CGRP_STORAGE MapType = 32
590596
BPF_MAP_TYPE_ARENA MapType = 33
591-
__MAX_BPF_MAP_TYPE MapType = 34
597+
BPF_MAP_TYPE_INSN_ARRAY MapType = 34
598+
__MAX_BPF_MAP_TYPE MapType = 35
592599
)
593600

594601
type NetfilterInetHook uint32

internal/sys/types_string.go

Lines changed: 12 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)