> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of Yajun > Deng > Sent: Wednesday, September 6, 2023 12:58 PM > To: Nguyen, Anthony L <[email protected]>; [email protected]; > [email protected]; [email protected]; [email protected] > Cc: [email protected]; Yajun Deng <[email protected]>; > [email protected]; [email protected] > Subject: [Intel-wired-lan] [PATCH] i40e: Add rx_missed_errors for buffer > exhaustion > > 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: Yajun Deng <[email protected]> > --- > drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 3 ++- > drivers/net/ethernet/intel/i40e/i40e_main.c | 18 +++++++----------- > .../net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 2 +- > 3 files changed, 10 insertions(+), 13 deletions(-) >
Tested-by: Arpana Arland <[email protected]> (A Contingent worker at Intel) _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
