net: add rte prefix to ether functions
[dpdk.git] / app / test / test_link_bonding.c
index 2527671..00ddb0e 100644 (file)
@@ -4482,7 +4482,7 @@ test_alb_change_mac_in_reply_sent(void)
                                MAX_PKT_BURST);
        }
 
-       ether_addr_copy(
+       rte_ether_addr_copy(
                        rte_eth_devices[test_params->bonded_port_id].data->mac_addrs,
                        &bond_mac);
 
@@ -4549,12 +4549,12 @@ test_alb_change_mac_in_reply_sent(void)
                        arp_pkt = (struct rte_arp_hdr *)((char *)eth_pkt + sizeof(struct rte_ether_hdr));
 
                        if (slave_idx%2 == 0) {
-                               if (!is_same_ether_addr(slave_mac1, &arp_pkt->arp_data.arp_sha)) {
+                               if (!rte_is_same_ether_addr(slave_mac1, &arp_pkt->arp_data.arp_sha)) {
                                        retval = -1;
                                        goto test_end;
                                }
                        } else {
-                               if (!is_same_ether_addr(slave_mac2, &arp_pkt->arp_data.arp_sha)) {
+                               if (!rte_is_same_ether_addr(slave_mac2, &arp_pkt->arp_data.arp_sha)) {
                                        retval = -1;
                                        goto test_end;
                                }
@@ -4595,7 +4595,7 @@ test_alb_reply_from_client(void)
                                MAX_PKT_BURST);
        }
 
-       ether_addr_copy(
+       rte_ether_addr_copy(
                        rte_eth_devices[test_params->bonded_port_id].data->mac_addrs,
                        &bond_mac);
 
@@ -4670,12 +4670,12 @@ test_alb_reply_from_client(void)
                        arp_pkt = (struct rte_arp_hdr *)((char *)eth_pkt + sizeof(struct rte_ether_hdr));
 
                        if (slave_idx%2 == 0) {
-                               if (!is_same_ether_addr(slave_mac1, &arp_pkt->arp_data.arp_sha)) {
+                               if (!rte_is_same_ether_addr(slave_mac1, &arp_pkt->arp_data.arp_sha)) {
                                        retval = -1;
                                        goto test_end;
                                }
                        } else {
-                               if (!is_same_ether_addr(slave_mac2, &arp_pkt->arp_data.arp_sha)) {
+                               if (!rte_is_same_ether_addr(slave_mac2, &arp_pkt->arp_data.arp_sha)) {
                                        retval = -1;
                                        goto test_end;
                                }
@@ -4722,7 +4722,7 @@ test_alb_receive_vlan_reply(void)
                                MAX_PKT_BURST);
        }
 
-       ether_addr_copy(
+       rte_ether_addr_copy(
                        rte_eth_devices[test_params->bonded_port_id].data->mac_addrs,
                        &bond_mac);