]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ti: icssg-prueth: Make emac_run_xdp function independent of page
authorMeghana Malladi <m-malladi@ti.com>
Tue, 18 Nov 2025 13:55:40 +0000 (19:25 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 20 Nov 2025 14:24:11 +0000 (15:24 +0100)
commit121133163c9ff0d1e6a2f7d4a461e535088fc2e3
tree13da4d95b42627375661caa2e4238ecf313baecd
parent8756ef2eb078d9c92f7578c308e1650bb51c7f45
net: ti: icssg-prueth: Make emac_run_xdp function independent of page

emac_run_xdp function runs xdp program, at a given hook point
in the Rx path of the driver in NAPI context and returns
XDP return codes. In zero copy mode the driver receives
packets using UMEM frames instead of pages (native XDP).
Decouple the usage of page in this function.

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Meghana Malladi <m-malladi@ti.com>
Link: https://patch.msgid.link/20251118135542.380574-5-m-malladi@ti.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/ti/icssg/icssg_common.c
drivers/net/ethernet/ti/icssg/icssg_prueth.c
drivers/net/ethernet/ti/icssg/icssg_prueth.h