diff options
author | Ido Schimmel <idosch@nvidia.com> | 2021-03-14 14:19:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-14 15:00:44 -0700 |
commit | bb24d592e66eb059e086595510e0f0b064e4114d (patch) | |
tree | 145db1bc35b99623997e7a7a861500b5c19a6c25 /net/lapb/lapb_timer.c | |
parent | 2073c600444349b18a80b0b38dc20df92fd74155 (diff) | |
download | linux-bb24d592e66eb059e086595510e0f0b064e4114d.tar.gz linux-bb24d592e66eb059e086595510e0f0b064e4114d.tar.bz2 linux-bb24d592e66eb059e086595510e0f0b064e4114d.zip |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions