On 7/5/18 6:12 PM, Jakub Kicinski wrote: > From: Simon Horman <simon.hor...@netronome.com> > > 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.hor...@netronome.com> > Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuu...@netronome.com> > Reviewed-by: Jakub Kicinski <jakub.kicin...@netronome.com> > --- > man/man8/tc-tunnel_key.8 | 12 ++- > tc/m_tunnel_key.c | 177 +++++++++++++++++++++++++++++++++++++++ > 2 files changed, 188 insertions(+), 1 deletion(-) >
applied to iproute2-next. Thanks