> -----Original Message-----
> From: Yevgeny Kliteynik <[email protected]>
> Sent: Thursday, January 12, 2023 3:49 PM
> To: Yevgeny Kliteynik <[email protected]>; Slava Ovsiienko
> <[email protected]>; NBU-Contact-Thomas Monjalon (EXTERNAL)
> <[email protected]>; Suanming Mou <[email protected]>;
> Matan Azrad <[email protected]>
> Cc: [email protected]; Ori Kam <[email protected]>
> Subject: [PATCH 3/4] net/mlx5/hws: support insert/distribute RTC properties
> 
> Added support for RTC with insertion by hash/index and distribution by
> normal/linear hash.
> 
> Supported modes are:
> 
> - INSERT_BY_HASH + DISTRIBUTE_BY_HASH: what we had until now
> - INSERT_BY_INDEX + DISTRIBUTE_BY_HASH: Hash Split table, can also
>   be used to calculate hash, in which case the result can be read
>   from the hash_result meta-field (MLX5_MODI_HASH_RESULT)
> - INSERT_BY_INDEX + DISTRIBUTE_BY_LINEAR: Linear Lookup table,
>   supported only for metadata_reg_c3[31:16] bits
> 
> When setting INSERT_BY_INDEX mode, you can still provide number of rules
> both through 'rule' and 'table' fields of matcher attributes, but if 'table' 
> is
> used, then 'table.sz_col_log' has to be 0.
> 
> When providing rule with index, this index is used both in rule creation and
> deletion.
> 
> Signed-off-by: Yevgeny Kliteynik <[email protected]>
Acked-by: Viacheslav Ovsiienko <[email protected]>

Reply via email to