]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/iavf/iavf_ethdev.c
net/mlx5: share Rx queue indirection table code
[dpdk.git] / drivers / net / iavf / iavf_ethdev.c
index 5f3aea8a04e2b228b8eee62e791252f386fcb5df..8e1d8a8d3e92c7f3330204af7648ff4e54dc7473 100644 (file)
@@ -1020,9 +1020,6 @@ iavf_dev_set_default_mac_addr(struct rte_eth_dev *dev,
        old_addr = (struct rte_ether_addr *)hw->mac.addr;
        perm_addr = (struct rte_ether_addr *)hw->mac.perm_addr;
 
        old_addr = (struct rte_ether_addr *)hw->mac.addr;
        perm_addr = (struct rte_ether_addr *)hw->mac.perm_addr;
 
-       if (rte_is_same_ether_addr(mac_addr, old_addr))
-               return 0;
-
        /* If the MAC address is configured by host, skip the setting */
        if (rte_is_valid_assigned_ether_addr(perm_addr))
                return -EPERM;
        /* If the MAC address is configured by host, skip the setting */
        if (rte_is_valid_assigned_ether_addr(perm_addr))
                return -EPERM;