staging: fsl-dpaa2/eth: Flow affinity for non-forwarded traffic
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Thu, 21 Dec 2017 12:33:21 +0000 (06:33 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Dec 2017 17:14:22 +0000 (18:14 +0100)
commit93ddf0b211a0a0367d01c9587169c16ed77b4b98
treef3ce92d04fa8d4bebe25c4a7e822a2a3e77315f8
parent537336ce2e916c32eadaad1e6cc2712292eb7d65
staging: fsl-dpaa2/eth: Flow affinity for non-forwarded traffic

The previous patch ensures Tx flow affinity for forwarded frames,
but for termination traffic the initial flow affinity is determined
based on the skb hash, which is expected to hit only a few Tx queues
when there is a small number of flows.

Instead, use XPS (transmit packet steering) to set netdevice queue
affinity to the sending core.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c