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>
This commit is contained in:

committed by
David S. Miller

parent
a6a71f19fe
commit
8db91f6a9b
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user