diff options
| author | Ido Schimmel <idosch@nvidia.com> | 2021-03-14 15:19:40 +0300 | 
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-15 01:00:44 +0300 | 
| commit | bb24d592e66eb059e086595510e0f0b064e4114d (patch) | |
| tree | 145db1bc35b99623997e7a7a861500b5c19a6c25 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 2073c600444349b18a80b0b38dc20df92fd74155 (diff) | |
| download | linux-bb24d592e66eb059e086595510e0f0b064e4114d.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
