aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorLukasz Cieplicki <[email protected]>2022-05-31 12:54:20 +0200
committerTony Nguyen <[email protected]>2022-06-30 13:09:00 -0700
commit1adb1563e7b7ec659379a18e607e8bc3522d8a78 (patch)
tree2cf57dd37907fd4ae29811cb3f854ae669c20ba8 /lib/netdev-notifier-error-inject.c
parent58bf4db695287c4bb2a5fc9fc12c78fdd4c36894 (diff)
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 <[email protected]> Signed-off-by: Jedrzej Jagielski <[email protected]> Tested-by: Gurucharan <[email protected]> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions