mbox series

[RESEND,net-next,0/2] dpaa2-eth: send a scatter-gather FD instead of realloc-ing

Message ID 20200629184712.12449-1-ioana.ciornei@nxp.com
Headers show
Series dpaa2-eth: send a scatter-gather FD instead of realloc-ing | expand

Message

Ioana Ciornei June 29, 2020, 6:47 p.m. UTC
This patch set changes the behaviour in case the Tx path is confroted
with an SKB with insufficient headroom for our hardware necessities (SW
annotation area). In the first patch, instead of realloc-ing the SKB we
now send a S/G frames descriptor while the second one adds a new
software held counter to account for for these types of frames.

Ioana Ciornei (2):
  dpaa2-eth: send a scatter-gather FD instead of realloc-ing
  dpaa2-eth: add software counter for Tx frames converted to S/G

 .../freescale/dpaa2/dpaa2-eth-debugfs.c       |   4 +-
 .../net/ethernet/freescale/dpaa2/dpaa2-eth.c  | 179 +++++++++++++++---
 .../net/ethernet/freescale/dpaa2/dpaa2-eth.h  |  12 +-
 .../ethernet/freescale/dpaa2/dpaa2-ethtool.c  |   3 +-
 4 files changed, 166 insertions(+), 32 deletions(-)

Comments

David Miller June 30, 2020, 12:43 a.m. UTC | #1
From: Ioana Ciornei <ioana.ciornei@nxp.com>
Date: Mon, 29 Jun 2020 21:47:10 +0300

> This patch set changes the behaviour in case the Tx path is confroted
> with an SKB with insufficient headroom for our hardware necessities (SW
> annotation area). In the first patch, instead of realloc-ing the SKB we
> now send a S/G frames descriptor while the second one adds a new
> software held counter to account for for these types of frames.

Series applied, thanks.