linux/drivers/net
Petr Machata c353fb0d4c mlxsw: spectrum_router: Take router lock in router notifier handler
For notifications that the router needs to handle, router lock is taken.
Further, at least to determine whether an event is related to a tunnel
underlay, router lock also needs to be taken. Due to this, the router lock
is always taken for each unhandled event, and also for some handled events,
even if they are not related to underlay. Thus each event implies at least
one router lock, sometimes two.

Instead of deferring the locking to the leaf handlers, take the lock in the
router notifier handler always. This simplifies thinking about the locking
state, and in some cases saves one lock cycle.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-05-08 11:46:20 +01:00
..
appletalk
arcnet
bonding net: make drivers set the TSO limit not the GSO limit 2022-05-06 12:07:56 +01:00
caif caif_virtio: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
can Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-05 13:03:18 -07:00
dsa net: dsa: felix: perform MDB migration based on ocelot->multicast list 2022-05-06 21:00:12 -07:00
ethernet mlxsw: spectrum_router: Take router lock in router notifier handler 2022-05-08 11:46:20 +01:00
fddi
fjes
hamradio net: hamradio: remove support for DMA SCC devices 2022-04-27 12:22:56 +01:00
hippi drivers: net: hippi: Fix deadlock in rr_close() 2022-04-21 10:30:45 +02:00
hyperv net: make drivers set the TSO limit not the GSO limit 2022-05-06 12:07:56 +01:00
ieee802154 Stefan Schmidt says: 2022-05-02 13:57:56 -07:00
ipa net: switch to netif_napi_add_tx() 2022-05-05 15:54:12 -07:00
ipvlan net: add netif_inherit_tso_max() 2022-05-06 12:07:56 +01:00
mctp
mdio Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-05 13:03:18 -07:00
netdevsim
pcs net: pcs: pcs-xpcs: Convert to mdiobus_c45_read 2022-05-02 13:21:38 +02:00
phy Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-05 13:03:18 -07:00
plip
ppp
slip
team
usb r8152: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
vmxnet3
vxlan net: add netif_inherit_tso_max() 2022-05-06 12:07:56 +01:00
wan net: wan: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
wireguard wireguard: device: check for metadata_dst with skb_valid_dst() 2022-04-22 15:59:05 -07:00
wireless wireless-next patches for v5.19 2022-05-03 17:27:51 -07:00
wwan wwan_hwsim: Avoid flush_scheduled_work() usage 2022-04-25 12:10:24 -07:00
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 net: eql: Use kzalloc instead of kmalloc/memset 2022-04-21 14:40:21 +02:00
geneve.c geneve: avoid indirect calls in GRO path, when possible 2022-04-15 10:52:29 +01:00
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c net: add netif_inherit_tso_max() 2022-05-06 12:07:56 +01:00
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 sungem: Prepare cleanup of powerpc's asm/prom.h 2022-05-05 15:52:27 -07:00
tap.c
thunderbolt.c
tun.c net: switch to netif_napi_add_tx() 2022-05-05 15:54:12 -07:00
veth.c net: add netif_inherit_tso_max() 2022-05-06 12:07:56 +01:00
virtio_net.c net: virtio: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
vrf.c
vsockmon.c
xen-netfront.c