[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 2 Feb 2021 09:41:54 -0300
From: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
To: Paul Blakey <paulb@...dia.com>
Cc: Jiri Pirko <jiri@...dia.com>, Roi Dayan <roid@...dia.com>,
Yossi Kuperman <yossiku@...dia.com>,
Oz Shlomo <ozsh@...dia.com>, netdev@...r.kernel.org,
David Miller <davem@...emloft.net>,
Aaron Conole <aconole@...hat.com>,
Zhike Wang <wangzhike@...com>, Rony Efraim <ronye@...dia.com>,
nst-kernel@...hat.com, John Hurley <john.hurley@...ronome.com>,
Simon Horman <simon.horman@...ronome.com>,
Justin Pettit <jpettit@....org>
Subject: Re: [PATCH iproute2/net-next] tc: flower: Add support for ct_state
reply flag
On Tue, Feb 02, 2021 at 02:24:42PM +0200, Paul Blakey wrote:
> Matches on conntrack rpl ct_state.
>
> Example:
> $ tc filter add dev ens1f0_0 ingress prio 1 chain 1 proto ip flower \
> ct_state +trk+est+rpl \
> action mirred egress redirect dev ens1f0_1
> $ tc filter add dev ens1f0_1 ingress prio 1 chain 1 proto ip flower \
> ct_state +trk+est-rpl \
> action mirred egress redirect dev ens1f0_0
>
> Signed-off-by: Paul Blakey <paulb@...dia.com>
> ---
> man/man8/tc-flower.8 | 2 ++
> tc/f_flower.c | 1 +
> 2 files changed, 3 insertions(+)
iproute has a header copy, include/uapi/linux/pkt_cls.h.
I think it needs updating as well.
Marcelo
Powered by blists - more mailing lists