diff options
author | 2023-05-09 11:11:59 +0800 | |
---|---|---|
committer | 2023-05-10 09:27:20 +0100 | |
commit | b6d1599f8c282bfbc4d291af750436d93005b9ea (patch) | |
tree | df65a8c1dca040c2a1d42645e0ce0532560803fa /net/socket.c | |
parent | Documentation: bonding: fix the doc of peer_notif_delay (diff) | |
download | linux-rng-b6d1599f8c282bfbc4d291af750436d93005b9ea.tar.xz linux-rng-b6d1599f8c282bfbc4d291af750436d93005b9ea.zip |
selftests: forwarding: lib: add netns support for tc rule handle stats get
When run the test in netns, it's not easy to get the tc stats via
tc_rule_handle_stats_get(). With the new netns parameter, we can get
stats from specific netns like
num=$(tc_rule_handle_stats_get "dev eth0 ingress" 101 ".packets" "-n ns")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions