]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Setup multicast properly after resetting device.
authorMichael Chan <michael.chan@broadcom.com>
Wed, 4 May 2016 20:56:44 +0000 (16:56 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2016 21:11:38 +0000 (17:11 -0400)
commit49417e84b42a9863537bd7fd7aa5e3f081b92744
tree63af97ab7a1b65bde14299daecc2cd409d4f4df2
parent7b7342c7838a3f96438257519cc74634a11acce0
bnxt_en: Setup multicast properly after resetting device.

The multicast/all-multicast internal flags are not properly restored
after device reset.  This could lead to unreliable multicast operations
after an ethtool configuration change for example.

Call bnxt_mc_list_updated() and setup the vnic->mask in bnxt_init_chip()
to fix the issue.

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