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

Thomas Monjalon thomas at monjalon.net
Tue Oct 6 00:59:42 CEST 2020


> 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>

Applied, thanks




More information about the dev mailing list