nt tc utility do it by itself.
Can I control creating hash table number by myself ?
Best regards,
Denis Gubin
help?
On Sat, Aug 29, 2020 at 1:15 AM Denis Gubin wrote:
>
> Hello, everyone!
>
> How can I add filter rule with full handle option
>
> tc filter replace dev eno5 parent : pref 49100 handle 800:10:800
> protocol ip u32 match u8 0 0
>
> I get error:
> Error: cls_u32:
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
"match 1f90/ at 20" looks like strange, doens't it?
Since 20 bytes offset up is IP Header "options field ip".
Could somebody explain it to me?
--
Best regards,
Denis Gubin
ivisor 1
filter protocol ip pref 49152 u32 chain 0 fh 800::800 order 2048 key ht 800
bkt 0 not_in_hw
--
Best regards,
Denis Gubin
"type": "pipe"
},
"index": 1,
"ref": 1,
"bind": 1
}]
}
}
]
May be problem when there is actions in tc filter the problem is... I
don't know about it.
Have a look:
"options": {fh 800::800 order 2048 key ht 800 bkt 0 terminal flowid
??? not_in_hw
match / at 0
"actions":
The json output is not valid.
Has somebody made a patch for fix it?
Thanks a lot for your answers!
--
Best regards,
Denis Gubin