diff options
| author | Saeed Mahameed <[email protected]> | 2022-05-17 20:13:09 -0700 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2022-05-17 23:41:48 -0700 |
| commit | 77422a8f6f61be1ef64978e9a94f40fed0d1634e (patch) | |
| tree | deaa2fa9d3ef89012c1ddab64e22f5d3b69942a2 /tools/perf/scripts/python | |
| parent | f05ec8d9d0d62367b6e1f2cb50d7d2a45e7747cf (diff) | |
net/mlx5e: CT: Add ct driver counters
Connection offload is translated to multiple rules over several
hardware flow tables. Unhandled end-cases may cause a hardware
resource leak causing multiple system symptoms such as a host
memory leak, decreased performance and other scale related issues.
Export the current number of firmware FTEs related to the CT table
as a debugfs counter. Also add a dropped packets counter to help
debug packets dropped on restore failure.
To show the offloaded count:
cat /sys/kernel/debug/mlx5/<PCI>/ct_nic/offloaded
To show the dropped count:
cat /sys/kernel/debug/mlx5/<PCI>/ct_nic/rx_dropped
Signed-off-by: Paul Blakey <[email protected]>
Signed-off-by: Roi Dayan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Reviewed-by: Oz Shlomo <[email protected]>
Reviewed-by: Paul Blakey <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions