]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Add new function bnxt_reset().
authorMichael Chan <michael.chan@broadcom.com>
Mon, 13 Jun 2016 06:25:29 +0000 (02:25 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 00:37:27 +0000 (17:37 -0700)
commitadba599ac554fd03c8b3734159b1e13801add51a
tree04a31c9f242524f71023948def1c51d4a688e28d
parent80c3e4e1f848543879a253cd28b8446ad6e5442c
bnxt_en: Add new function bnxt_reset().

Orabug: 23221795

When a default VLAN is added to the VF, the VF driver needs to reset to
pick up the default VLAN ID.  We can use the same tx timeout reset logic
to do that, without the debug output.  This new function, with the
silent parameter to suppress debug output will now serve both purposes.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 6988bd920c6ea53497ed15db947408b7488c9e36)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c