From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: mbuf changes Date: Tue, 25 Oct 2016 16:54:29 +0200 Message-ID: <2356525.jla7534a8z@xps13> References: <98CBD80474FA8B44BF855DF32C47DC359EA8B1@smartserver.smartshare.dk> <2277634.HujMj1Cctl@xps13> <682698A055A0F44AA47192B2014114976258DC35@BGSMSX102.gar.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, Olivier Matz , Morten =?ISO-8859-1?Q?Br=F8rup?= , "Ananyev, Konstantin" , "Richardson, Bruce" , "Wiles, Keith" To: "Ramia, Kannan Babu" Return-path: Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by dpdk.org (Postfix) with ESMTP id 6E2D22934 for ; Tue, 25 Oct 2016 16:54:31 +0200 (CEST) Received: by mail-lf0-f52.google.com with SMTP id m193so16114599lfm.4 for ; Tue, 25 Oct 2016 07:54:31 -0700 (PDT) In-Reply-To: <682698A055A0F44AA47192B2014114976258DC35@BGSMSX102.gar.corp.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-10-25 14:32, Ramia, Kannan Babu: > I didn't get your question. The only information exchanged between th= e stages is mbuf pointer. So the information has to be in mbuf, whether= it's part of Meta or in private area in the packet buffer headroom is = that the question you are asking. The private area is application speci= fic, while I am looking for the port information getting updated from d= river to application and it's generic to multiple applications.=20 Thanks, your answer is perfect (except it is top-posted ;) The discussion is more about performance. So you agree that the port information is not performance sensitive. It appears that it could be an information filled in a private area at app-level, because the application knows which port it is polling. However we may need a way to put some generic informations somewhere, not in the first cache lines. > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]=20 > Sent: Tuesday, October 25, 2016 6:54 PM > To: Ramia, Kannan Babu > Cc: dev@dpdk.org; Olivier Matz ; Morten Br=F8= rup ; Ananyev, Konstantin ; Richardson, Bruce ; Wiles, Kei= th > Subject: Re: [dpdk-dev] mbuf changes >=20 > 2016-10-25 13:04, Ramia, Kannan Babu: > > Port filed is important meta information for the application use li= ke=20 > > CGNAT vEPC functions etc. > > I strongly recommend to keep the field in mind meta. >=20 > Have you tried to move this field outside of the mbuf? > What is the performance degradation? > We need more information than some assumptions. >=20