diff options
author | Li Zetao <[email protected]> | 2023-08-10 16:56:41 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-08-14 08:06:24 +0100 |
commit | bf98bbe985539ffb61898bd4d855df727b1a80c7 (patch) | |
tree | 00b85837721962f1ddfd12e2621ff3862f4fdaf0 /tools/perf/scripts/python/libxed.py | |
parent | 54f00cce11786742bd11e5e68c3bf85e6dc048c9 (diff) |
net: macsec: Use helper functions to update stats
Use the helper functions dev_sw_netstats_rx_add() and
dev_sw_netstats_tx_add() to update stats, which helps to
provide code readability.
Signed-off-by: Li Zetao <[email protected]>
Reviewed-by: Simon Horman <[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