summaryrefslogtreecommitdiff
path: root/net/sched/act_skbedit.c
diff options
context:
space:
mode:
authorAmir Vadai <amirva@mellanox.com>2016-06-05 17:11:18 +0300
committerDavid S. Miller <davem@davemloft.net>2016-06-08 01:49:53 +0300
commite69985c67c33f1d981a87986237366e83a8f0e13 (patch)
treec0c485b8d93a502a8856361c72be55d9d8b0cba5 /net/sched/act_skbedit.c
parent919f274fd62fdc99799c8fa4f8231b4fd3714532 (diff)
downloadlinux-e69985c67c33f1d981a87986237366e83a8f0e13.tar.xz
net/sched: cls_flower: Introduce support in SKIP SW flag
In order to make a filter processed only by hardware, skip_sw flag should be supplied. This is an addition to the already existing skip_hw flag (filter will be processed by software only). If no flag is specified, filter will be processed by both software and hardware. If only hardware offloaded filters exist, fl_classify() will return without doing anything. A following userspace patch will be sent once kernel patch is accepted. Example: tc filter add dev enp0s9 protocol ip prio 20 parent ffff: \ flower \ ip_proto 6 \ indev enp0s9 \ skip_sw \ action skbedit mark 0x1234 Signed-off-by: Amir Vadai <amirva@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Acked-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_skbedit.c')
0 files changed, 0 insertions, 0 deletions