[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f1cd1094-3bee-63b6-8ea2-4c01889c18c2@gmail.com>
Date: Tue, 2 Oct 2018 15:44:15 -0600
From: David Ahern <dsahern@...il.com>
To: Simon Horman <simon.horman@...ronome.com>
Cc: Jiri Pirko <jiri@...nulli.us>, Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>, netdev@...r.kernel.org,
oss-drivers@...ronome.com,
Pieter Jansen van Vuuren
<pieter.jansenvanvuuren@...ronome.com>
Subject: Re: [PATCH iproute2-next] tc: f_flower: add geneve option match
support to flower
On 9/28/18 8:03 AM, Simon Horman wrote:
> From: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@...ronome.com>
>
> Allow matching on options in Geneve tunnel headers.
>
> The options can be described in the form
> CLASS:TYPE:DATA/CLASS_MASK:TYPE_MASK:DATA_MASK, where CLASS is
> represented as a 16bit hexadecimal value, TYPE as an 8bit
> hexadecimal value and DATA as a variable length hexadecimal value.
>
> e.g.
> # ip link add name geneve0 type geneve dstport 0 external
> # tc qdisc add dev geneve0 ingress
> # tc filter add dev geneve0 protocol ip parent ffff: \
> flower \
> enc_src_ip 10.0.99.192 \
> enc_dst_ip 10.0.99.193 \
> enc_key_id 11 \
> geneve_opts 0102:80:1122334421314151/ffff:ff:ffffffffffffffff \
> ip_proto udp \
> action mirred egress redirect dev eth1
>
> Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@...ronome.com>
> Signed-off-by: Simon Horman <simon.horman@...ronome.com>
> ---
> man/man8/tc-flower.8 | 13 ++-
> tc/f_flower.c | 282 +++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 294 insertions(+), 1 deletion(-)
applied to iproute2-next. Thanks
Powered by blists - more mailing lists