net/i40e: fix validation when deleting MAC address
authorJingjing Wu <jingjing.wu@intel.com>
Mon, 23 Jan 2017 09:42:44 +0000 (17:42 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 30 Jan 2017 21:18:26 +0000 (22:18 +0100)
commitae9b07ec9354abdc71bc695e4baf9a13c871ff0b
treeff0df19b212d43374f2cf22baab3ad37a7455c32
parent679fe2e4262add3e92a043b7fe6e738c7339394b
net/i40e: fix validation when deleting MAC address

When VF sends request to remove MAC address, PF host will check
if it is a non-zero or unicast address. When VF remove a multicast
address, it will report error.
This patch fixes this issue.

Fixes: ec852c94af39 ("net/i40e: enhance sanity check of MAC")
Cc: stable@dpdk.org
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_pf.c