bnxt_en: Perform function reset earlier during probe.
authorMichael Chan <michael.chan@broadcom.com>
Wed, 8 Mar 2017 23:44:32 +0000 (18:44 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Mar 2017 01:38:31 +0000 (17:38 -0800)
commit3c2217a675bac22afb149166e0de71809189850d
tree8232c869b64724dfee8676d188fac2be06a7fe01
parent6cbac9828627b89487144c1e4448d7e0a6ab22ca
bnxt_en: Perform function reset earlier during probe.

The firmware call to do function reset is done too late.  It is causing
the rings that have been reserved to be freed.  In NPAR mode, this bug
is causing us to run out of rings.

Fixes: 391be5c27364 ("bnxt_en: Implement new scheme to reserve tx 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