[PATCH] net/mlx5: support no host PF configuration

Stephen Hemminger stephen at networkplumber.org
Mon Oct 7 20:09:37 CEST 2024


On Wed, 11 Oct 2023 09:41:53 +0300
Jiawei Wang <jiaweiw at nvidia.com> wrote:

> From: Xueming Li <xuemingl at nvidia.com>
> 
> In BlueField, a new firmware configuration option NUM_OF_PF=0 disables
> PF on the x86 host side, no HPF on the ARM side, and the only RDMA port
> on the ARM side is the bonding device(PF0). A device probe with devargs
> of representor=pf[0-1]vf[...] will probe PF0 and PF1 one by one, and
> it's possible that PF1 device scan results in no switch ports.
> 
> This patch supports the new configuration by allowing a PF scan with
> empty switch ports.
> 
> Signed-off-by: Xueming Li <xuemingl at nvidia.com>
> Signed-off-by: Jiawei Wang <jiaweiw at nvidia.com>

Not sure why it never got merged but looks fine.

Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the dev mailing list