Skip to contentSkip to conversation

Octeontx2-pf: Update xdp features

PATCH Applied Hariprasad Kelam 2 participants 2 messages Jan 19 – Jan 21

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

PATCH 1/1 Octeontx2-pf: Update xdp features

In recent testing, verification of XDP_REDIRECT and zero-copy features failed because the driver is not setting the corresponding feature flags.

Fixes efabce290151 ("octeontx2-pf: AF_XDP zero copy receive support")
Fixes 66c0e13ad236 ("drivers: net: turn on XDP features")
---
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c +3 -1
index a7feb4c392b3..6b2d8559f0eb 100644
@@ -3249,7 +3249,9 @@ static int otx2_probe(struct pci_dev *pdev, const struct pci_device_id *id)
 	netdev->watchdog_timeo = OTX2_TX_TIMEOUT;
 
 	netdev->netdev_ops = &otx2_netdev_ops;
-	netdev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT;
+	netdev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT |
+			       NETDEV_XDP_ACT_NDO_XMIT |
+			       NETDEV_XDP_ACT_XSK_ZEROCOPY;
 
 	netdev->min_mtu = OTX2_MIN_MTU;
 	netdev->max_mtu = otx2_get_max_mtu(pf);
Signature · 1 line
2.34.1
#1 lore raw
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Mon, 19 Jan 2026 15:32:22 +0530 you wrote:

In recent testing, verification of XDP_REDIRECT and zero-copy features failed because the driver is not setting the corresponding feature flags.

Fixes efabce290151 ("octeontx2-pf: AF_XDP zero copy receive support")
Fixes 66c0e13ad236 ("drivers: net: turn on XDP features")

[...]

Here is the summary with links:
- [net] Octeontx2-pf: Update xdp features
https://git.kernel.org/netdev/net/c/cdf8de9c6bfe

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html