ethdev: advertise default MAC as retained on restart
authorAndrew Rybchenko <arybchenko@solarflare.com>
Wed, 19 Dec 2018 06:22:59 +0000 (06:22 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
commit8010be2a12e7dd98d690040ccacd08d5de23a05b
treebe99767101bb9076070b60ed5936607a86d41804
parent189f554647f88363f315dd504229bd1958a65d9a
ethdev: advertise default MAC as retained on restart

The documentation says MAC addresses array is retained and
it is logical to assume that default MAC address is retained
as well.

Also some PMDs do not allow to change the default MAC in
running state (see RTE_ETH_DEV_NOLIVE_MAC_ADDR).

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
lib/librte_ethdev/rte_ethdev.h