On 2015/8/7 17:13, Ouyang, Changchun wrote: > >> [.../...]
>> >> eth_hdr = rte_pktmbuf_mtod(m, struct ether_hdr *); >> + ether_addr_copy(&peer_eth_addrs[fs->peer_addr], >> + ð_hdr->d_addr); >> + ether_addr_copy(&ports[fs->tx_port].eth_addr, >> + ð_hdr->s_addr); >> Is it really necessary? Why other NICs do not need this? >> > Seems the behavior changes from io fwd into mac fwd? Yes, but I think it is no influence for checksum offload. Thanks, Michael >>> parse_ethernet(eth_hdr, &info); >>> l3_hdr = (char *)eth_hdr + info.l2_len; >>> >>> -- >>> 1.9.3 >