]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 3 Dec 2015 10:32:10 +0000 (02:32 -0800)
commit698bc211aed55c553446dc04c867208d74155c3b
tree65ae1277c7e66a84b6f3ad7f918f3d0135ee4eab
parent87370f406a40718d0d3cb1d8b96eb9c2553f0ee5
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