OSDN Git Service

selftests: tc-testing: add action police selftest for packets per second
authorBaowen Zheng <baowen.zheng@corigine.com>
Fri, 26 Mar 2021 13:09:37 +0000 (14:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 00:48:28 +0000 (17:48 -0700)
commitc127ffa23e41e6cb2251d5c30e54d60777034caa
tree0b4fe0347737abfb203d7383d1b4755c9f44d48d
parenta7fd0e6d758f0f29268438287ecf7873c069a3ae
selftests: tc-testing: add action police selftest for packets per second

Add selftest cases in action police for packets per second.
These tests depend on corresponding iproute2 command support.

Signed-off-by: Baowen Zheng <baowen.zheng@corigine.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/tc-tests/actions/police.json