• J
    igb: Implement reading of reg RQDPC (Receive Queue Drop Packet Count) · 8c0ab70a
    Jesper Dangaard Brouer 提交于
    Based on the previous patches from Jesper Dangaard Brouer <hawk@comx.dk>
    
    Implement reading the per queue drop stats register
    RQDPC (Receive Queue Drop Packet Count).  It counts the number of
    packets dropped by a queue due to lack of descriptors available.
    
    Notice RQDPC (Receive Queue Drop Packet Count) stats only gets
    incremented, if the DROP_EN bit it set (in the SRRCTL register
    for that queue).  If DROP_EN bit is NOT set, then the some what
    equivalent count is stored in RNBC (not per queue basis).
    
    The RQDPC register is only 12 bit, thus the precision might
    suffer due to overrun in-netween the watchdog polling interval.
    Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
    CC: Jesper Dangaard Brouer <hawk@comx.dk>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    8c0ab70a
igb.h 9.3 KB