[PATCH v7 3/4] net/mlx5: fix warning about rte_memcpy length

Raslan Darawsheh rasland at nvidia.com
Wed Mar 13 11:00:53 CET 2024


Hi,
> -----Original Message-----
> From: Morten Brørup <mb at smartsharesystems.com>
> Sent: Monday, January 16, 2023 3:07 PM
> To: dev at dpdk.org; roretzla at linux.microsoft.com; rmody at marvell.com;
> timothy.mcdaniel at intel.com; Matan Azrad <matan at nvidia.com>; Slava
> Ovsiienko <viacheslavo at nvidia.com>
> Cc: ruifeng.wang at arm.com; zhoumin at loongson.cn;
> drc at linux.vnet.ibm.com; kda at semihalf.com; bruce.richardson at intel.com;
> konstantin.v.ananyev at yandex.ru; Morten Brørup
> <mb at smartsharesystems.com>; Xueming(Steven) Li <xuemingl at nvidia.com>
> Subject: [PATCH v7 3/4] net/mlx5: fix warning about rte_memcpy length
> 
> Use RTE_PTR_ADD where copying to the offset of a field in a structure holding
> multiple fields, to avoid compiler warnings with decorated rte_memcpy.
> 
> Fixes: 16a7dbc4f69006cc1c96ca2a2c6d3e3c51a2ff50 ("net/mlx5: make flow
> modify action list thread safe")
> Cc: xuemingl at nvidia.com
> Cc: matan at nvidia.com
> Cc: viacheslavo at nvidia.com
> 
> Signed-off-by: Morten Brørup <mb at smartsharesystems.com>

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh


More information about the dev mailing list