This is a note to let you know that I've just added the patch titled bnx2x: Fix enabling network interfaces without VFs to the 4.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: bnx2x-fix-enabling-network-interfaces-without-vfs.patch and it can be found in the queue-4.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 52ce14c134a003fee03d8fc57442c05a55b53715 Mon Sep 17 00:00:00 2001 From: Adrian Bunk <bunk@xxxxxxxxxx> Date: Sun, 12 Sep 2021 22:05:23 +0300 Subject: bnx2x: Fix enabling network interfaces without VFs From: Adrian Bunk <bunk@xxxxxxxxxx> commit 52ce14c134a003fee03d8fc57442c05a55b53715 upstream. This function is called to enable SR-IOV when available, not enabling interfaces without VFs was a regression. Fixes: 65161c35554f ("bnx2x: Fix missing error code in bnx2x_iov_init_one()") Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx> Reported-by: YunQiang Su <wzssyqa@xxxxxxxxx> Tested-by: YunQiang Su <wzssyqa@xxxxxxxxx> Cc: stable@xxxxxxxxxxxxxxx Acked-by: Shai Malin <smalin@xxxxxxxxxxx> Link: https://lore.kernel.org/r/20210912190523.27991-1-bunk@xxxxxxxxxx Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c @@ -1246,7 +1246,7 @@ int bnx2x_iov_init_one(struct bnx2x *bp, /* SR-IOV capability was enabled but there are no VFs*/ if (iov->total == 0) { - err = -EINVAL; + err = 0; goto failed; } Patches currently in stable-queue which might be from bunk@xxxxxxxxxx are queue-4.4/bnx2x-fix-enabling-network-interfaces-without-vfs.patch