]> git.proxmox.com Git - mirror_iproute2.git/commit
tc: Add batchsize feature for filter and actions
authorChris Mi <chrism@mellanox.com>
Fri, 12 Jan 2018 05:13:16 +0000 (14:13 +0900)
committerDavid Ahern <dsahern@gmail.com>
Sun, 14 Jan 2018 17:03:35 +0000 (09:03 -0800)
commit485d0c6001c4aa134b99c86913d6a7089b7b2ab0
tree7cd9d79433fdabb3ac207f42862497d406c43435
parent72a2ff3916e59d2132a7d613d9e8f5eb372ba43e
tc: Add batchsize feature for filter and actions

Currently in tc batch mode, only one command is read from the batch
file and sent to kernel to process. With this support, at most 128
commands can be accumulated before sending to kernel.

Now it only works for the following successive commands:
1. filter add/delete/change/replace
2. actions add/change/replace

Signed-off-by: Chris Mi <chrism@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
tc/m_action.c
tc/tc.c
tc/tc_common.h
tc/tc_filter.c