dpaa_eth: add four prioritised Tx traffic classes
authorCamelia Groza <camelia.groza@nxp.com>
Mon, 25 Jul 2016 13:38:21 +0000 (16:38 +0300)
committerMadalin Bucur <madalin.bucur@nxp.com>
Thu, 9 Mar 2017 06:54:06 +0000 (08:54 +0200)
commitc44efa1d75e4c0a720fd39d7095a0bd6b306576e
tree39ed03c1dc6a32d40dd0e252d3bb23ceb8ba5614
parent7f8a6a1b8fa4915548e2e426e9780e7c217c3e0e
dpaa_eth: add four prioritised Tx traffic classes

Each traffic class corresponds to a WQ priority level. The number of Tx
netdev queues and frame queues is increased to NR_CPUS queues for each
traffic class. In addition, the priority of the Rx, Error and Conf queues
is lowered but their order is maintained.

By default, only one traffic class is enabled, only the low priority Tx
queues are used and only the corresponding netdev queues are advertised.

Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
drivers/net/ethernet/freescale/dpaa/dpaa_eth.h