mbox series

[net-next,0/3] dpaa2-eth: add support for TBF offload

Message ID 20200721163825.9462-1-ioana.ciornei@nxp.com
Headers show
Series dpaa2-eth: add support for TBF offload | expand

Message

Ioana Ciornei July 21, 2020, 4:38 p.m. UTC
This patch set adds support for TBF offload in dpaa2-eth.
The first patch restructures how the .ndo_setup_tc() callback is
implemented (each Qdisc is treated in a separate function), the second
patch just adds the necessary APIs for configuring the Tx shaper and the
last one is handling TC_SETUP_QDISC_TBF and configures as requested the
shaper.

Ioana Ciornei (3):
  dpaa2-eth: move the mqprio setup into a separate function
  dpaa2-eth: add API for Tx shaping
  dpaa2-eth: add support for TBF offload

 .../net/ethernet/freescale/dpaa2/dpaa2-eth.c  | 65 +++++++++++++++++--
 .../net/ethernet/freescale/dpaa2/dpaa2-eth.h  |  3 +
 .../net/ethernet/freescale/dpaa2/dpni-cmd.h   | 13 ++++
 drivers/net/ethernet/freescale/dpaa2/dpni.c   | 36 ++++++++++
 drivers/net/ethernet/freescale/dpaa2/dpni.h   | 16 +++++
 5 files changed, 126 insertions(+), 7 deletions(-)

Comments

Jakub Kicinski July 21, 2020, 7:31 p.m. UTC | #1
On Tue, 21 Jul 2020 19:38:22 +0300 Ioana Ciornei wrote:
> This patch set adds support for TBF offload in dpaa2-eth.
> The first patch restructures how the .ndo_setup_tc() callback is
> implemented (each Qdisc is treated in a separate function), the second
> patch just adds the necessary APIs for configuring the Tx shaper and the
> last one is handling TC_SETUP_QDISC_TBF and configures as requested the
> shaper.


Reviewed-by: Jakub Kicinski <kuba@kernel.org>
David Miller July 21, 2020, 11:24 p.m. UTC | #2
From: Ioana Ciornei <ioana.ciornei@nxp.com>
Date: Tue, 21 Jul 2020 19:38:22 +0300

> This patch set adds support for TBF offload in dpaa2-eth.
> The first patch restructures how the .ndo_setup_tc() callback is
> implemented (each Qdisc is treated in a separate function), the second
> patch just adds the necessary APIs for configuring the Tx shaper and the
> last one is handling TC_SETUP_QDISC_TBF and configures as requested the
> shaper.

Series applied, thanks.