X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fnet%2Fbonding%2Frte_eth_bond_alb.c;h=86335a797135d98171656ed186faf2d2eeddea30;hb=38e9762be16a8ff210e4c4e83bae8dfe7fb45984;hp=a1c577b9e4d2a690ce09b8690e756a011a4f2039;hpb=35b2d13fd6fdcbd191f2a30d74648faeb1186c65;p=dpdk.git diff --git a/drivers/net/bonding/rte_eth_bond_alb.c b/drivers/net/bonding/rte_eth_bond_alb.c index a1c577b9e4..86335a7971 100644 --- a/drivers/net/bonding/rte_eth_bond_alb.c +++ b/drivers/net/bonding/rte_eth_bond_alb.c @@ -2,7 +2,7 @@ * Copyright(c) 2010-2015 Intel Corporation */ -#include "rte_eth_bond_private.h" +#include "eth_bond_private.h" #include "rte_eth_bond_alb.h" static inline uint8_t @@ -213,8 +213,8 @@ bond_mode_alb_arp_upd(struct client_data *client_info, rte_spinlock_lock(&internals->mode6.lock); eth_h = rte_pktmbuf_mtod(pkt, struct rte_ether_hdr *); - rte_ether_addr_copy(&client_info->app_mac, ð_h->s_addr); - rte_ether_addr_copy(&client_info->cli_mac, ð_h->d_addr); + rte_ether_addr_copy(&client_info->app_mac, ð_h->src_addr); + rte_ether_addr_copy(&client_info->cli_mac, ð_h->dst_addr); if (client_info->vlan_count > 0) eth_h->ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN); else @@ -233,7 +233,7 @@ bond_mode_alb_arp_upd(struct client_data *client_info, arp_h->arp_data.arp_tip = client_info->cli_ip; arp_h->arp_hardware = rte_cpu_to_be_16(RTE_ARP_HRD_ETHER); - arp_h->arp_protocol = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPv4); + arp_h->arp_protocol = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); arp_h->arp_hlen = RTE_ETHER_ADDR_LEN; arp_h->arp_plen = sizeof(uint32_t); arp_h->arp_opcode = rte_cpu_to_be_16(RTE_ARP_OP_REPLY);