From: Andrew Rybchenko Date: Wed, 19 Dec 2018 06:22:59 +0000 (+0000) Subject: ethdev: advertise default MAC as retained on restart X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8010be2a12e7dd98d690040ccacd08d5de23a05b;p=dpdk.git 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 Acked-by: Thomas Monjalon --- diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index 4a97af3685..b5ecf2541e 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -85,6 +85,7 @@ * - receive mode configuration (promiscuous mode, hardware checksum mode, * RSS/VMDQ settings etc.) * - VLAN filtering configuration + * - default MAC address * - MAC addresses supplied to MAC address array * - flow director filtering mode (but not filtering rules) * - NIC queue statistics mappings