All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/3] dpaa_eth: A050385 erratum workaround fixes under XDP
@ 2021-02-02 17:34 Camelia Groza
  2021-02-02 17:34 ` [PATCH net 1/3] dpaa_eth: reserve space for the xdp_frame under the A050385 erratum Camelia Groza
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Camelia Groza @ 2021-02-02 17:34 UTC (permalink / raw)
  To: kuba, davem, maciej.fijalkowski; +Cc: madalin.bucur, netdev, Camelia Groza

This series addresses issue with the current workaround for the A050385
erratum in XDP scenarios.

The first patch makes sure the xdp_frame structure stored at the start of
new buffers isn't overwritten.

The second patch decreases the required data alignment value, thus
preventing unnecessary realignments.

The third patch moves the data in place to align it, instead of allocating
a new buffer for each frame that breaks the alignment rules, thus bringing
an up to 40% performance increase. With this change, the impact of the
erratum workaround is reduced in many cases to a single digit decrease, and
to lower double digits in single flow scenarios.

Camelia Groza (3):
  dpaa_eth: reserve space for the xdp_frame under the A050385 erratum
  dpaa_eth: reduce data alignment requirements for the A050385 erratum
  dpaa_eth: try to move the data in place for the A050385 erratum

 .../net/ethernet/freescale/dpaa/dpaa_eth.c    | 39 +++++++++++++++++--
 1 file changed, 35 insertions(+), 4 deletions(-)

--
2.17.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-02-04 16:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 17:34 [PATCH net 0/3] dpaa_eth: A050385 erratum workaround fixes under XDP Camelia Groza
2021-02-02 17:34 ` [PATCH net 1/3] dpaa_eth: reserve space for the xdp_frame under the A050385 erratum Camelia Groza
2021-02-04  8:51   ` Maciej Fijalkowski
2021-02-04 11:55     ` Camelia Alexandra Groza
2021-02-02 17:34 ` [PATCH net 2/3] dpaa_eth: reduce data alignment requirements for " Camelia Groza
2021-02-04 15:58   ` Maciej Fijalkowski
2021-02-02 17:34 ` [PATCH net 3/3] dpaa_eth: try to move the data in place " Camelia Groza
2021-02-04 15:56   ` Maciej Fijalkowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.