diff options
author | Simon Horman <simon.horman@netronome.com> | 2018-06-26 21:39:37 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-29 23:50:26 +0900 |
commit | 0ed5269f9e41f495c8e9020c85f5e1644c1afc57 (patch) | |
tree | 907addb884837d367241bc53ba1fe54bac409064 /Documentation/pps | |
parent | 256c87c17c53e60882a43dcf3e98f3bf859eaf6f (diff) |
net/sched: add tunnel option support to act_tunnel_key
Allow setting tunnel options using the act_tunnel_key action.
Options are expressed as class:type:data and multiple options
may be listed using a comma delimiter.
# ip link add name geneve0 type geneve dstport 0 external
# tc qdisc add dev eth0 ingress
# tc filter add dev eth0 protocol ip parent ffff: \
flower indev eth0 \
ip_proto udp \
action tunnel_key \
set src_ip 10.0.99.192 \
dst_ip 10.0.99.193 \
dst_port 6081 \
id 11 \
geneve_opts 0102:80:00800022,0102:80:00800022 \
action mirred egress redirect dev geneve0
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/pps')
0 files changed, 0 insertions, 0 deletions