Commit c7850489 authored by Yajun Deng's avatar Yajun Deng Committed by Greg Kroah-Hartman
Browse files

i40e: Add rx_missed_errors for buffer exhaustion



[ Upstream commit 5337d294 ]

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>
Stable-dep-of: 50b2af45 ("i40e: report VF tx_dropped with tx_errors instead of tx_discards")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a36f8f4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment