]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: don't add zero MAC filter
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 19 Nov 2015 19:34:17 +0000 (11:34 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:36:36 +0000 (08:36 -0800)
commit8d8b97371f704cf206fce8a1283fecd3fdc13e11
treeb1fb9d24caf84c91f84a1cf7f2ccdda55974643f
parent95ec1af52d21b48228607af92535838659e8ff50
i40e: don't add zero MAC filter

Orabug: 22342532

When VFs are created, the MAC address defaults to all zeros, indicating
to the VF driver that it should use a random MAC address. However, the
PF driver was incorrectly adding this zero MAC to the filter table,
along with the VF's randomly generated MAC address.

Check for a good address before adding the default filter. While we're
at it, make the error message a bit more useful.

Change-ID: Ia100947d68140e0f73a19ba755cbffc3e79a8fcf
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit b7b713a8eaf325607d37229f024ad0b9f3e7f320)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c