dpaa2-eth: move the mqprio setup into a separate function
authorIoana Ciornei <ioana.ciornei@nxp.com>
Tue, 21 Jul 2020 16:38:23 +0000 (19:38 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 23:24:04 +0000 (16:24 -0700)
commite3ec13be571b9da61011bf41ef097fe9bbbc3041
tree0b98e199a3d72d8d6e07aba74ded3d39bbf64756
parentc1d069e3bfc9e4021f087016578fbff209f493fd
dpaa2-eth: move the mqprio setup into a separate function

Move the setup done for MQPRIO into a separate function so that
with the addition of another offload we do not crowd
dpaa2_eth_setup_tc(). After this restructuring it's easier to see what
is supported in terms of Qdisc offloading.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c