kernel-ark/drivers/net/igb
Jesper Dangaard Brouer 3ea73afafb igb: Record host memory receive overflow in net_stats
Based on previous patch from Jesper Dangaard Brouer.

The RNBC (Receive No Buffers Count) register for the 82576, indicate
that frames were received when there were no available buffers in host
memory to store those frames (receive descriptor head and tail
pointers were equal).  The packet is still received by the NIC if
there is space in the FIFO on the NIC.

As the RNBC value is not a packet drop, the driver stores this value
in net_stats.rx_fifo_errors to indicate that there were no system
buffers available for the incoming packet.  Actual dropped packets
are counted in the MPC value.

Saving the stats in dev->net_stats makes it visible via
/proc/net/dev as "fifo", and thus viewable to ifconfig
as "overruns" and 'netstat -i' as "RX-OVR".

The Receive No Buffers Count (RNBC) can already be queried by
ethtool -S as "rx_no_buffer_count".

Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
CC: Jesper Dangaard Brouer <hawk@comx.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-05-26 20:35:06 -07:00
..
e1000_82575.c igb: add support for 82576 quad copper adapter 2009-03-14 12:41:06 -07:00
e1000_82575.h igb: Enable SCTP checksum offloading 2009-04-28 01:53:14 -07:00
e1000_defines.h igb: Enable SCTP checksum offloading 2009-04-28 01:53:14 -07:00
e1000_hw.h igb: add support for 82576 quad copper adapter 2009-03-14 12:41:06 -07:00
e1000_mac.c igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_mac.h igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_mbx.c igb: reconfigure mailbox timeout logic 2009-04-28 01:53:12 -07:00
e1000_mbx.h igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_nvm.c igb: update version number and copyright dates 2009-02-07 02:43:17 -08:00
e1000_nvm.h
e1000_phy.c igb: increase delay for copper link setup 2009-04-02 00:59:07 -07:00
e1000_phy.h igb: update version number and copyright dates 2009-02-07 02:43:17 -08:00
e1000_regs.h igb: add RQDPC (Receive Queue Drop Packet Count) register macro 2009-05-26 20:35:04 -07:00
igb_ethtool.c igb: Record host memory receive overflow in net_stats 2009-05-26 20:35:06 -07:00
igb_main.c igb: Record host memory receive overflow in net_stats 2009-05-26 20:35:06 -07:00
igb.h igb: Implement reading of reg RQDPC (Receive Queue Drop Packet Count) 2009-05-26 20:35:05 -07:00
Makefile igb: Add support for enabling VFs to PF driver. 2009-02-20 00:22:54 -08:00