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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 3 Dec 2015 10:32:10 +0000 (02:32 -0800)
commit0f079d22834ac0529413bdee5b5aa52485942162
tree65ae1277c7e66a84b6f3ad7f918f3d0135ee4eab
parentc9f53e63c2089d8154900ed06da0aa7be9f74201
ixgbe: Use __dev_uc_sync and __dev_uc_unsync for unicast addresses

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>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c