From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <912873551@qq.com> Received: from smtpbg64.qq.com (smtpbg64.qq.com [103.7.28.238]) by dpdk.org (Postfix) with ESMTP id C6D82683E for ; Thu, 6 Dec 2018 05:59:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1544072396; bh=ZK4w3o/Mr3y651dB8KfVdRexMp2yCDN+wzAX4QGABs4=; h=In-Reply-To:References:From:To:Cc:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:Date:Message-ID; b=Uk0H3JSpqGperEGViwFP+v2qbRkKeRNz0nMyqZgivtUYmB3W3tIgxojfLFny3Gwfq myPF5HBo9275vGZAnd6L+/he5rT2SQa7wMXBRjWEGSgQ0FQdHyy99dGPNsOPO3/Xvb 4uRgU6uozal/ptGNrWK3wwY88pzr6ZqnIdDbxidE= X-QQ-FEAT: zEy9C1EMlXxLWZBUvpj/n8qVLpVI8HVNHmHPDJ5kfWOd+VxmLznfTc4nG1k9F QOtHlz7ibsRaNJCM0f9yT9dIbF2A7iv5pEeWdfm3xD6UVlu/Yu0/Nnd0QlLNSk5gfKdYfvv kgYZvQVdYe+fI8/N1CnOO/rMzNr9/EQLlFQxXc06/jZ6P7ttKxMHoQ06Gvuuu+xIQBO/Wjx ID4m2YJ2kynSF5MK8NzL1oW4TLgVPWIlndynmhs9RooDGcH5VskP9SwVqlW1i3innjuDBvg GXi41KHI5gLFVg9mVGMmKurjnlfcUbXcc4QQ== X-QQ-SSF: 000000000000001000000000000000Z X-HAS-ATTACH: no X-QQ-BUSINESS-ORIGIN: 2 X-Originating-IP: 210.22.138.27 In-Reply-To: <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D2D40E2@BGSMSX101.gar.corp.intel.com> References: <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D2D40E2@BGSMSX101.gar.corp.intel.com> X-QQ-STYLE: X-QQ-mid: webmail84t1544072395t4043386 From: "=?ISO-8859-1?B?YmFpIGJha2FyaQ==?=" <912873551@qq.com> To: "=?ISO-8859-1?B?VmFyZ2hlc2UsIFZpcGlu?=" Cc: "=?ISO-8859-1?B?ZGV2?=" Mime-Version: 1.0 Date: Thu, 6 Dec 2018 12:59:54 +0800 X-Priority: 3 Message-ID: X-QQ-MIME: TCMime 1.0 by Tencent X-Mailer: QQMail 2.x X-QQ-Mailer: QQMail 2.x X-QQ-ReplyHash: 4152062384 X-QQ-SENDSIZE: 520 Received: from qq.com (unknown [127.0.0.1]) by smtp.qq.com (ESMTP) with SMTP id ; Thu, 06 Dec 2018 12:59:55 +0800 (CST) Feedback-ID: webmail:qq.com:bgweb:bgweb117 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] About the data payload of rte_mbuf? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2018 04:59:59 -0000 SGksIA0KDQoNClRoYW5rIHlvdXIgcmVwbHkuDQoNCg0KRm9yIHlvdXIgdHdvIHF1ZXN0aW9u LCANCjEuIEkgdGhpbmsgaXQncyByaWdodCwgYmVjYXVzZSB0aGUgZGVmaW5pdGlvbiBvZiAi cnRlX3BrdG1idWZfbXRvZF9vZmZzZXQiIGlzOg0KI2RlZmluZSBydGVfcGt0bWJ1Zl9tdG9k X29mZnNldChtLCB0LCBvKQlcDQoJKCh0KSgoY2hhciAqKShtKS0+YnVmX2FkZHIgKyAobSkt PmRhdGFfb2ZmICsgKG8pKSkNCg0KDQoNCjIuIEkgc2V0IHRoZSBwYWNrZXQgdHlwZSBpcyBJ UHY0IHdoZW4gaSB1c2UgZHBkay1wa3RnZW4sIHRoYXQgaWYgY2FuIHByb21pc2UgaXRzIHR5 cGUgaXMgSVB2ND8NCg0KDQotLS0tLS0tLS0t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