[dpdk-dev] [PATCH 18/28] net/mlx5: store protection domain number on create

Slava Ovsiienko viacheslavo at mellanox.com
Mon Jul 22 11:21:06 CEST 2019


> -----Original Message-----
> From: Matan Azrad <matan at mellanox.com>
> Sent: Monday, July 22, 2019 12:13
> To: Shahaf Shuler <shahafs at mellanox.com>; Yongseok Koh
> <yskoh at mellanox.com>; Slava Ovsiienko <viacheslavo at mellanox.com>
> Cc: dev at dpdk.org; Dekel Peled <dekelp at mellanox.com>
> Subject: [PATCH 18/28] net/mlx5: store protection domain number on create
> 
> From: Dekel Peled <dekelp at mellanox.com>
> 
> Function mlx5_alloc_shared_ibctx() allocates Protection Domain using verbs
> API, as part of shared IB device context.
> This patch adds reading and storing of pdn value from the created PD object,
> using DV API.
> The pdn value is required when creating WQ using DevX API.
> 
> This patch also updates function flow_dv_create_counter_stat_mem_mng()
> which uses the pdn value as well.
> 
> Signed-off-by: Dekel Peled <dekelp at mellanox.com>
> Acked-by: Matan Azrad <matan at mellanox.com>

Acked-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>



More information about the dev mailing list