[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BN9PR11MB535438EE5F3F60347E89648380F8A@BN9PR11MB5354.namprd11.prod.outlook.com>
Date: Thu, 21 Sep 2023 06:22:21 +0000
From: "Arland, ArpanaX" <arpanax.arland@...el.com>
To: Yajun Deng <yajun.deng@...ux.dev>, "Nguyen, Anthony L"
<anthony.l.nguyen@...el.com>, "davem@...emloft.net" <davem@...emloft.net>,
"edumazet@...gle.com" <edumazet@...gle.com>, "kuba@...nel.org"
<kuba@...nel.org>, "pabeni@...hat.com" <pabeni@...hat.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [Intel-wired-lan] [PATCH] i40e: Add rx_missed_errors for buffer
exhaustion
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of Yajun Deng
> Sent: Wednesday, September 6, 2023 12:58 PM
> To: Nguyen, Anthony L <anthony.l.nguyen@...el.com>; davem@...emloft.net; edumazet@...gle.com; kuba@...nel.org; pabeni@...hat.com
> Cc: netdev@...r.kernel.org; Yajun Deng <yajun.deng@...ux.dev>; intel-wired-lan@...ts.osuosl.org; linux-kernel@...r.kernel.org
> 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 <yajun.deng@...ux.dev>
> ---
> 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 <arpanax.arland@...el.com> (A Contingent worker at Intel)
_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@...osl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
Powered by blists - more mailing lists