]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Use __dev_uc_sync and __dev_uc_unsync for unicast addresses
authorAlexander Duyck <aduyck@mirantis.com>
Thu, 22 Oct 2015 23:26:36 +0000 (16:26 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:40:16 +0000 (16:40 -0700)
commit70ac8fe043e25506300fd164efcfeae5eade980e
treee5eb41e3bee40f5b2264f61d5c778c16e199910a
parent0884a0d32866b4c0f8ebf3a1c3122e5465549874
ixgbe: Use __dev_uc_sync and __dev_uc_unsync for unicast addresses

Orabug: 23177316

This change replaces the ixgbe_write_uc_addr_list call in ixgbe_set_rx_mode
with a call to __dev_uc_sync instead.  This works much better with the MAC
addr list code that was already in place and solves an issue in which you
couldn't remove an FDB address without having to reset the port.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Darin Miller <darin.j.miller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 0f079d22834ac0529413bdee5b5aa52485942162)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c