]> git.ipfire.org Git - thirdparty/linux.git/commit
net: octeontx2: Handle XDP_ABORTED and XDP invalid as XDP_DROP
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 1 Apr 2025 09:02:12 +0000 (11:02 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 4 Apr 2025 14:23:39 +0000 (07:23 -0700)
commit2a8377720a0a30fa133f7773e901598f7d563f36
treee5d34cf8e80e49ee1bace26048c3c99b40617d05
parent8bc251e5d87474c896b425e3f56f5ff762e7a626
net: octeontx2: Handle XDP_ABORTED and XDP invalid as XDP_DROP

In the current implementation octeontx2 manages XDP_ABORTED and XDP
invalid as XDP_PASS forwarding the skb to the networking stack.
Align the behaviour to other XDP drivers handling XDP_ABORTED and XDP
invalid as XDP_DROP.
Please note this patch has just compile tested.

Fixes: 06059a1a9a4a5 ("octeontx2-pf: Add XDP support to netdev PF")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20250401-octeontx2-xdp-abort-fix-v1-1-f0587c35a0b9@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c