[dpdk-dev] About the data payload of rte_mbuf?

Stephen Hemminger stephen at networkplumber.org
Thu Dec 6 08:09:14 CET 2018


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.


More information about the dev mailing list