[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAE_-sdmrpoq0nMegmS=7Te3bw0p8VXG6cqDOAjx90v_89HPp2A@mail.gmail.com>
Date: Sat, 29 Aug 2020 12:11:44 +0300
From: Denis Gubin <denis.gubin@...il.com>
To: netdev@...r.kernel.org
Subject: Re: tc filter add with handle 800::10:800
In-Reply-To: CAE_-sdmpSSNEt5R2B+v1FaSP+SYCk_khW2KieRL_7xVbR=nfHw
Hi there!
I just understand how it works?
And I want to control by myself which hash table number will be set
tc filter replace dev eno5 parent ffff: pref 49100 handle 800:10:800
protocol ip u32 match u8 0 0
and then I'll can delete this filter by command like this
tc filter delete dev eno5 parent ffff: pref 49100 handle 800:10:800 u32
And then create that filter again by command
tc filter replace dev eno5 parent ffff: pref 49100 handle 800:10:800
protocol ip u32 match u8 0 0
Is it possible ?
I pleased for your help?
On Sat, Aug 29, 2020 at 1:15 AM Denis Gubin <denis.gubin@...il.com> wrote:
>
> Hello, everyone!
>
> How can I add filter rule with full handle option
>
> tc filter replace dev eno5 parent ffff: pref 49100 handle 800:10:800
> protocol ip u32 match u8 0 0
>
> I get error:
> Error: cls_u32: Handle specified hash table address mismatch
>
> Why I get error?
>
> Am I right to article below?
>
> handle 800:10:888 is this:
> 800 - number of hash table
> 10 - number of divisor
> 888 - number of filter rule
>
> I appreciate for your answers. Thanks!
>
> --
> Best regards,
> Denis Gubin
--
Best regards,
Denis Gubin
Powered by blists - more mailing lists