qlcnic: Fix bug in Tx completion path
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Fri, 3 Jan 2014 06:34:28 +0000 (01:34 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jan 2014 01:44:11 +0000 (20:44 -0500)
commita02bdd423d844f5beb3196922f07c85c2f7691b8
tree0384664864512f1e3ef204c7edf8e7e1a5566ef9
parent0d68fc4f1210f8caea2bdd68f99dc6da35ee3740
qlcnic: Fix bug in Tx completion path

o Driver is using common tx_clean_lock for all Tx queues. This patch
  adds per queue tx_clean_lock.
o Driver is not updating sw_consumer while processing Tx completion
  when interface is going down. Fixed in this patch.

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c