dpaa2-eth: Refactor xps code
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Tue, 11 Jun 2019 11:50:01 +0000 (14:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Jun 2019 18:22:10 +0000 (11:22 -0700)
commit06d5b1791126d73a06b0604daeef9d25ffc14d73
tree80c7917f74456ba06326aadc7e599b041ad3fb83
parenta41efedfaf956698bcf5658daaadbe43b4ca1f46
dpaa2-eth: Refactor xps code

Move the code configuring xps on the netdev TX queues to a
separate function. A subsequent patch will need to call
this in another context as well.

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