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)
commit7d2837dd7a3239e8201d9bef75c1a708e451e123
tree63af97ab7a1b65bde14299daecc2cd409d4f4df2
parent67a95e2022c7f0405408fb1f910283785ece354a
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