]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e0d4d3f67305b06edf81ee38e3c70e28af47963
tree62dccf110f2612cf80c6385dfb66c74a5956ddd5
parent4487a2eaba51a728ee59ffd39dccbaebe6668583
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