diff options
| author | Petr Machata <petrm@mellanox.com> | 2018-11-19 19:11:13 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-11-20 04:59:43 +0300 |
| commit | d1038cd0f67e542f2744782f958b95c4909fb63a (patch) | |
| tree | 90b60b42d15a65fc4e3d135fa6e3df3bf89e34fc /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | d20b0f214aa74a3f6b28b8d522f273e1fd2abea3 (diff) | |
| download | linux-d1038cd0f67e542f2744782f958b95c4909fb63a.tar.xz | |
selftests: forwarding: lib: Add link_stats_rx_errors_get()
Such a function will be useful for counting malformed packets in the ECN
decap test.
To that end, introduce a common handler for handling stat-fetching, and
reuse it in link_stats_tx_packets_get() and link_stats_rx_errors_get().
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
