diff options
author | 2023-08-10 16:56:42 +0800 | |
---|---|---|
committer | 2023-08-14 08:06:24 +0100 | |
commit | 3c0930b491f8995de974f459648e4aad4ca996ff (patch) | |
tree | c2c5249191634382e2cfa8c9ad359f058582c9d5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: macsec: Use helper functions to update stats (diff) | |
download | wireguard-linux-3c0930b491f8995de974f459648e4aad4ca996ff.tar.xz wireguard-linux-3c0930b491f8995de974f459648e4aad4ca996ff.zip |
vxlan: 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: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.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