[dpdk-dev] [RFC PATCH 2/3] ethdev: advertise default MAC as retained on device restart

Andrew Rybchenko arybchenko at solarflare.com
Wed Oct 10 11:05:17 CEST 2018


On 10/10/18 11:53 AM, Thomas Monjalon wrote:
> 10/10/2018 09:51, Andrew Rybchenko:
>> The documentation says MAC addresses array is retained and
>> it is logical to assume that default MAC address is retained
>> as well.
> I'm confused. Default MAC address isn't implied by MAC addresses array?

 From API point of view it looks as different features (at least for me):
  - default MAC address is rte_eth_dev_default_mac_addr_set()
  - MAC addresses array is 
rte_eth_dev_mac_addr_add()/rte_eth_dev_mac_addr_remove()
but it is under one umbrella in NIC features (Unicast MAC filter).

May be it is my misunderstanding.



More information about the dev mailing list