]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfdb1ea422a17403252a16a2837617c690a54938a
treecac1cc1b91a074ac0129bb620716fb57cfeae6e0
parente35ea9e47a02be50153f823769209ebe671843bf
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