udp_tunnel: remove rtnl_lock dependency
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest6 patches 3 repliesApplied 6/6
- v46 patches 0 repliesSuperseded
- v34 patches 4 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 4 patches | 5 replies | Superseded | |
| v1 | 3 patches | 6 replies | Superseded |
Changes in v5 from the cover letter
- remove unused variable ([email protected])
Patches in v5 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | geneve: rely on rtnl lock in geneve_offload_rx_portsdrivers/ | +4 | 1 reply | Applied |
| 2/6 | vxlan: drop sock_lockdrivers/ drivers/ drivers/ | +22 | 2 replies | Applied |
| 3/6 | udp_tunnel: remove rtnl_lock dependencydrivers/ drivers/ drivers/ +13 more | +142 | 0 replies | Applied |
| 4/6 | net: remove redundant ASSERT_RTNL() in queue setup functionsnet/ | +0 | 0 replies | Applied |
| 5/6 | netdevsim: remove udp_ports_sleepdrivers/ drivers/ tools/ | +1 | 0 replies | Applied |
| 6/6 | Revert "bnxt_en: bring back rtnl_lock() in the bnxt_open() path"drivers/ | +7 | 0 replies | Applied |
Reviews trailers per patch
4 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Aleksandr Loktionov | Ido Schimmel | Nikolay Aleksandrov |
|---|---|---|---|
| 1/6 | R-b | ||
| 2/6 | R-b | R-b | |
| 3/6 | |||
| 4/6 | |||
| 5/6 | R-b | ||
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net-next v5 0/6] udp_tunnel: remove rtnl_lock dependency
Recently bnxt had to grow back a bunch of rtnl dependencies because of udp_tunnel's infra. Add separate (global) mutext to protect udp_tunnel state.
v5:
- remove unused variable ([email protected])
v4:
- grab lock in more places, specifically netlink and notifiers (Jakub)
- convert geneve and vxlan notifiers to (sleepable) rtnl lock
v3:
- fix 2 test failures (Jakub NIPA)
v2:
- move the lock into udp_tunnel_nic (Jakub)
- reorder the lock ordering (Jakub)
- move udp_ports_sleep removal into separate patch and update the test (Jakub)
Stanislav Fomichev (6):
geneve: rely on rtnl lock in geneve_offload_rx_ports
vxlan: drop sock_lock
udp_tunnel: remove rtnl_lock dependency
net: remove redundant ASSERT_RTNL() in queue setup functions
netdevsim: remove udp_ports_sleep
Revert "bnxt_en: bring back rtnl_lock() in the bnxt_open() path"
.../net/ethernet/broadcom/bnx2x/bnx2x_main.c | 3 +- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 42 ++------- drivers/net/ethernet/emulex/benet/be_main.c | 3 +- drivers/net/ethernet/intel/i40e/i40e_main.c | 1 - drivers/net/ethernet/intel/ice/ice_main.c | 1 - .../net/ethernet/mellanox/mlx4/en_netdev.c | 3 +- .../net/ethernet/mellanox/mlx5/core/en_main.c | 3 +- .../ethernet/netronome/nfp/nfp_net_common.c | 3 +- .../net/ethernet/qlogic/qede/qede_filter.c | 3 - .../net/ethernet/qlogic/qlcnic/qlcnic_main.c | 1 - drivers/net/ethernet/sfc/ef10.c | 1 - drivers/net/geneve.c | 7 +- drivers/net/netdevsim/netdevsim.h | 2 - drivers/net/netdevsim/udp_tunnels.c | 12 --- drivers/net/vxlan/vxlan_core.c | 35 +++----- drivers/net/vxlan/vxlan_private.h | 2 +- drivers/net/vxlan/vxlan_vnifilter.c | 18 ++-- include/net/udp_tunnel.h | 87 ++++++++++++++----- net/core/dev.c | 4 +- net/ipv4/udp_tunnel_core.c | 16 ++-- net/ipv4/udp_tunnel_nic.c | 78 +++++++++++++---- .../drivers/net/netdevsim/udp_tunnel_nic.sh | 23 +---- 22 files changed, 176 insertions(+), 172 deletions(-)
Signature · 1 line
2.49.0