net: Enable Tx queue selection based on Rx queues
authorAmritha Nambiar <amritha.nambiar@intel.com>
Sat, 30 Jun 2018 04:27:02 +0000 (21:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Jul 2018 00:06:24 +0000 (09:06 +0900)
commitfc9bab24e9c654f62f3d411fc0b041be9e487e9d
tree6e66d1c3da3fc5717350f22cac6d4d4c8b4959ba
parentc6345ce7d361dce1b5d02a2181ccb598c27fd7ae
net: Enable Tx queue selection based on Rx queues

This patch adds support to pick Tx queue based on the Rx queue(s) map
configuration set by the admin through the sysfs attribute
for each Tx queue. If the user configuration for receive queue(s) map
does not apply, then the Tx queue selection falls back to CPU(s) map
based selection and finally to hashing.

Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/dev.c