netvsc.rst: is XDP_REDIRECT still actually unsupported?
Subsystems (6)
Hi Haiyang,
Documentation/networking/device_drivers/ethernet/microsoft/netvsc.rst still says "XDP_REDIRECT action is not yet supported," but netvsc_run_xdp() in netvsc_bpf.c seems to handle it fully -- calls xdp_do_redirect(), tracks stats, and netvsc_drv.c advertises NETDEV_XDP_ACT_REDIRECT. This looks like it's been true since your commit 1cb9d3b6185b.
Is the doc just stale, or is there a caveat I'm missing? Happy to send a one-line fix, or feel free to just tweak it yourself if that's quicker.
Thanks,
Christian
Haiyang Zhang
maintainerQuoted 23 lines
-----Original Message-----
From: Christian Melendez <[email protected]>
Sent: Monday, August 31, 2026 4:04 PM
To: Haiyang Zhang <[email protected]>
Cc: [email protected]; [email protected]; linux- [email protected]
Subject: [EXTERNAL]netvsc.rst: isXDP_REDIRECTstill actually unsupported?[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Hi Haiyang,
Documentation/networking/device_drivers/ethernet/microsoft/netvsc.rststill says "XDP_REDIRECTaction is not yet supported," butnetvsc_run_xdp()innetvsc_bpf.cseems to handle it fully -- callsxdp_do_redirect(), tracks stats, andnetvsc_drv.cadvertisesNETDEV_XDP_ACT_REDIRECT. This looks like it's been true since your commit1cb9d3b6185b.
Quoted 4 lines
Is the doc just stale, or is there a caveat I'm missing? Happy to send a one-line fix, or feel free to just tweak it yourself if that's quicker.
Yes XDP_REDIRECT is supported already. The doc is stale
Thanks,
- Haiyang
PATCH 1/1 Documentation: netvsc: Remove stale "not yet supported" XDP_REDIRECT note
In reply to Christian Melendeznetvsc_run_xdp() in drivers/net/hyperv/netvsc_bpf.c has handled XDP_REDIRECT since commit 1cb9d3b6185b ("hv_netvsc: Add support for XDP_REDIRECT"), and netvsc_drv.c advertises NETDEV_XDP_ACT_REDIRECT in xdp_features. Remove the stale note.
--- .../networking/device_drivers/ethernet/microsoft/netvsc.rst | 2 -- 1 file changed, 2 deletions(-)
Documentation/networking/device_drivers/ethernet/microsoft/netvsc.rst +0 -2
@@ -116,5 +116,3 @@ XDP support before running XDP:: ethtool -K eth0 lro off - - XDP_REDIRECT action is not yet supported.
Signature · 1 line
2.34.1
Re: [PATCH] Documentation: netvsc: Remove stale "not yet supported" XDP_REDIRECT note
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Wed, 2 Sep 2026 21:37:11 +0200 you wrote:
netvsc_run_xdp()indrivers/net/hyperv/netvsc_bpf.chas handledXDP_REDIRECTsince commit1cb9d3b6185b("hv_netvsc: Add support forXDP_REDIRECT"), andnetvsc_drv.cadvertisesNETDEV_XDP_ACT_REDIRECTinxdp_features. Remove the stale note.Signed-off-by Christian Melendez <[email protected]>[...]
Here is the summary with links:
- Documentation: netvsc: Remove stale "not yet supported" XDP_REDIRECT note
https://git.kernel.org/netdev/net-next/c/9eab111e7657
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html