]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_ethdev.c
net/iavf: delete unsupported RSS types
[dpdk.git] / drivers / net / sfc / sfc_ethdev.c
index 6b3c49a284bcc8991edf10b8d33a4fb294face9b..acee3e48e4b13e0b952b621e7373440723125114 100644 (file)
@@ -1030,6 +1030,9 @@ sfc_mac_addr_set(struct rte_eth_dev *dev, struct rte_ether_addr *mac_addr)
 
        sfc_adapter_lock(sa);
 
+       if (rte_is_same_ether_addr(mac_addr, &port->default_mac_addr))
+               goto unlock;
+
        /*
         * Copy the address to the device private data so that
         * it could be recalled in the case of adapter restart.