Hello everyone, I think there is a bug in rte_eth_dev_config_restore function. During restoration of MAC address configuration, all MAC addresses are restored with mac_addr_add function, but as I think MAC address with index 0 shouldn't be restored in such way, because it is a default MAC address.
This problem can be solved in two ways: 1. Just call mac_addr_set instead of mac_addr_add for index 0. 2. Don't restore address with index 0 at all and let driver do it. I think the second option is the right one, because: 1. Some drivers don't support mac_addr_set at all, it means that we must not touch it. 2. Some drivers already support restoration of default MAC address. For example, look at the ixgbe "ixgbe_init_rx_addrs_generic" function. It restores default MAC address if it was overridden by user. All that we have to do is to rewrite hw->mac.addr in mac_addr_set function. Best regards, Igor