Thread (9 messages) 9 messages, 2 authors, 2022-02-09
STALE1592d

[PATCH net-next 0/7] dpaa2-eth: add support for software TSO

From: Ioana Ciornei <ioana.ciornei@nxp.com>
Date: 2022-02-09 09:26:24

This series adds support for driver level TSO in the dpaa2-eth driver.

The first 5 patches lay the ground work for the actual feature:
rearrange some variable declaration, cleaning up the interraction with
the S/G Table buffer cache etc.

The 6th patch adds the actual driver level software TSO support by using
the usual tso_build_hdr()/tso_build_data() APIs and creates the S/G FDs.

With this patch set we can see the following improvement in a TCP flow
running on a single A72@2.2GHz of the LX2160A SoC:

before: 6.38Gbit/s
after:  8.48Gbit/s

Ioana Ciornei (7):
  dpaa2-eth: rearrange variable declaration in __dpaa2_eth_tx
  dpaa2-eth: allocate a fragment already aligned
  dpaa2-eth: extract the S/G table buffer cache interaction into
    functions
  dpaa2-eth: use the S/G table cache also for the normal S/G path
  dpaa2-eth: work with an array of FDs
  dpaa2-eth: add support for software TSO
  soc: fsl: dpio: read the consumer index from the cache inhibited area

 .../net/ethernet/freescale/dpaa2/dpaa2-eth.c  | 343 ++++++++++++++----
 .../net/ethernet/freescale/dpaa2/dpaa2-eth.h  |  18 +
 .../ethernet/freescale/dpaa2/dpaa2-ethtool.c  |   2 +
 drivers/soc/fsl/dpio/qbman-portal.c           |   8 +-
 4 files changed, 301 insertions(+), 70 deletions(-)

-- 
2.33.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help