summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorLukasz Cieplicki <lukaszx.cieplicki@intel.com>2022-05-31 12:54:20 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2022-06-30 13:09:00 -0700
commit1adb1563e7b7ec659379a18e607e8bc3522d8a78 (patch)
tree2cf57dd37907fd4ae29811cb3f854ae669c20ba8 /tools/perf/builtin-script.c
parent58bf4db695287c4bb2a5fc9fc12c78fdd4c36894 (diff)
downloadlinux-1adb1563e7b7ec659379a18e607e8bc3522d8a78.tar.bz2
i40e: Fix dropped jumbo frames statistics
Dropped packets caused by too large frames were not included in dropped RX packets statistics. Issue was caused by not reading the GL_RXERR1 register. That register stores count of packet which was have been dropped due to too large size. Fix it by reading GL_RXERR1 register for each interface. Repro steps: Send a packet larger than the set MTU to SUT Observe rx statists: ethtool -S <interface> | grep rx | grep -v ": 0" Fixes: 41a9e55c89be ("i40e: add missing VSI statistics") Signed-off-by: Lukasz Cieplicki <lukaszx.cieplicki@intel.com> Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com> Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions