Re: [dpdk-dev] [PATCH v5 9/9] net/mlx5: probe host PF representor with SubFunction

2021-03-30 Thread Slava Ovsiienko
> -Original Message- > From: Xueming Li > Sent: Sunday, March 28, 2021 16:48 > To: Slava Ovsiienko > Cc: dev@dpdk.org; Xueming(Steven) Li ; Asaf Penso > ; Matan Azrad ; Shahaf Shuler > > Subject: [PATCH v5 9/9] net/mlx5: probe host PF representor with > SubFunction > > To simplify BlueF

[dpdk-dev] [PATCH v5 9/9] net/mlx5: probe host PF representor with SubFunction

2021-03-28 Thread Xueming Li
To simplify BlueField HPF representor(vf[-1]) probe, this patch allows probe it with "sf" syntax: "sf[-1]". Signed-off-by: Xueming Li --- drivers/net/mlx5/linux/mlx5_os.c | 14 ++ drivers/net/mlx5/mlx5.h | 3 ++- drivers/net/mlx5/mlx5_ethdev.c | 25 +--