summaryrefslogtreecommitdiff
path: root/bash-completion
diff options
context:
space:
mode:
authorYotam Gigi <yotamg@mellanox.com>2017-02-07 15:50:52 +0200
committerStephen Hemminger <stephen@networkplumber.org>2017-02-07 11:44:53 -0800
commitb32c0b64fa2be2601a29c90b61167a86b70fa035 (patch)
treef4b2abb6ebf97e1bfda8d5b84b53d470c8c84b2d /bash-completion
parenta9d2f4d8619ff5a440e752f5c6f2ceb523907e3e (diff)
downloadiproute2-b32c0b64fa2be2601a29c90b61167a86b70fa035.tar.gz
tc: bash-completion: Add support for matchall
Add support for the matchall classifier and its parameters. Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Diffstat (limited to 'bash-completion')
-rw-r--r--bash-completion/tc6
1 files changed, 5 insertions, 1 deletions
diff --git a/bash-completion/tc b/bash-completion/tc
index e4c6804d..80d12972 100644
--- a/bash-completion/tc
+++ b/bash-completion/tc
@@ -5,7 +5,7 @@
QDISC_KIND=' choke codel bfifo pfifo pfifo_head_drop fq fq_codel gred hhf \
mqprio multiq netem pfifo_fast pie red rr sfb sfq tbf atm cbq drr \
dsmark hfsc htb prio qfq '
-FILTER_KIND=' basic bpf cgroup flow flower fw route rsvp tcindex u32 '
+FILTER_KIND=' basic bpf cgroup flow flower fw route rsvp tcindex u32 matchall '
ACTION_KIND=' gact mirred bpf sample '
# Takes a list of words in argument; each one of them is added to COMPREPLY if
@@ -449,6 +449,10 @@ _tc_filter_options()
_tc_once_attr 'map hash divisor baseclass match action'
return 0
;;
+ matchall)
+ _tc_once_attr 'action skip_sw skip_hw'
+ return 0
+ ;;
flower)
_tc_once_attr 'action classid indev dst_mac src_mac eth_type \
ip_proto dst_ip src_ip dst_port src_port'