bnxt_en: Setup uc_list mac filters after resetting the chip.
authorMichael Chan <mchan@broadcom.com>
Wed, 2 Dec 2015 06:54:08 +0000 (01:54 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 20:07:13 +0000 (15:07 -0500)
commitb664f008b0d885db1d5617ed1c51d29a8c04da93
treecac1cc1b91a074ac0129bb620716fb57cfeae6e0
parentbdd4347b33f480187b44699cf1caac9400496d6d
bnxt_en: Setup uc_list mac filters after resetting the chip.

Call bnxt_cfg_rx_mode() in bnxt_init_chip() to setup uc_list and
mc_list mac address filters.  Before the patch, uc_list is not
setup again after chip reset (such as ethtool ring size change)
and macvlans don't work any more after that.

Modify bnxt_cfg_rx_mode() to return error codes appropriately so
that the init chip sequence can detect any failures.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c