net/enic: add primary MAC address handler
authorDavid Marchand <david.marchand@6wind.com>
Mon, 16 Apr 2018 09:40:17 +0000 (11:40 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 14:54:55 +0000 (15:54 +0100)
commit740f5bf17642c5fe166fd328b0374e75982f19b1
tree28be7794d3b5806047b0cf8502cecbd322eb6e69
parent2fe669f4bcd2d3ed4fd165a721c0af749f23b2c9
net/enic: add primary MAC address handler

Modified enic_del_mac_address() to get a return value from the vnic layer.
Reused the .mac_addr_add and .mac_addr_del callbacks code to implement
primary mac address handler.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Hyong Youb Kim <hyonkim@cisco.com>
drivers/net/enic/enic.h
drivers/net/enic/enic_ethdev.c
drivers/net/enic/enic_main.c