From 8010be2a12e7dd98d690040ccacd08d5de23a05b Mon Sep 17 00:00:00 2001 From: Andrew Rybchenko Date: Wed, 19 Dec 2018 06:22:59 +0000 Subject: [PATCH] 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 --- lib/librte_ethdev/rte_ethdev.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.20.1