]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 00:36:35 +0000 (17:36 -0700)
commit899959a936a4069427d418e3a4a4ffa0d15f7441
tree10ee85e904daa0eca631a984ee0bb3935ac197e9
parentebbf4a465720056b698eb6b5f06a65087ec3d339
bnxt_en: Setup uc_list mac filters after resetting the chip.

Orabug: 23221795

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>
(cherry picked from commit b664f008b0d885db1d5617ed1c51d29a8c04da93)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c