enetc: Enable TC offloading with mqprio
authorCamelia Groza <camelia.groza@nxp.com>
Mon, 27 May 2019 15:21:31 +0000 (18:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 May 2019 00:11:02 +0000 (17:11 -0700)
commitcbe9e835946fc792b061d51527c6f006a10419e6
tree8571f17a637ffc5594f9ae01eba618f9566e46ef
parent7f3343234c0b9c2f3e64b4a82f666034f6c5b479
enetc: Enable TC offloading with mqprio

Add support to configure multiple prioritized TX traffic
classes with mqprio.

Configure one BD ring per TC for the moment, one netdev
queue per TC.

Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc.c
drivers/net/ethernet/freescale/enetc/enetc.h
drivers/net/ethernet/freescale/enetc/enetc_hw.h
drivers/net/ethernet/freescale/enetc/enetc_pf.c
drivers/net/ethernet/freescale/enetc/enetc_vf.c