diff options
author | Jeroen de Borst <[email protected]> | 2024-02-29 13:22:36 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-03-04 10:03:32 +0000 |
commit | 056a70924a0272718adfa37ffcfc1e1d426a0d7e (patch) | |
tree | dffd5962ac94893739707221e9355b35497eb8e2 /tools/perf/scripts/python/libxed.py | |
parent | 5e37d8254e7f551dda62e7590e819d69c7491845 (diff) |
gve: Add header split ethtool stats
To record the stats of header split packets, three stats are added in
the driver's ethtool stats.
- rx_hsplit_pkt is the split packets count with header split
- rx_hsplit_bytes is the received header bytes count with header split
- rx_hsplit_unsplit_pkt is the unsplit packet count due to header buffer
overflow or zero header length when header split is enabled
Currently, it's entering the stats_update critical section more than
once per packet. We have plans to avoid that in the future change to let
all the stats_update happen in one place at the end of
`gve_rx_poll_dqo`.
Co-developed-by: Ziwei Xiao <[email protected]>
Signed-off-by: Ziwei Xiao <[email protected]>
Signed-off-by: Jeroen de Borst <[email protected]>
Reviewed-by: Praveen Kaligineedi <[email protected]>
Reviewed-by: Harshitha Ramamurthy <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions