aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/dev_ioctl.c
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2021-11-15 21:36:30 +0100
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-11-30 08:40:31 -0800
commitf51b5e2b5943d26387d2abb463bce2b4bd0a4a8d (patch)
tree290e55203d1430ce33c63661cc4d6f8a0784afce /net/core/dev_ioctl.c
parentigc: AF_XDP zero-copy metadata adjust breaks SKBs on XDP_PASS (diff)
downloadwireguard-linux-f51b5e2b5943d26387d2abb463bce2b4bd0a4a8d.tar.xz
wireguard-linux-f51b5e2b5943d26387d2abb463bce2b4bd0a4a8d.zip
igc: enable XDP metadata in driver
Enabling the XDP bpf_prog access to data_meta area is a very small change. Hint passing 'true' to xdp_prepare_buff(). The SKB layers can also access data_meta area, which required more driver changes to support. Reviewers, notice the igc driver have two different functions that can create SKBs, depending on driver config. Hint for testers, ethtool priv-flags legacy-rx enables the function igc_construct_skb() ethtool --set-priv-flags DEV legacy-rx on Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Tested-by: Nechama Kraus <nechamax.kraus@linux.intel.com> Reviewed-by: Alexander Lobakin <alexandr.lobakin@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions