]> git.baikalelectronics.ru Git - kernel.git/commit
testing: selftests: forwarding.config.sample: Add tc flag
authorAmit Cohen <amcohen@nvidia.com>
Fri, 8 Oct 2021 13:12:34 +0000 (16:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Oct 2021 15:40:57 +0000 (16:40 +0100)
commit53b48742742dbfdd618d501ff376c103597f64e2
tree680c564d3913b9bc0c2f65929f4248f9ef53a63c
parentfcf21e48876b9f4261d48bfb2a02d7998d175ece
testing: selftests: forwarding.config.sample: Add tc flag

Add TC_FLAG value to tests topology.
This flag supposed to be skip_sw/skip_hw which means do not filter by
software/hardware.

This can be useful for adding tests to forwarding directory, and be able
to verify that packets go through the hardware.

When the flag is not set or set to 'skip_hw', tests can still be executed
with veth pairs.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/forwarding.config.sample