linux/drivers/net
Leon Romanovsky 021a429bdb net/mlx5: Don't hide fallback to software IPsec in FS code
The XFRM code performs fallback to software IPsec if .xdo_dev_state_add()
returns -EOPNOTSUPP. This is what mlx5 did very deep in its stack trace,
despite have all the knowledge that IPsec is not going to work in very
early stage.

This is achieved by making sure that priv->ipsec pointer is valid for
fully working and supported hardware crypto IPsec engine.

In case, the hardware IPsec is not supported, the XFRM code will set NULL
to xso->dev and it will prevent from calls to various .xdo_dev_state_*()
callbacks.

Reviewed-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
2022-05-03 22:59:14 -07:00
..
appletalk
arcnet
bonding
caif
can can: ctucanfd: remove PCI module debug parameters 2022-05-02 09:24:41 +02:00
dsa net: dsa: sja1105: Convert to mdiobus_c45_read 2022-05-02 13:21:38 +02:00
ethernet net/mlx5: Don't hide fallback to software IPsec in FS code 2022-05-03 22:59:14 -07:00
fddi
fjes
hamradio net: hamradio: remove support for DMA SCC devices 2022-04-27 12:22:56 +01:00
hippi
hyperv
ieee802154 Stefan Schmidt says: 2022-05-02 13:57:56 -07:00
ipa
ipvlan
mctp
mdio net: mdio: add reset control for Aspeed MDIO 2022-04-28 09:39:31 +02:00
netdevsim
pcs net: pcs: pcs-xpcs: Convert to mdiobus_c45_read 2022-05-02 13:21:38 +02:00
phy net: phy: bcm87xx: Use mmd helpers 2022-05-02 13:21:38 +02:00
plip
ppp
slip
team
usb usb: lan78xx: remove a copy of the NAPI_POLL_WEIGHT define 2022-04-29 11:56:41 +01:00
vmxnet3
vxlan
wan net: wan: remove support for Z85230-based devices 2022-04-27 12:22:56 +01:00
wireguard
wireless wireless-next patches for v5.19 2022-05-03 17:27:51 -07:00
wwan
xen-netback eth: remove copies of the NAPI_POLL_WEIGHT define 2022-04-29 11:56:41 +01:00
amt.c
bareudp.c
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
veth.c net: enable memcg accounting for veth queues 2022-05-01 13:15:16 +01:00
virtio_net.c
vrf.c
vsockmon.c
xen-netfront.c