]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Fix VNIC reservations on the PF.
authorMichael Chan <michael.chan@broadcom.com>
Fri, 5 Oct 2018 04:26:00 +0000 (00:26 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 04:41:16 +0000 (21:41 -0700)
commit45710f6b9fd1ddff9c7f465c048eda95ec339f1e
tree15aebdb2f14a982d8cc292a3cd80457c83210a4e
parentb80d05cdefa22aafd2e0aaa557d188d6d03c1799
bnxt_en: Fix VNIC reservations on the PF.

The enables bit for VNIC was set wrong when calling the HWRM_FUNC_CFG
firmware call to reserve VNICs.  This has the effect that the firmware
will keep a large number of VNICs for the PF, and having very few for
VFs.  DPDK driver running on the VFs, which requires more VNICs, may not
work properly as a result.

Fixes: ed93eacf7bc9 ("bnxt_en: Implement new method to reserve rings.")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c