aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
diff options
context:
space:
mode:
authorManish Chopra <manish.chopra@qlogic.com>2014-01-09 12:41:04 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-10 13:25:29 -0500
commit1ac6762a0b8f5f2dc35ea869a08da25c68d7a8ba (patch)
treebdc206c0d9b0f6817c14e16c7b3fbb6812a5ff8a /drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
parentnet: core: explicitly select a txq before doing l2 forwarding (diff)
downloadlinux-dev-1ac6762a0b8f5f2dc35ea869a08da25c68d7a8ba.tar.xz
linux-dev-1ac6762a0b8f5f2dc35ea869a08da25c68d7a8ba.zip
qlcnic: Fix bug in TX statistics
o Driver was not updating TX stats so it was not populating statistics in `ifconfig` command output. Signed-off-by: Manish Chopra <manish.chopra@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c')
-rw-r--r--drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
index e3be2760665c..7b36340a1b34 100644
--- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
+++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
@@ -1267,7 +1267,7 @@ static u64 *qlcnic_fill_stats(u64 *data, void *stats, int type)
return data;
}
-static void qlcnic_update_stats(struct qlcnic_adapter *adapter)
+void qlcnic_update_stats(struct qlcnic_adapter *adapter)
{
struct qlcnic_host_tx_ring *tx_ring;
int ring;