netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next/iproute v2 0/5] tc: bash-completion: Add features
@ 2017-02-07 13:50 Yotam Gigi
  2017-02-07 13:50 ` [PATCH net-next/iproute v2 1/5] tc: bash-completion: Add the _from variant to _tc_one* funcs Yotam Gigi
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Yotam Gigi @ 2017-02-07 13:50 UTC (permalink / raw)
  To: netdev, stephen, eladr, idosch, jiri, jhs, mrv; +Cc: Yotam Gigi

The first 4 patches add support for autompletion of filter actions, thus
allowing the following tab completions:

$ tc filter add dev eth0 u32 [...] action <TAB>
bpf     gact    mirred  sample

$ tc filter add dev eth0 u32 [...] action sample <TAB>
action  group   rate    trunc

$ tc filter add dev eth0 u32 [...] \
	action sample group 10 rate 10 action mirred <TAB>
action    dev       egress    index     ingress   mirror    redirect

Finally, the last patch adds support in matchall autocompletion.

v1->v2:
 - Rebased on top of net-next tree

Yotam Gigi (5):
  tc: bash-completion: Add the _from variant to _tc_one* funcs
  tc: bash-completion: Prepare action autocomplete to support several
    actions
  tc: bash-completion: Make the *_KIND variables global
  tc: bash-completion: Add support for filter actions
  tc: bash-completion: Add support for matchall

 bash-completion/tc | 121 ++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 96 insertions(+), 25 deletions(-)

-- 
2.4.11

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-02-07 19:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-07 13:50 [PATCH net-next/iproute v2 0/5] tc: bash-completion: Add features Yotam Gigi
2017-02-07 13:50 ` [PATCH net-next/iproute v2 1/5] tc: bash-completion: Add the _from variant to _tc_one* funcs Yotam Gigi
2017-02-07 13:50 ` [PATCH net-next/iproute v2 2/5] tc: bash-completion: Prepare action autocomplete to support several actions Yotam Gigi
2017-02-07 13:50 ` [PATCH net-next/iproute v2 3/5] tc: bash-completion: Make the *_KIND variables global Yotam Gigi
2017-02-07 13:50 ` [PATCH net-next/iproute v2 4/5] tc: bash-completion: Add support for filter actions Yotam Gigi
2017-02-07 13:50 ` [PATCH net-next/iproute v2 5/5] tc: bash-completion: Add support for matchall Yotam Gigi
2017-02-07 19:54 ` [PATCH net-next/iproute v2 0/5] tc: bash-completion: Add features Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).