[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <335540b5-e49e-ba67-0673-d51dee353ca0@gmail.com>
Date: Fri, 6 Jul 2018 10:12:11 -0600
From: David Ahern <dsahern@...il.com>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc: stephen@...workplumber.org, oss-drivers@...ronome.com,
netdev@...r.kernel.org, Simon Horman <simon.horman@...ronome.com>,
Pieter Jansen van Vuuren
<pieter.jansenvanvuuren@...ronome.com>
Subject: Re: [PATCH iproute2-next] tc: m_tunnel_key: Add tunnel option support
to act_tunnel_key
On 7/5/18 6:12 PM, Jakub Kicinski wrote:
> From: Simon Horman <simon.horman@...ronome.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.horman@...ronome.com>
> Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@...ronome.com>
> Reviewed-by: Jakub Kicinski <jakub.kicinski@...ronome.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
Powered by blists - more mailing lists