[dpdk-dev] [PATCH v2] regex/mlx5: add dynamic memory registration to datapath

Yuval Avnery yuvalav at nvidia.com
Mon Oct 5 13:57:54 CEST 2020


Fixed in version 3
________________________________
From: Thomas Monjalon <thomas at monjalon.net>
Sent: Sunday, October 4, 2020 10:38 PM
To: Yuval Avnery <yuvalav at nvidia.com>
Cc: Ori Kam <orika at mellanox.com>; dev at dpdk.org <dev at dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v2] regex/mlx5: add dynamic memory registration to datapath

Hi Yuval,

> From: Yuval Avnery <yuvalav at mellanox.com>
>
> Currently job data is being copied to pre-registered buffer.
> To avoid memcpy on the datapath, use dynamic memory registration.
>
> This change will reduce latency when sending regex jobs. The first few
> jobs may have high latency due to registration, but assuming all
> following mbufs will arrive from the same mempool/hugepage, there will
> be no further memory registration.
>
> Signed-off-by: Yuval Avnery <yuvalav at mellanox.com>
> Acked-by: Ori Kam <orika at mellanox.com>

There is a compilation issue:
        drivers/regex/mlx5/mlx5_regex.c:200:
        undefined reference to `mlx5_os_set_reg_mr_cb'




More information about the dev mailing list