aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/neterion/vxge/vxge-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/neterion/vxge/vxge-main.c')
-rw-r--r--drivers/net/ethernet/neterion/vxge/vxge-main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/neterion/vxge/vxge-main.c b/drivers/net/ethernet/neterion/vxge/vxge-main.c
index c83cedd26dec..c5bb1ace4a74 100644
--- a/drivers/net/ethernet/neterion/vxge/vxge-main.c
+++ b/drivers/net/ethernet/neterion/vxge/vxge-main.c
@@ -3134,12 +3134,12 @@ vxge_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *net_stats)
3134 u64 packets, bytes, multicast; 3134 u64 packets, bytes, multicast;
3135 3135
3136 do { 3136 do {
3137 start = u64_stats_fetch_begin_bh(&rxstats->syncp); 3137 start = u64_stats_fetch_begin_irq(&rxstats->syncp);
3138 3138
3139 packets = rxstats->rx_frms; 3139 packets = rxstats->rx_frms;
3140 multicast = rxstats->rx_mcast; 3140 multicast = rxstats->rx_mcast;
3141 bytes = rxstats->rx_bytes; 3141 bytes = rxstats->rx_bytes;
3142 } while (u64_stats_fetch_retry_bh(&rxstats->syncp, start)); 3142 } while (u64_stats_fetch_retry_irq(&rxstats->syncp, start));
3143 3143
3144 net_stats->rx_packets += packets; 3144 net_stats->rx_packets += packets;
3145 net_stats->rx_bytes += bytes; 3145 net_stats->rx_bytes += bytes;
@@ -3149,11 +3149,11 @@ vxge_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *net_stats)
3149 net_stats->rx_dropped += rxstats->rx_dropped; 3149 net_stats->rx_dropped += rxstats->rx_dropped;
3150 3150
3151 do { 3151 do {
3152 start = u64_stats_fetch_begin_bh(&txstats->syncp); 3152 start = u64_stats_fetch_begin_irq(&txstats->syncp);
3153 3153
3154 packets = txstats->tx_frms; 3154 packets = txstats->tx_frms;
3155 bytes = txstats->tx_bytes; 3155 bytes = txstats->tx_bytes;
3156 } while (u64_stats_fetch_retry_bh(&txstats->syncp, start)); 3156 } while (u64_stats_fetch_retry_irq(&txstats->syncp, start));
3157 3157
3158 net_stats->tx_packets += packets; 3158 net_stats->tx_packets += packets;
3159 net_stats->tx_bytes += bytes; 3159 net_stats->tx_bytes += bytes;