]> git.proxmox.com Git - mirror_iproute2.git/commit
tc: introduce support for block-handle for filter operations
authorJiri Pirko <jiri@mellanox.com>
Sat, 20 Jan 2018 10:00:28 +0000 (11:00 +0100)
committerDavid Ahern <dsahern@gmail.com>
Sun, 21 Jan 2018 18:42:53 +0000 (10:42 -0800)
commit0c7cef9669a82d4ad0438922f7ce57c18100d6b8
tree0d71f079cc8dd2dffce82a030721659b74cc3b45
parentd0bcedd549566a87354aa804df3be6be80681ee9
tc: introduce support for block-handle for filter operations

So far, qdisc was the only handle that could be used to manipulate
filters. Kernel added support for using block to manipulate it. So add
the support to use block index to manipulate filters. The magic
TCM_IFINDEX_MAGIC_BLOCK indicates the block index is in use.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
man/man8/tc.8
tc/tc_filter.c