linux_dsm_epyc7002/drivers/net
Kevin Laatz 4c5d9a7fa1 i40e: fix xdp handle calculations
Currently, we don't add headroom to the handle in i40e_zca_free,
i40e_alloc_buffer_slow_zc and i40e_alloc_buffer_zc. The addition of the
headroom to the handle was removed in
commit 2f86c806a8 ("i40e: modify driver for handling offsets"), which
will break things when headroom is non-zero. This patch fixes this and uses
xsk_umem_adjust_offset to add it appropritely based on the mode being run.

Fixes: 2f86c806a8 ("i40e: modify driver for handling offsets")
Reported-by: Bjorn Topel <bjorn.topel@intel.com>
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2019-09-05 13:53:02 +02:00
..
appletalk
arcnet
bonding bonding: no need to print a message if debugfs_create_dir() fails 2019-08-10 15:25:47 -07:00
caif caif: no need to check return value of debugfs_create functions 2019-08-11 21:31:25 -07:00
can
dsa net: dsa: mv88e6xxx: add delay in direct SMI wait 2019-08-11 21:27:15 -07:00
ethernet i40e: fix xdp handle calculations 2019-09-05 13:53:02 +02:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154 ieee802154: no need to check return value of debugfs_create functions 2019-08-10 15:25:48 -07:00
ipvlan
netdevsim netdevsim: register couple of devlink params 2019-08-11 21:20:25 -07:00
phy net: phy: let phy_speed_down/up support speeds >1Gbps 2019-08-13 17:14:06 -07:00
plip
ppp
slip
team
usb r8152: change rx_copybreak and rx_pending through ethtool 2019-08-13 18:12:09 -07:00
vmxnet3
wan
wimax wimax: no need to check return value of debugfs_create functions 2019-08-10 15:25:47 -07:00
wireless
xen-netback xen-netback: no need to check return value of debugfs_create functions 2019-08-11 21:30:06 -07:00
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c tun: mark small packets as owned by the tap sock 2019-07-25 11:38:32 -07:00
veth.c
virtio_net.c
vrf.c
vsockmon.c
vxlan.c
xen-netfront.c net: Use skb_frag_off accessors 2019-07-30 14:21:32 -07:00