hv_netvsc: Fix the queue index computation in forwarding case
authorHaiyang Zhang <haiyangz@microsoft.com>
Wed, 12 Apr 2017 18:35:05 +0000 (11:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Apr 2017 15:05:19 +0000 (11:05 -0400)
commit8db91f6a9b2ff2bb5355ad11c668fe63eb8ae0c3
tree62dccf110f2612cf80c6385dfb66c74a5956ddd5
parenta6a71f19fe5e05a90e0bd2487b87aba60a7bfbe0
hv_netvsc: Fix the queue index computation in forwarding case

If the outgoing skb has a RX queue mapping available, we use the queue
number directly, other than put it through Send Indirection Table.

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