From af9e312d2f50d44632311c11d30deb9385bfa194 Mon Sep 17 00:00:00 2001 From: arctic-alpaca <67190338+arctic-alpaca@users.noreply.github.com> Date: Wed, 24 Sep 2025 20:53:53 +0200 Subject: [PATCH] remove unneeded xdp definitions The crate targets v6.16 now, so the definitions can be removed. --- gen/modules/xdp.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gen/modules/xdp.h b/gen/modules/xdp.h index da4010337..ebfce3a2f 100644 --- a/gen/modules/xdp.h +++ b/gen/modules/xdp.h @@ -41,14 +41,5 @@ struct xdp_statistics_v1 { __u64 tx_invalid_descs; }; -// The following two definitions were added in kernel version 6.6 and can be removed -// when the crate is updated to kernel version 6.6. - -// https://github.com/torvalds/linux/blob/master/include/uapi/linux/if_xdp.h#L33 -#define XDP_USE_SG (1 << 4) - -// https://github.com/torvalds/linux/blob/master/include/uapi/linux/if_xdp.h#L122 -#define XDP_PKT_CONTD (1 << 0) - #endif