On Thu, 6 Dec 2018 15:17:19 +0000 "Wiles, Keith" <keith.wi...@intel.com> wrote:
> > 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 > I just wanted to make sure that user had configured TCP, and not UDP>