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
..
2023-05-04 12:40:16 -07:00
2023-02-03 13:54:22 -03:00
2023-01-21 17:52:26 +00:00
2023-05-01 12:06:20 -07:00
2023-04-25 13:00:41 -07:00
2023-04-28 14:02:54 -07:00
2023-05-04 12:40:16 -07:00
2023-04-27 17:41:23 -07:00
2023-04-18 14:22:12 -07:00