[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1d2e3271-45e8-51f7-af53-5d14dc12c4f@nvidia.com>
Date: Wed, 3 Feb 2021 09:56:05 +0200
From: Paul Blakey <paulb@...dia.com>
To: Marcelo Ricardo Leitner <marcelo.leitner@...il.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, 2 Feb 2021, Marcelo Ricardo Leitner wrote:
> 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
>
Hi,
Commit 1e6190218050 ("Update kernel headers") from 02/02/2021 updated the
headers to include the relevant flag.
Thanks,
Paul.
Powered by blists - more mailing lists