Ido Schimmel
bb24d592e6
selftests: mlxsw: Add tc sample tests
...
Test that packets are sampled when tc-sample is used and that reported
metadata is correct. Two sets of hosts (with and without LAG) are used,
since metadata extraction in mlxsw is a bit different when LAG is
involved.
# ./tc_sample.sh
TEST: tc sample rate (forward) [ OK ]
TEST: tc sample rate (local receive) [ OK ]
TEST: tc sample maximum rate [ OK ]
TEST: tc sample group conflict test [ OK ]
TEST: tc sample iif [ OK ]
TEST: tc sample lag iif [ OK ]
TEST: tc sample oif [ OK ]
TEST: tc sample lag oif [ OK ]
TEST: tc sample out-tc [ OK ]
TEST: tc sample out-tc-occ [ OK ]
Signed-off-by: Ido Schimmel <idosch@nvidia.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2021-03-14 15:00:44 -07:00
..
2021-01-20 12:44:26 +00:00
2021-03-09 18:07:05 -08:00
2021-02-08 17:04:41 -07:00
2020-03-25 11:50:48 +01:00
2020-11-10 15:13:25 -07:00
2020-12-07 14:34:55 -07:00
2020-12-19 16:23:19 +01:00
2021-02-05 12:48:46 +01:00
2021-02-08 16:25:53 -07:00
2021-03-14 15:00:44 -07:00
2020-03-25 11:50:48 +01:00
2020-10-16 11:11:21 -07:00
2020-12-19 11:18:38 -08:00
2020-10-15 15:14:32 -07:00
2020-06-29 10:02:23 +02:00
2021-02-11 16:22:32 -05:00
2020-03-25 11:50:48 +01:00
2021-03-08 11:59:16 +01:00
2020-03-25 11:50:48 +01:00
2020-11-10 14:41:32 -07:00
2021-02-08 16:32:43 -07:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-08-12 10:58:01 -07:00
2020-12-08 23:30:04 +09:00
2021-03-02 14:30:54 -05:00
2020-06-04 19:06:25 -07:00
2020-08-27 15:27:24 +02:00
2020-12-17 13:34:25 -08:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-11-10 14:42:04 -07:00
2020-08-07 11:33:27 -07:00
2020-08-27 16:06:47 -04:00
2021-01-24 14:43:45 +01:00
2020-03-25 11:50:48 +01:00
2021-01-29 18:03:33 -08:00
2021-03-12 17:47:45 -08:00
2021-02-28 00:25:16 +01:00
2020-05-08 09:42:14 -06:00
2020-06-05 20:02:09 -04:00
2020-12-03 10:16:28 +01:00
2020-07-06 15:59:07 -06:00
2020-10-27 17:04:01 -06:00
2021-02-22 14:34:00 -08:00
2020-03-25 11:50:48 +01:00
2020-11-05 10:08:14 -07:00
2020-05-30 10:34:02 -07:00
2020-07-20 18:04:59 -07:00
2020-09-23 10:19:25 -06:00
2021-02-12 12:59:14 +01:00
2020-12-07 14:09:45 -07:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2021-02-22 17:15:30 -08:00
2020-11-18 18:26:00 +01:00
2020-07-06 15:57:15 -06:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-08-07 10:50:11 -07:00
2020-07-06 15:57:28 -06:00
2021-02-06 00:21:42 +01:00
2020-06-09 10:03:12 -07:00
2021-02-16 13:14:06 -08:00
2021-02-08 17:29:58 -07:00
2020-08-20 15:49:28 -06:00
2020-03-25 11:50:48 +01:00
2020-07-06 14:20:35 -06:00
2020-07-06 15:59:07 -06:00
2021-02-08 16:38:34 -07:00
2021-02-09 17:26:44 -08:00
2020-03-25 11:50:48 +01:00
2021-02-23 15:54:07 -08:00
2021-02-22 11:01:53 -08:00
2020-04-03 13:12:26 -07:00
2020-05-19 16:11:46 -06:00
2021-02-15 11:43:28 +01:00
2021-01-21 14:06:00 -07:00
2021-02-15 11:07:42 +01:00
2020-08-05 10:28:25 -07:00
2020-10-27 16:51:06 -06:00
2021-02-23 13:39:45 -08:00
2020-11-10 14:51:39 -07:00