From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [memnic PATCH 3/7] pmd: use helper macros Date: Wed, 24 Sep 2014 17:14:58 +0200 Message-ID: <2846511.VthLZyxgb4@xps13> References: <7F861DC0615E0C47A872E6F3C5FCDDBD011A9915@BPXM14GP.gisp.nec.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org, Hayato Momma To: Hiroshi Shimamoto Return-path: In-Reply-To: <7F861DC0615E0C47A872E6F3C5FCDDBD011A9915-ZmjkEB1lVlLt6d3pZDjeaEtBU8KWyXPq@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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