diff options
author | Chris Mi <chrism@mellanox.com> | 2017-10-26 18:24:42 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-29 22:49:31 +0900 |
commit | 7f071998474a9e5f7b98103d3058a1b8ca5887e6 (patch) | |
tree | b0dbf7eab9447f3e5d5059c5418c5ef847001147 /net | |
parent | 46e235c15ca44f34cb79f4dbec909b8c51999dc1 (diff) | |
download | linux-stable-7f071998474a9e5f7b98103d3058a1b8ca5887e6.tar.gz linux-stable-7f071998474a9e5f7b98103d3058a1b8ca5887e6.tar.bz2 linux-stable-7f071998474a9e5f7b98103d3058a1b8ca5887e6.zip |
selftests: Introduce a new script to generate tc batch file
# ./tdc_batch.py -h
usage: tdc_batch.py [-h] [-n NUMBER] [-o] [-s] [-p] device file
TC batch file generator
positional arguments:
device device name
file batch file name
optional arguments:
-h, --help show this help message and exit
-n NUMBER, --number NUMBER
how many lines in batch file
-o, --skip_sw skip_sw (offload), by default skip_hw
-s, --share_action all filters share the same action
-p, --prio all filters have different prio
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 'net')
0 files changed, 0 insertions, 0 deletions