Hangbin Liu b6d1599f8c 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>
2023-05-10 09:27:20 +01:00
..
2022-12-01 20:26:22 -08:00
2022-01-05 10:27:19 -08:00
2022-11-29 21:24:32 -08:00
2022-01-10 19:06:09 -08:00
2023-04-06 13:19:25 +02:00
2022-11-18 12:01:14 +00:00
2022-11-18 12:01:14 +00:00