From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 170E16896 for ; Wed, 24 Sep 2014 17:08:53 +0200 (CEST) Received: by mail-wg0-f51.google.com with SMTP id z12so2543324wgg.10 for ; Wed, 24 Sep 2014 08:15:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=XlybWir89ZIhHMgWbFRLhrL+qGAi2vOyeHnYTLyVOOQ=; b=fbwLIbe3HIub4yjYuvL1WHSlZYB7PgsbzPKHro7iDDzLTpjpDc3JX8oO85sql1nwgC 07s+xTvfJqPYtrbbpDquoEEmUT/lXVzWLlp6ndrx7vojfbXgU+4aqi+ilfnuTHCXdu8s n8R+JtDWBWLAIosbdz4n46wJsNltCyHUZ4TtH8Gv6GMuP0iQ/oCTpNQbeCJHQZDAGJeh 9oQZ4vqWwYPkvaLH+vAqoQaNNqYJcPCrogXgwZpnEPmDmkfDnWPthgrSxh5Sy9jXczLg tYQwfUXaDTjiPeQTQnkg7ChuBvYl/QvcDJhG5LhlxD3WOmdKDE4SX3XH5W+hcEvAwxt8 IKVg== X-Gm-Message-State: ALoCoQky7Ax2N0LD6ZmF6t/4N6qFmcKToINKH3D/GI+c7UgD/bnTDHa0y12h50D5LUi6goZrbL8u X-Received: by 10.180.104.7 with SMTP id ga7mr12384664wib.36.1411571706559; Wed, 24 Sep 2014 08:15:06 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id y15sm9732wib.20.2014.09.24.08.15.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Sep 2014 08:15:05 -0700 (PDT) From: Thomas Monjalon To: Hiroshi Shimamoto Date: Wed, 24 Sep 2014 17:14:58 +0200 Message-ID: <2846511.VthLZyxgb4@xps13> Organization: 6WIND User-Agent: KMail/4.13.3 (Linux/3.15.8-1-ARCH; KDE/4.13.3; x86_64; ; ) In-Reply-To: <7F861DC0615E0C47A872E6F3C5FCDDBD011A9915@BPXM14GP.gisp.nec.co.jp> References: <7F861DC0615E0C47A872E6F3C5FCDDBD011A9915@BPXM14GP.gisp.nec.co.jp> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Hayato Momma Subject: Re: [dpdk-dev] [memnic PATCH 3/7] pmd: use helper macros X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 15:08:53 -0000 2014-09-11 07:47, Hiroshi Shimamoto: > Do not touch pktmbuf directly. > > Instead of direct access, use rte_pktmbuf_pkt_len() and rte_pktmbuf_data_len() > to access the property. I guess this change is for compatibility with DPDK 1.8. Does it have an impact on performance? -- Thomas