diff options
author | 2023-08-10 16:56:41 +0800 | |
---|---|---|
committer | 2023-08-14 08:06:24 +0100 | |
commit | bf98bbe985539ffb61898bd4d855df727b1a80c7 (patch) | |
tree | 00b85837721962f1ddfd12e2621ff3862f4fdaf0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vmxnet3: Add XDP support. (diff) | |
download | wireguard-linux-bf98bbe985539ffb61898bd4d855df727b1a80c7.tar.xz wireguard-linux-bf98bbe985539ffb61898bd4d855df727b1a80c7.zip |
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 <lizetao1@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions