[dpdk-stable] [PATCH] net/mlx5: fix Bluefield VF type recognition

Raslan Darawsheh rasland at mellanox.com
Sun Sep 29 10:57:19 CEST 2019


Hi,
> -----Original Message-----
> From: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
> Sent: Wednesday, September 25, 2019 10:31 AM
> To: dev at dpdk.org
> Cc: Matan Azrad <matan at mellanox.com>; Raslan Darawsheh
> <rasland at mellanox.com>; stable at dpdk.org
> Subject: [PATCH] net/mlx5: fix Bluefield VF type recognition
> 
> The PCI virtual function type was recognized correctly for Bluefield VF.
> 
> Fixes: f38c54571d62 ("net/mlx5: split PCI from generic probing")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
> ---
>  drivers/net/mlx5/mlx5.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index
> 9b5affa..06cb906 100644
> --- a/drivers/net/mlx5/mlx5.c
> +++ b/drivers/net/mlx5/mlx5.c
> @@ -2425,6 +2425,7 @@ struct mlx5_dev_spawn_data {
>  	case PCI_DEVICE_ID_MELLANOX_CONNECTX4LXVF:
>  	case PCI_DEVICE_ID_MELLANOX_CONNECTX5VF:
>  	case PCI_DEVICE_ID_MELLANOX_CONNECTX5EXVF:
> +	case PCI_DEVICE_ID_MELLANOX_CONNECTX5BFVF:
>  		dev_config.vf = 1;
>  		break;
>  	default:
> --
> 1.8.3.1



Patch applied to next-net-mlx

Kindest regards,
Raslan Darawsheh


More information about the stable mailing list