linux_dsm_epyc7002/drivers/net/ixgbe
Eric Dumazet 1ac9ad1394 net: remove dev_txq_stats_fold()
After recent changes, (percpu stats on vlan/tunnels...), we dont need
anymore per struct netdev_queue tx_bytes/tx_packets/tx_dropped counters.

Only remaining users are ixgbe, sch_teql, gianfar & macvlan :

1) ixgbe can be converted to use existing tx_ring counters.

2) macvlan incremented txq->tx_dropped, it can use the
dev->stats.tx_dropped counter.

3) sch_teql : almost revert ab35cd4b8f (Use net_device internal stats)
    Now we have ndo_get_stats64(), use it, even for "unsigned long"
fields (No need to bring back a struct net_device_stats)

4) gianfar adds a stats structure per tx queue to hold
tx_bytes/tx_packets

This removes a lockdep warning (and possible lockup) in rndis gadget,
calling dev_get_stats() from hard IRQ context.

Ref: http://www.spinics.net/lists/netdev/msg149202.html

Reported-by: Neil Jones <neiljay@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Jarek Poplawski <jarkao2@gmail.com>
CC: Alexander Duyck <alexander.h.duyck@intel.com>
CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
CC: Sandeep Gopalpet <sandeep.kumar@freescale.com>
CC: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-01-13 21:44:34 -08:00
..
ixgbe_82598.c ixgbe: make silicon specific functions generic 2010-11-16 19:27:15 -08:00
ixgbe_82599.c ixgbe: update ntuple filter configuration 2011-01-09 23:44:12 -08:00
ixgbe_common.c ixgbe: Add anti-spoofing feature support 2010-12-24 21:41:06 -08:00
ixgbe_common.h ixgbe: Add anti-spoofing feature support 2010-12-24 21:41:06 -08:00
ixgbe_dcb_82598.c ixgbe: DCB set PFC high and low water marks per data sheet specs 2010-11-16 19:26:44 -08:00
ixgbe_dcb_82598.h ixgbe: declare functions as static 2010-10-14 10:49:43 -07:00
ixgbe_dcb_82599.c ixgbe: DCB set PFC high and low water marks per data sheet specs 2010-11-16 19:26:44 -08:00
ixgbe_dcb_82599.h ixgbe: DCB, fix TX hang occurring in stress condition with PFC 2010-10-28 10:19:00 -07:00
ixgbe_dcb_nl.c ixgbe: add support for x540 MAC 2010-11-16 19:27:17 -08:00
ixgbe_dcb.c ixgbe: add support for x540 MAC 2010-11-16 19:27:17 -08:00
ixgbe_dcb.h ixgbe: DCB: credit max only needs to be gt TSO size for 82598 2010-11-16 19:26:45 -08:00
ixgbe_ethtool.c ixgbe: update ntuple filter configuration 2011-01-09 23:44:12 -08:00
ixgbe_fcoe.c ixgbe: make sure FCoE DDP user buffers are really released by the HW 2010-11-16 19:27:14 -08:00
ixgbe_fcoe.h ixgbe: add a refcnt when turning on/off FCoE offload capability 2010-10-21 03:55:23 -07:00
ixgbe_main.c net: remove dev_txq_stats_fold() 2011-01-13 21:44:34 -08:00
ixgbe_mbx.c ixgbe: Add SR-IOV feature support to X540 2010-12-24 21:40:32 -08:00
ixgbe_mbx.h ixgbe: make silicon specific functions generic 2010-11-16 19:27:15 -08:00
ixgbe_phy.c ixgbe: fix X540 phy id to correct value 2010-12-10 22:12:46 -08:00
ixgbe_phy.h ixgbe: add MAC and PHY support for x540 2010-11-16 19:27:16 -08:00
ixgbe_sriov.c ixgbe: Add anti-spoofing feature support 2010-12-24 21:41:06 -08:00
ixgbe_sriov.h ixgbe: update copyright info 2010-10-21 03:55:21 -07:00
ixgbe_type.h ixgbe: update ntuple filter configuration 2011-01-09 23:44:12 -08:00
ixgbe_x540.c ixgbe: Add SR-IOV feature support to X540 2010-12-24 21:40:32 -08:00
ixgbe.h ixgbe: update ntuple filter configuration 2011-01-09 23:44:12 -08:00
Makefile ixgbe: add MAC and PHY support for x540 2010-11-16 19:27:16 -08:00