mirror_ubuntu-kernels/drivers/net/ethernet/freescale
Camelia Groza c2b0e8455e dpaa_eth: reduce data alignment requirements for the A050385 erratum
The 256 byte data alignment is required for preventing DMA transaction
splits when crossing 4K page boundaries. Since XDP deals only with page
sized buffers or less, this restriction isn't needed. Instead, the data
only needs to be aligned to 64 bytes to prevent DMA transaction splits.

These lessened restrictions can increase performance by widening the pool
of permitted data alignments and preventing unnecessary realignments.

Fixes: ae680bcbd0 ("dpaa_eth: implement the A050385 erratum workaround for XDP")
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Acked-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-02-05 19:58:34 -08:00
..
dpaa dpaa_eth: reduce data alignment requirements for the A050385 erratum 2021-02-05 19:58:34 -08:00
dpaa2 dpaa2-eth: fix the size of the mapped SGT buffer 2020-12-16 11:01:07 -08:00
enetc net: enetc: initialize the RFS and RSS memories 2021-02-04 20:21:39 -08:00
fman ethernet: select CONFIG_CRC32 as needed 2020-12-04 14:42:21 -08:00
fs_enet net: ethernet: fs_enet: Add missing MODULE_LICENSE 2021-01-05 16:56:35 -08:00
fec_main.c net: fec: Fix temporary RMII clock reset on link up 2021-01-26 18:24:39 -08:00
fec_mpc52xx_phy.c
fec_mpc52xx.c net: fec_mpc52xx: Replace in_interrupt() usage 2020-09-29 14:02:54 -07:00
fec_mpc52xx.h
fec_ptp.c drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00
fec.h net: fec: Fix temporary RMII clock reset on link up 2021-01-26 18:24:39 -08:00
fsl_pq_mdio.c net: freescale: convert comma to semicolon 2020-12-09 16:23:08 -08:00
gianfar_ethtool.c net: gianfar: reject unsupported coalescing params 2020-03-12 11:32:35 -07:00
gianfar.c gianfar: Account for Tx PTP timestamp in the skb headroom 2020-10-30 09:36:01 -07:00
gianfar.h net/freescale: Clean drivers from static versions 2020-03-03 17:54:55 -08:00
Kconfig ethernet: select CONFIG_CRC32 as needed 2020-12-04 14:42:21 -08:00
Makefile net: dsa: felix: fix link error 2020-01-08 16:05:54 -08:00
ucc_geth_ethtool.c net/freescale: Don't set zero if FW not-available in ucc_geth 2020-03-03 17:54:55 -08:00
ucc_geth.c ethernet: ucc_geth: fix use-after-free in ucc_geth_remove() 2020-12-21 17:29:43 -08:00
ucc_geth.h ethernet: ucc_geth: fix definition and size of ucc_geth_tx_global_pram 2020-12-21 17:24:19 -08:00
xgmac_mdio.c net/fsl: quieten expected MDIO access failures 2020-09-24 20:13:26 -07:00