netvsc: enhance transmit select_queue
authorstephen hemminger <stephen@networkplumber.org>
Tue, 24 Jan 2017 21:06:05 +0000 (13:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2017 21:28:59 +0000 (16:28 -0500)
commitd8e18ee0fa9679e24aa1dacb1edc7bf934c8ddd4
treee2f92b35ff1ec0bf73fb5b2b393f548834b5c3d2
parentff4a44199012ee32839278cb84f82ae32c01dbc9
netvsc: enhance transmit select_queue

The netvsc select queue function was missing many of the flow caching
features that exist in default tx queue selection. Add the same
logic to remember queue based on socket and implement two level
mapping (like RSS).

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c