[PATCH 3/4] net/mlx5/hws: support insert/distribute RTC properties

Slava Ovsiienko viacheslavo at nvidia.com
Mon Jan 23 15:07:32 CET 2023


> -----Original Message-----
> From: Yevgeny Kliteynik <kliteyn at nvidia.com>
> Sent: Thursday, January 12, 2023 3:49 PM
> To: Yevgeny Kliteynik <kliteyn at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; NBU-Contact-Thomas Monjalon (EXTERNAL)
> <thomas at monjalon.net>; Suanming Mou <suanmingm at nvidia.com>;
> Matan Azrad <matan at nvidia.com>
> Cc: dev at dpdk.org; Ori Kam <orika at nvidia.com>
> 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 <kliteyn at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>



More information about the dev mailing list