]> git.proxmox.com Git - mirror_iproute2.git/commit - tc/f_matchall.c
tc: Add support for the matchall traffic classifier.
authorYotam Gigi <yotamg@mellanox.com>
Wed, 31 Aug 2016 07:28:26 +0000 (09:28 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 1 Sep 2016 15:37:01 +0000 (08:37 -0700)
commitd5cbf3ff0561b6c8158c3538c7fe1946add9dec3
tree3881418709d59d9a3d3777d417ef4af5c3103d17
parent7c55d7700f4320186784590516993a73183bc2f2
tc: Add support for the matchall traffic classifier.

The matchall classifier matches every packet and allows the user to apply
actions on it. In addition, it supports the skip_sw and skip_hw (as can
be found on u32 and flower filter) that direct the kernel to skip the
software/hardware processing of the actions.

This filter is very useful in usecases where every packet should be
matched. For example, packet mirroring (SPAN) can be setup very easily
using that filter.

Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
tc/Makefile
tc/f_matchall.c [new file with mode: 0644]