Skip to content

Commit 31b97a9

Browse files
remove unneeded xdp definitions (#166)
The crate targets v6.16 now, so the definitions can be removed.
1 parent cc98c6b commit 31b97a9

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

gen/modules/xdp.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,5 @@ struct xdp_statistics_v1 {
4141
__u64 tx_invalid_descs;
4242
};
4343

44-
// The following two definitions were added in kernel version 6.6 and can be removed
45-
// when the crate is updated to kernel version 6.6.
46-
47-
// https://github.com/torvalds/linux/blob/master/include/uapi/linux/if_xdp.h#L33
48-
#define XDP_USE_SG (1 << 4)
49-
50-
// https://github.com/torvalds/linux/blob/master/include/uapi/linux/if_xdp.h#L122
51-
#define XDP_PKT_CONTD (1 << 0)
52-
5344
#endif
5445

0 commit comments

Comments
 (0)