[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210401163956.766628-1-ciorneiioana@gmail.com>
Date: Thu, 1 Apr 2021 19:39:53 +0300
From: Ioana Ciornei <ciorneiioana@...il.com>
To: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org
Cc: ruxandra.radulescu@....com, Ioana Ciornei <ioana.ciornei@....com>
Subject: [PATCH net-next 0/3] dpaa2-eth: add rx copybreak support
From: Ioana Ciornei <ioana.ciornei@....com>
DMA unmapping, allocating a new buffer and DMA mapping it back on the
refill path is really not that efficient. Proper buffer recycling (page
pool, flipping the page and using the other half) cannot be done for
DPAA2 since it's not a ring based controller but it rather deals with
multiple queues which all get their buffers from the same buffer pool on
Rx.
To circumvent these limitations, add support for Rx copybreak in
dpaa2-eth.
Ioana Ciornei (3):
dpaa2-eth: rename dpaa2_eth_xdp_release_buf into dpaa2_eth_recycle_buf
dpaa2-eth: add rx copybreak support
dpaa2-eth: export the rx copybreak value as an ethtool tunable
.../net/ethernet/freescale/dpaa2/dpaa2-eth.c | 65 ++++++++++++++-----
.../net/ethernet/freescale/dpaa2/dpaa2-eth.h | 10 ++-
.../ethernet/freescale/dpaa2/dpaa2-ethtool.c | 40 ++++++++++++
3 files changed, 97 insertions(+), 18 deletions(-)
--
2.30.0
Powered by blists - more mailing lists