hv_netvsc: make XDP propagation act more like bonding
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 6 repliesIn review 4 of 5 applied
- v15 patches 6 repliesSuperseded
Patches in v2 4 of 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | hv_netvsc: fix the program refcount when the VF refuses XDPdrivers/ | +23 | 0 replies | Applied |
| 2/5 | hv_netvsc: hold the VF's instance lock when installing XDP on itdrivers/ | +13 | 0 replies | Applied |
| 3/5 | hv_netvsc: treat the VF's XDP program the way bonding treats a slave'sDocumentation/ drivers/ drivers/ | +76 | 3 replies | Applied |
| 4/5 | hv_netvsc: move a new VF to netvsc's netns from a work itemdrivers/ drivers/ | +42 | 2 replies | |
| 5/5 | hv_netvsc: let the core take XDP off a netvsc device that is going awaydrivers/ | +15 | 1 reply | Applied |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by.
| Patch | Kameron Carr | Erni Sri Satya Vennela |
|---|---|---|
| 1/5 | ||
| 2/5 | T-b | T-b |
| 3/5 | ||
| 4/5 | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/5] hv_netvsc: make XDP propagation act more like bonding
Currently XDP programs propagated from uppers are invisible to safety checks. I'm trying to fix that, but AI reviewer threw up a bunch of complaints about hv_netvsc. See previous series here:
https://lore.kernel.org/[email protected]
That series is now on hold, let's try to sanitize the hv_netvsc behavior. AFAIU the main use case is to catch the VF as it appears, and attach it to the netvsc SW interface. If we catch the VF as soon as it appears we shouldn't have to worry about the VF already having XDP attached. Let's do what bonding does and refuse to attach if VF already has XDP, also refuse to attach if nv_netvsc has XDP but the VF refuses the propagation.
All patches are from LLM reviews and LLM generated.
v1: https://lore.kernel.org/[email protected]
Jakub Kicinski (5):
hv_netvsc: fix the program refcount when the VF refuses XDP
hv_netvsc: hold the VF's instance lock when installing XDP on it
hv_netvsc: treat the VF's XDP program the way bonding treats a slave's
hv_netvsc: move a new VF to netvsc's netns from a work item
hv_netvsc: let the core take XDP off a netvsc device that is going
away
.../ethernet/microsoft/netvsc.rst | 11 +- drivers/net/hyperv/hyperv_net.h | 3 + drivers/net/hyperv/netvsc_bpf.c | 70 ++++++++++- drivers/net/hyperv/netvsc_drv.c | 116 ++++++++++++++---- 4 files changed, 169 insertions(+), 31 deletions(-)
Signature · 1 line
2.56.0