On Wed, 11 Oct 2023 09:41:53 +0300 Jiawei Wang <[email protected]> wrote:
> From: Xueming Li <[email protected]> > > 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 <[email protected]> > Signed-off-by: Jiawei Wang <[email protected]> Not sure why it never got merged but looks fine. Acked-by: Stephen Hemminger <[email protected]>

