net/i40e: enhance sanity check of MAC
authorChen Jing D(Mark) <jing.d.chen@intel.com>
Tue, 17 Jan 2017 08:45:26 +0000 (16:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:46:25 +0000 (19:46 +0100)
commitec852c94af39bf384fde9a9addcaa8294466ddcb
tree2718c0af1f827fcb318b57503165c6dbf6839a1d
parentf1b2e0ef61188ee08e7dac15af145dd836d2476c
net/i40e: enhance sanity check of MAC

When VF sends request to add a new MAC address, PF host
will check if it's a non-zero or unicast address, or it
will return with error. In fact, VF still can set multicast
address. This change remove to check if it's a unicast
address.

Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Vincent Jardin <vincent.jardin@6wind.com>
drivers/net/i40e/i40e_pf.c