]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jun 2016 23:16:13 +0000 (19:16 -0400)
commitc15b45504caddfaf5b1f0e4c96cb19a888c334d5
treebfbd6cb2e05d4274ffda9796609c98645016e89d
parent624df6af1cdae8fa80ca4c1040fbcad216f7c962
bnxt_en: Add new function bnxt_reset().

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>
drivers/net/ethernet/broadcom/bnxt/bnxt.c