Hi,

> -----Original Message-----
> From: Ori Kam <or...@mellanox.com>
> Sent: Friday, June 19, 2020 10:30 AM
> To: Matan Azrad <ma...@mellanox.com>; Slava Ovsiienko
> <viachesl...@mellanox.com>; Shahaf Shuler <shah...@mellanox.com>
> Cc: dev@dpdk.org; Ori Kam <or...@mellanox.com>; Raslan Darawsheh
> <rasl...@mellanox.com>; Ophir Munk <ophi...@mellanox.com>
> Subject: [PATCH v2 1/2] net/mlx5: move getter functions from net to
> common
> 
> From: Ophir Munk <ophi...@mellanox.com>
> 
> Getter functions such as: 'mlx5_os_get_ctx_device_name',
> 'mlx5_os_get_ctx_device_path', 'mlx5_os_get_dev_device_name',
> 'mlx5_os_get_umem_id' are implemented under net directory. To enable
> additional devices (e.g. regex, vdpa) to access these getter functions
> they are moved under common directory.
> 
> As part of this commit string sizes DEV_SYSFS_NAME_MAX and
> DEV_SYSFS_PATH_MAX are increased by 1 to make sure that the destination
> string size in strncpy() function is bigger than the source string size.
> This update will avoid GCC version 8 error -Werror=stringop-truncation.
> 
> Signed-off-by: Ophir Munk <ophi...@mellanox.com>
> Acked-by: Matan Azrad <ma...@mellanox.com>
> ---
> v2:
> * avoid GCC version 8 error.
> ---



Series rebased and applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to