]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: fec: move xdp_rxq_info* APIs out of fec_enet_create_page_pool()
authorWei Fang <wei.fang@nxp.com>
Thu, 5 Feb 2026 08:57:39 +0000 (16:57 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Feb 2026 09:58:20 +0000 (10:58 +0100)
commitedd393153ef0711e75fa0d1574306c31533e1d08
tree379e1a8e848f95272718ce9da010eee7e8393d24
parent6729b24c1c2fa9b5a3f650a602c5063aec9be8ba
net: fec: move xdp_rxq_info* APIs out of fec_enet_create_page_pool()

Extract fec_xdp_rxq_info_reg() from fec_enet_create_page_pool() and move
it out of fec_enet_create_page_pool(), so that it can be reused in the
subsequent patches to support XDP zero copy mode.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Link: https://patch.msgid.link/20260205085742.2685134-13-wei.fang@nxp.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/freescale/fec_main.c