linux/drivers/net
Moshe Shemesh e1c3940c60 net/mlx5e: Check tunnel offload is required before setting SWP
Check that tunnel offload is required before setting Software Parser
offsets to get Geneve HW offload. In case of Geneve packet we check HW
offload support of SWP in mlx5e_tunnel_features_check() and set features
accordingly, this should be reflected in skb offload requested by the
kernel and we should add the Software Parser offsets only if requested.
Otherwise, in case HW doesn't support SWP for Geneve, data path will
mistakenly try to offload Geneve SKBs with skb->encapsulation set,
regardless of whether offload was requested or not on this specific SKB.

Fixes: e3cfc7e6b7 ("net/mlx5e: TX, Add geneve tunnel stateless offload support")
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
2021-02-11 18:50:16 -08:00
..
appletalk
arcnet net: arcnet: Fix RESET flag handling 2021-01-29 20:54:06 -08:00
bonding
caif
can can: dev: prevent potential information leak in can_fill_info() 2021-01-27 10:25:01 +01:00
dsa net: dsa: felix: implement port flushing on .phylink_mac_link_down 2021-02-09 11:41:11 -08:00
ethernet net/mlx5e: Check tunnel offload is required before setting SWP 2021-02-11 18:50:16 -08:00
fddi
fjes
hamradio
hippi
hyperv hv_netvsc: Reset the RSC count if NVSP_STAT_FAIL in netvsc_receive() 2021-02-04 18:59:17 -08:00
ieee802154
ipa net: ipa: set error code in gsi_channel_setup() 2021-02-04 18:55:54 -08:00
ipvlan
mdio mdio-bitbang: Export mdiobb_{read,write}() 2021-01-19 12:02:20 -08:00
netdevsim
pcs
phy net: phy: consider that suspend2ram may cut off PHY power 2021-02-11 18:27:18 -08:00
plip
ppp ppp: fix refcount underflow on channel unbridge 2021-01-08 19:21:06 -08:00
slip
team team: protect features update by RCU to avoid deadlock 2021-01-26 17:08:59 -08:00
usb NET: usb: qmi_wwan: Adding support for Cinterion MV31 2021-02-03 15:29:32 -08:00
vmxnet3
wan net: hdlc_x25: Return meaningful error code in x25_open 2021-02-04 18:13:25 -08:00
wireguard
wireless wireless-drivers fixes for v5.11 2021-02-06 09:27:20 -08:00
xen-netback xen/netback: avoid race in xenvif_rx_ring_slots_available() 2021-02-04 10:54:37 -08:00
bareudp.c net: bareudp: add missing error handling for bareudp_link_config() 2021-01-06 15:56:44 -08: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
mhi_net.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: fix return value when the number of iovs exceeds MAX_SKB_FRAGS 2020-12-28 13:34:36 -08:00
veth.c
virtio_net.c Networking fixes for 5.11-rc3, including fixes from netfilter, wireless 2021-01-05 12:38:56 -08:00
vrf.c
vsockmon.c
vxlan.c
xen-netfront.c