Skip to contentSkip to conversation

netvsc.rst: is XDP_REDIRECT still actually unsupported?

PATCH Applied Christian Melendez 3 participants 4 messages Aug 31 – Sep 5

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

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

maintainer
#1 lore raw
Quoted 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: is XDP_REDIRECT still 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.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.

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

#2 lore raw

PATCH 1/1 Documentation: netvsc: Remove stale "not yet supported" XDP_REDIRECT note

In reply to Christian Melendez

netvsc_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
index fc5acd427a5d..616f808e885b 100644
@@ -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
#3 lore raw

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() 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.

[...]

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