i40e: support setting VF MAC address
authorJingjing Wu <jingjing.wu@intel.com>
Wed, 9 Mar 2016 08:22:46 +0000 (16:22 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 16:47:55 +0000 (17:47 +0100)
commit97ac72aa71a93d5c9bc5dc3ef1d1a324f38e61c8
tree9ba96cc4a5fe6d27a29d6f56b712e43399318702
parent689bba33272ddf8125c3c4b7a2f5fbcb24558ecf
i40e: support setting VF MAC address

This patch implemented the ops of adding and removing mac
address in i40evf driver. Functions are assigned like:
  .mac_addr_add    =  i40evf_add_mac_addr,
  .mac_addr_remove = i40evf_del_mac_addr,
To support multiple mac addresses setting, this patch also
extended the mac addresses adding and deletion when device
start and stop. Each VF can have a maximum of 64 mac
addresses.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Zhe Tao <zhe.tao@intel.com>
doc/guides/rel_notes/release_16_04.rst
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_ethdev_vf.c