net/i40e: fix i40evf MAC filter table
authorDavid Harton <dharton@cisco.com>
Wed, 13 Sep 2017 03:21:10 +0000 (23:21 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:48 +0000 (02:49 +0200)
commit7a4afbad98eddc88216e7ef5cf152c86e2c09fc2
treedefd5c61f2d29ccafaefa936d0fcb9264f3f6aa0
parentd031bff503bac11d8cefed90154441a4bc577d36
net/i40e: fix i40evf MAC filter table

The i40e maintains a single MAC filter table for both
unicast and multicast addresses.  The i40e_validate_mac_addr
function was preventing multicast addresses from being added
to the table via i40evf_add_mac_addr.  Fixed the issue by
adjusting the check in i40evf_add_mac_addr.

Fixes: 4861cde46116 ("i40e: new poll mode driver")
Fixes: 97ac72aa71a9 ("i40e: support setting VF MAC address")
Cc: stable@dpdk.org
Signed-off-by: David Harton <dharton@cisco.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c