ionic: increment num-vfs before configure
authorShannon Nelson <snelson@pensando.io>
Tue, 27 Jul 2021 17:43:30 +0000 (10:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jul 2021 19:15:21 +0000 (20:15 +0100)
commit73618201acaa17edcf141101af9878d9f16de42a
treee74a0dcc0cb15e75a74a54074cf4f9fb1f1891b4
parente75ccac1d0644c9d7ad531cb9a81c499930c06da
ionic: increment num-vfs before configure

Add the new VF to our internal count before we start configuring it.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c