All of lore.kernel.org
 help / color / mirror / Atom feed
* tc filter add with handle 800::10:800
@ 2020-08-28 22:15 Denis Gubin
  2020-08-29  9:11 ` Denis Gubin
  0 siblings, 1 reply; 2+ messages in thread
From: Denis Gubin @ 2020-08-28 22:15 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: tc filter add with handle 800::10:800
  2020-08-28 22:15 tc filter add with handle 800::10:800 Denis Gubin
@ 2020-08-29  9:11 ` Denis Gubin
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Gubin @ 2020-08-29  9:11 UTC (permalink / raw)
  To: netdev

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@gmail.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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-29  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-28 22:15 tc filter add with handle 800::10:800 Denis Gubin
2020-08-29  9:11 ` Denis Gubin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.