aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index 9ef128ae645..862dd344533 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -4342,7 +4342,7 @@ static int ixgbe_xmit_frame(struct sk_buff *skb, struct net_device *netdev)
4342 int count = 0; 4342 int count = 0;
4343 unsigned int f; 4343 unsigned int f;
4344 4344
4345 r_idx = (adapter->num_tx_queues - 1) & skb->queue_mapping; 4345 r_idx = skb->queue_mapping;
4346 tx_ring = &adapter->tx_ring[r_idx]; 4346 tx_ring = &adapter->tx_ring[r_idx];
4347 4347
4348 if (adapter->vlgrp && vlan_tx_tag_present(skb)) { 4348 if (adapter->vlgrp && vlan_tx_tag_present(skb)) {