diff options
author | Chris Mi <chrism@mellanox.com> | 2017-10-26 18:24:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-29 22:49:31 +0900 |
commit | 31c2611b66e01378b54f7ef641cb0d23fcd8502f (patch) | |
tree | 9977e690a21f354b5ed0535f8ddad4ec176f6dac /include | |
parent | 7f071998474a9e5f7b98103d3058a1b8ca5887e6 (diff) | |
download | op-kernel-dev-31c2611b66e01378b54f7ef641cb0d23fcd8502f.zip op-kernel-dev-31c2611b66e01378b54f7ef641cb0d23fcd8502f.tar.gz |
selftests: Introduce a new test case to tc testsuite
In this patchset, we fixed a tc bug. This patch adds the test case
that reproduces the bug. To run this test case, user should specify
an existing NIC device:
# sudo ./tdc.py -d enp4s0f0
This test case belongs to category "flower". If user doesn't specify
a NIC device, the test cases belong to "flower" will not be run.
In this test case, we create 1M filters and all filters share the same
action. When destroying all filters, kernel should not panic. It takes
about 18s to run it.
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: Lucas Bates <lucasb@mojatatu.com>
Signed-off-by: Chris Mi <chrism@mellanox.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions