diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2017-04-12 20:35:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-17 17:05:19 +0200 |
commit | 8db91f6a9b2ff2bb5355ad11c668fe63eb8ae0c3 (patch) | |
tree | 62dccf110f2612cf80c6385dfb66c74a5956ddd5 /drivers/net/hyperv/hyperv_net.h | |
parent | net: dsa: isolate legacy code (diff) | |
download | linux-8db91f6a9b2ff2bb5355ad11c668fe63eb8ae0c3.tar.xz linux-8db91f6a9b2ff2bb5355ad11c668fe63eb8ae0c3.zip |
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>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index 4747ad48b3cc..768b3ae6ae8f 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -633,7 +633,7 @@ struct nvsp_message { #define NETVSC_PACKET_SIZE 4096 -#define VRSS_SEND_TAB_SIZE 16 +#define VRSS_SEND_TAB_SIZE 16 /* must be power of 2 */ #define VRSS_CHANNEL_MAX 64 #define VRSS_CHANNEL_DEFAULT 8 |