]> www.infradead.org Git - users/jedix/linux-maple.git/commit
octeontx2-pf: Add AF_XDP non-zero copy support
authorSuman Ghosh <sumang@marvell.com>
Thu, 13 Feb 2025 05:31:37 +0000 (11:01 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 18 Feb 2025 10:36:27 +0000 (11:36 +0100)
commitb4164de5041b51cda3438e75bce668e2556057c3
treed1b520a3cb01aafdf9a9ff2b0074ef94f3691a16
parent94c80f748873514af27b9fac3f72acafcde3bcd6
octeontx2-pf: Add AF_XDP non-zero copy support

Set xdp rx ring memory type as MEM_TYPE_PAGE_POOL for
af-xdp to work. This is needed since xdp_return_frame
internally will use page pools.

Fixes: 06059a1a9a4a ("octeontx2-pf: Add XDP support to netdev PF")
Signed-off-by: Suman Ghosh <sumang@marvell.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c