]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6697f1e82b8f69f87a661b4d8c6846fe66c152a0
tree0b98e199a3d72d8d6e07aba74ded3d39bbf64756
parent67515a1313d73827c9a3523186472d3249a4a96b
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