X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fgro%2Fgro_vxlan_udp4.c;h=b78a7ae89eefb5ac5fbea8c1f5ce31a842076ebe;hb=99783e212140878153b1abfb65c10c975ca45201;hp=37476361d58e243fa6d417cb667582790c069261;hpb=99a2dd955fba6e4cc23b77d590a033650ced9c45;p=dpdk.git diff --git a/lib/gro/gro_vxlan_udp4.c b/lib/gro/gro_vxlan_udp4.c index 37476361d5..b78a7ae89e 100644 --- a/lib/gro/gro_vxlan_udp4.c +++ b/lib/gro/gro_vxlan_udp4.c @@ -4,7 +4,6 @@ #include #include -#include #include #include @@ -338,16 +337,16 @@ gro_vxlan_udp4_reassemble(struct rte_mbuf *pkt, is_last_frag = ((frag_offset & RTE_IPV4_HDR_MF_FLAG) == 0) ? 1 : 0; frag_offset = (uint16_t)(frag_offset & RTE_IPV4_HDR_OFFSET_MASK) << 3; - rte_ether_addr_copy(&(eth_hdr->s_addr), &(key.inner_key.eth_saddr)); - rte_ether_addr_copy(&(eth_hdr->d_addr), &(key.inner_key.eth_daddr)); + rte_ether_addr_copy(&(eth_hdr->src_addr), &(key.inner_key.eth_saddr)); + rte_ether_addr_copy(&(eth_hdr->dst_addr), &(key.inner_key.eth_daddr)); key.inner_key.ip_src_addr = ipv4_hdr->src_addr; key.inner_key.ip_dst_addr = ipv4_hdr->dst_addr; key.inner_key.ip_id = ip_id; key.vxlan_hdr.vx_flags = vxlan_hdr->vx_flags; key.vxlan_hdr.vx_vni = vxlan_hdr->vx_vni; - rte_ether_addr_copy(&(outer_eth_hdr->s_addr), &(key.outer_eth_saddr)); - rte_ether_addr_copy(&(outer_eth_hdr->d_addr), &(key.outer_eth_daddr)); + rte_ether_addr_copy(&(outer_eth_hdr->src_addr), &(key.outer_eth_saddr)); + rte_ether_addr_copy(&(outer_eth_hdr->dst_addr), &(key.outer_eth_daddr)); key.outer_ip_src_addr = outer_ipv4_hdr->src_addr; key.outer_ip_dst_addr = outer_ipv4_hdr->dst_addr; /* Note: It is unnecessary to save outer_src_port here because it can