diff options
author | Himanshu Madhani <himanshu.madhani@qlogic.com> | 2013-11-04 22:31:32 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-05 00:33:19 +0400 |
commit | 18afc102fdcb95d6c7d57f2967a06f2f8fe3ba4c (patch) | |
tree | e7e493fb94fc80fb3ebde4adc5586d9b57625a42 /drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | |
parent | 34e8c406fda5b5a9d2e126a92bab84cd28e3b5fa (diff) | |
download | linux-18afc102fdcb95d6c7d57f2967a06f2f8fe3ba4c.tar.xz |
qlcnic: Enable multiple Tx queue support for 83xx/84xx Series adapters.
o 83xx and 84xx firmware is capable of multiple Tx queues.
This patch will enable multiple Tx queues for 83xx/84xx
series adapters. Max number of Tx queues supported will be 8.
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c index 1c07ec250f23..0149c9495347 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c @@ -581,10 +581,7 @@ netdev_tx_t qlcnic_xmit_frame(struct sk_buff *skb, struct net_device *netdev) goto drop_packet; } - if (qlcnic_check_multi_tx(adapter)) - tx_ring = &adapter->tx_ring[skb_get_queue_mapping(skb)]; - else - tx_ring = &adapter->tx_ring[0]; + tx_ring = &adapter->tx_ring[skb_get_queue_mapping(skb)]; num_txd = tx_ring->num_desc; frag_count = skb_shinfo(skb)->nr_frags + 1; |