• Yajun Deng's avatar
    i40e: Add rx_missed_errors for buffer exhaustion · 5337d294
    Yajun Deng authored
    As the comment in struct rtnl_link_stats64, rx_dropped should not
    include packets dropped by the device due to buffer exhaustion.
    They are counted in rx_missed_errors, procfs folds those two counters
    together.
    
    Add rx_missed_errors for buffer exhaustion, rx_missed_errors corresponds
    to rx_discards, rx_dropped corresponds to rx_discards_other.
    Signed-off-by: default avatarYajun Deng <yajun.deng@linux.dev>
    Tested-by: Arpana Arland <arpanax.arland@intel.com> (A Contingent worker at Intel)
    Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
    5337d294
i40e_virtchnl_pf.c 127 KB