]> 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)
commit2f0d4635a7f1a606edc98e0ae24691b01f2a3a7d
treebfbd6cb2e05d4274ffda9796609c98645016e89d
parent047bf643183793aa1eaa7d199e3c6d3907f22f6c
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