Commit 5337d29
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@linux.dev>
Tested-by: Arpana Arland <arpanax.arland@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>1 parent 8989682 commit 5337d29
File tree
3 files changed
+10
-13
lines changed- drivers/net/ethernet/intel/i40e
3 files changed
+10
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
| |||
321 | 322 | | |
322 | 323 | | |
323 | 324 | | |
324 | | - | |
| 325 | + | |
325 | 326 | | |
326 | 327 | | |
327 | 328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
| 492 | + | |
492 | 493 | | |
493 | 494 | | |
494 | 495 | | |
| |||
680 | 681 | | |
681 | 682 | | |
682 | 683 | | |
683 | | - | |
684 | | - | |
685 | 684 | | |
686 | | - | |
| 685 | + | |
687 | 686 | | |
688 | 687 | | |
689 | 688 | | |
690 | 689 | | |
691 | | - | |
692 | | - | |
693 | | - | |
| 690 | + | |
694 | 691 | | |
695 | 692 | | |
696 | 693 | | |
| |||
712 | 709 | | |
713 | 710 | | |
714 | 711 | | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | 712 | | |
719 | 713 | | |
720 | 714 | | |
| |||
971 | 965 | | |
972 | 966 | | |
973 | 967 | | |
974 | | - | |
975 | | - | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
976 | 972 | | |
977 | 973 | | |
978 | 974 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4916 | 4916 | | |
4917 | 4917 | | |
4918 | 4918 | | |
4919 | | - | |
| 4919 | + | |
4920 | 4920 | | |
4921 | 4921 | | |
4922 | 4922 | | |
| |||
0 commit comments