net: add rte prefix to ether defines
[dpdk.git] / drivers / bus / dpaa / base / fman / fman.c
index bdb7004..dfa7e30 100644 (file)
@@ -313,7 +313,7 @@ fman_if_init(const struct device_node *dpa_node)
                         mname);
                goto err;
        }
-       memcpy(&__if->__if.mac_addr, mac_addr, ETHER_ADDR_LEN);
+       memcpy(&__if->__if.mac_addr, mac_addr, RTE_ETHER_ADDR_LEN);
 
        /* Extract the Tx port (it's the second of the two port handles)
         * and get its channel ID