[PATCH v6 10/18] net/mlx5: add HW steering connection tracking support
Slava Ovsiienko
viacheslavo at nvidia.com
Mon Oct 24 11:46:04 CEST 2022
> -----Original Message-----
> From: Suanming Mou <suanmingm at nvidia.com>
> Sent: Thursday, October 20, 2022 18:42
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>
> Cc: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>; Ori Kam
> <orika at nvidia.com>
> Subject: [PATCH v6 10/18] net/mlx5: add HW steering connection tracking
> support
>
> This commit adds the support of connection tracking to HW steering as SW
> steering did before.
>
> Different with SW steering implementation, take advantage of HW steering
> bulk action allocation support, in HW steering only one single CT pool is
> needed.
>
> An indexed pool is introduced to record allocated actions from bulk and CT
> action state etc. Once one CT action is allocated from bulk, one indexed
> object will also be allocated from the indexed pool, similar for deallocate.
> That makes mlx5_aso_ct_action can also be managed by that indexed pool, no
> need to be reserved from mlx5_aso_ct_pool. The single CT pool is also saved
> to mlx5_aso_ct_action struct directly.
>
> The ASO operation functions are shared with SW steering implementation.
>
> Signed-off-by: Suanming Mou <suanmingm at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
More information about the dev
mailing list