[PATCH] net/mlx5/hws: fix possible negative return on sq create
    Raslan Darawsheh 
    rasland at nvidia.com
       
    Tue Nov  8 09:58:18 CET 2022
    
    
  
Hi,
> -----Original Message-----
> From: Alex Vesker <valex at nvidia.com>
> Sent: Thursday, November 3, 2022 2:52 PM
> To: Alex Vesker <valex at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; NBU-Contact-Thomas Monjalon (EXTERNAL)
> <thomas at monjalon.net>; Suanming Mou <suanmingm at nvidia.com>;
> Matan Azrad <matan at nvidia.com>
> Cc: dev at dpdk.org; Ori Kam <orika at nvidia.com>
> Subject: [PATCH] net/mlx5/hws: fix possible negative return on sq create
> 
> The sysconf call can return a negative value (-1) on failure
> this will lead to posix_memalign to fail. This is not a realistic
> case which was found by the static checkers.
> 
> Fixes: 3eb7488 ("net/mlx5/hws: add send layer")
missing empty line between fixes and signed-off-by will handle during integration.
> Signed-off-by: Alex Vesker <valex at nvidia.com>
> Reviewed-by: Erez Shitrit <erezsh at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
    
    
More information about the dev
mailing list