i40evf: add MAC address filter in open, not init
authorMitch Williams <mitch.a.williams@intel.com>
Mon, 27 Apr 2015 18:57:17 +0000 (14:57 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 15 Jul 2015 01:26:42 +0000 (18:26 -0700)
commit44151cd32deb1074530f3beba51d535fa0887d9a
tree52aec0145a9d025a72b20800c70477b274db22b9
parent68ef169204e3a88ea4823645038d5496f66200f6
i40evf: add MAC address filter in open, not init

During close, all of the MAC filters are cleared, so the driver would be
unable to receive unicast packets after being closed and reopened.

Add the adapter's "hardware" MAC address filter in open, not init. This
ensures that the correct filter is present each time.

Change-ID: I51a11e9c1200139dab6f66a5353bd38c7d26f875
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c