i40evf: rework MAC address validation
authorHelin Zhang <helin.zhang@intel.com>
Tue, 8 Mar 2016 06:42:09 +0000 (14:42 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 16:20:17 +0000 (17:20 +0100)
commit89e6b86384bbd85e45180de6b96305b1286857a9
treeb166f0d6fbe3e5aeca641ab9bcf0f9826b640ca1
parent488ecf62714f8946ea436d961086cb8c7b50dbda
i40evf: rework MAC address validation

Use ether API of 'is_valid_assigned_ether_addr' to validate
MAC address.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Zhe Tao <zhe.tao@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c