linux-next/drivers/net/ethernet/freescale
Alexander Lobakin 56d95b0adf xdp: get rid of xdp_frame::mem.id
Initially, xdp_frame::mem.id was used to search for the corresponding
&page_pool to return the page correctly.
However, after that struct page was extended to have a direct pointer
to its PP (netmem has it as well), further keeping of this field makes
no sense. xdp_return_frame_bulk() still used it to do a lookup, and
this leftover is now removed.
Remove xdp_frame::mem and replace it with ::mem_type, as only memory
type still matters and we need to know it to be able to free the frame
correctly.
As a cute side effect, we can now make every scalar field in &xdp_frame
of 4 byte width, speeding up accesses to them.

Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://patch.msgid.link/20241211172649.761483-3-aleksander.lobakin@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-12-12 18:22:52 -08:00
..
dpaa xdp: get rid of xdp_frame::mem.id 2024-12-12 18:22:52 -08:00
dpaa2 rtnetlink: add ndo_fdb_dump_context 2024-12-10 18:32:32 -08:00
enetc net: enetc: Do not configure preemptible TCs if SIs do not support 2024-11-29 12:52:04 +00:00
fman net: simplify resource acquisition + ioremap 2024-12-06 17:28:34 -08:00
fs_enet net: ethernet: fs_enet: Use %pa to format resource_size_t 2024-10-15 10:55:54 -07:00
fec_main.c net: fec: use phydev->eee_cfg.tx_lpi_timer 2024-12-11 20:23:52 -08:00
fec_mpc52xx_phy.c net: fec_mpc52xx_phy: Use %pa to format resource_size_t 2024-10-15 10:55:54 -07:00
fec_mpc52xx.c net: ethernet: Switch back to struct platform_driver::remove() 2024-10-04 16:39:56 -07:00
fec_mpc52xx.h
fec_ptp.c net: fec: make PPS channel configurable 2024-10-08 12:29:34 +02:00
fec.h net: fec: use phydev->eee_cfg.tx_lpi_timer 2024-12-11 20:23:52 -08:00
fsl_pq_mdio.c net: ethernet: Switch back to struct platform_driver::remove() 2024-10-04 16:39:56 -07:00
gianfar_ethtool.c net: freescale: use ethtool string helpers 2024-10-31 18:34:48 -07:00
gianfar.c net: gianfar: Use __be64 * to store pointers to big endian values 2024-10-15 13:59:26 +02:00
gianfar.h eth: gfar: remove a copy of the NAPI_POLL_WEIGHT define 2022-04-29 11:56:42 +01:00
Kconfig net: freescale: ucc_geth: phylink conversion 2024-12-06 13:41:53 +00:00
Makefile net: enetc: fix link error again 2021-04-22 13:23:07 -07:00
ucc_geth_ethtool.c net: freescale: ucc_geth: phylink conversion 2024-12-06 13:41:53 +00:00
ucc_geth.c net: freescale: ucc_geth: phylink conversion 2024-12-06 13:41:53 +00:00
ucc_geth.h net: freescale: ucc_geth: phylink conversion 2024-12-06 13:41:53 +00:00
xgmac_mdio.c net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00