Skip to content

dpaa_eth: A050385 erratum workaround fixes under XDP

Camelia Groza netdev 2 versions – Applied

Status from this message: Applied, thanks everyone!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- guarantee enough tailroom is available for the shared_info in 1/3

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3dpaa_eth: reserve space for the xdp_frame under the A050385 erratumdrivers/net/ethernet/freescale/dpaa/dpaa_eth.c+18 -20 replies
2/3dpaa_eth: reduce data alignment requirements for the A050385 erratumdrivers/net/ethernet/freescale/dpaa/dpaa_eth.c+1 -10 replies
3/3dpaa_eth: try to move the data in place for the A050385 erratumdrivers/net/ethernet/freescale/dpaa/dpaa_eth.c+19 -10 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMaciej FijalkowskiMadalin Bucur
SeriesA-b A-b
1/3
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net v2 0/3] dpaa_eth: A050385 erratum workaround fixes under XDP

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.

Changes in v2:
- guarantee enough tailroom is available for the shared_info in 1/3

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    | 42 +++++++++++++++++--
 1 file changed, 38 insertions(+), 4 deletions(-)

--
2.17.1