> On Dec 6, 2018, at 12:09 AM, Stephen Hemminger <step...@networkplumber.org> > wrote: > > On Thu, 6 Dec 2018 11:45:22 +0800 > "bai bakari" <912873...@qq.com> wrote: > >> when i send packets using dpdk-pktgen, i found: >> ip_len = 46 >> ip_header_len = 20 >> but the tcp_header_len=(tcp_hdr->data_off << 2)=0, >> and (payload - (uint8_t *)ipv4_hdr) = 340 > ip_len. > > > dpdk pktgen sends UDP not TCP. Not sure I understand this statement Pktgen can send UDP or TCP, it depends on the configuration. Does your statement mean Pktgen has a bug or what ? Regards, Keith
- [dpdk-dev] About the data payload of rte_mbuf? bai bakari
- Re: [dpdk-dev] About the data payload of rte_mbuf? Varghese, Vipin
- Re: [dpdk-dev] About the data payload of rte_mb... bai bakari
- Re: [dpdk-dev] About the data payload of rt... Varghese, Vipin
- Re: [dpdk-dev] About the data payload of rte_mbuf? Shyam Shrivastav
- Re: [dpdk-dev] About the data payload of rte_mb... Shyam Shrivastav
- Re: [dpdk-dev] About the data payload of rte_mbuf? Stephen Hemminger
- Re: [dpdk-dev] About the data payload of rte_mb... Wiles, Keith
- Re: [dpdk-dev] About the data payload of rt... Stephen Hemminger