[dpdk-dev] About the data payload of rte_mbuf?
stephen at networkplumber.org
Thu Dec 6 18:22:25 CET 2018
On Thu, 6 Dec 2018 15:17:19 +0000
"Wiles, Keith" <keith.wiles at intel.com> wrote:
> > On Dec 6, 2018, at 12:09 AM, Stephen Hemminger <stephen at networkplumber.org> wrote:
> > On Thu, 6 Dec 2018 11:45:22 +0800
> > "bai bakari" <912873551 at 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 ?
I just wanted to make sure that user had configured TCP, and not UDP>
More information about the dev