]> 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)
commitba8f8c9bd0b264e061d91bd5bb90c7762ed2c3d8
tree65ae1277c7e66a84b6f3ad7f918f3d0135ee4eab
parentbd61735542abfcf7c7a1779fd5c1e83e0cacd395
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