From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=0yEb7AW6j7cBmS5L2HAgi9jCiVraEMtMk7x0Pmv4qvA=; b=hKcgs5vGBfkXIAulJjpzWpUvWIJsIu9mwDlsPvkVIikhf6LwlfbGyQHCeTLmm23j71 T8DbtCpEDp3PZNxTCtseQJuk8suczZbGAsfvoNMer3JnEuETppaIzsXcEX6Lja6WEGLz sc9Mkp/F76VvizSQSmudXDkUTLyWKMPGd68bLE2fzynsSaMMOcWfrd33nMquCclzvsoT PvXAKZZ+zgivbxwy/sXF7e+l/gpzuv41jel3pfEpPufvP5ox34TkydVmtj6GsStEf2YU EDWElVr23fU2yE8XK8lMQ2y/Eh0L/R518y2cCmZlER2JtQasMUoOuc2iWRl10XvZKlGv pIEg== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=0yEb7AW6j7cBmS5L2HAgi9jCiVraEMtMk7x0Pmv4qvA=; b=JSEcxCu5bptPA/5KgUYd7NCiJkE61XDntf6zP2Wlq9cPtIqRNw3Z3ky0l8PcN7+BK+ 7Hl9N/4Dr0nL6we5xBx3rKym5+r1zlenQSSaC5zsX5dHDBHyLoTAaXgP771hJtNDjhs9 JmRKTj1NXpq2HoYaBz698ok9pyV3jKpfSuo4OgWHT/pr2jNxJYgZti7jWofu1uZgEp6X +kc75g0vroZm+wCVUAV0RmIIXkpxmi66iv2MR/UvpBMIhCGcA4434ghr7XcF1j18h04L m676gCt2YcC/PTczlsK+W5jyy24HoW9hCcNHPHcFwUfmF8s6+ZkJl50L/mkGfbFJfCRo VXUQ== X-Gm-Message-State: ABUngvcCpMZ5ieTrGf5l0qNjCJFNDp8bNvN7W0Lf/dLWz5g9AP7OvNIKsaACQvW5i1Y268VN X-Received: by 10.194.64.36 with SMTP id l4mr19816386wjs.163.1477407270968; Tue, 25 Oct 2016 07:54:30 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id a7sm25472946wjj.22.2016.10.25.07.54.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Oct 2016 07:54:30 -0700 (PDT) From: Thomas Monjalon To: "Ramia, Kannan Babu" Cc: dev@dpdk.org, Olivier Matz , Morten =?ISO-8859-1?Q?Br=F8rup?= , "Ananyev, Konstantin" , "Richardson, Bruce" , "Wiles, Keith" Date: Tue, 25 Oct 2016 16:54:29 +0200 Message-ID: <2356525.jla7534a8z@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <682698A055A0F44AA47192B2014114976258DC35@BGSMSX102.gar.corp.intel.com> References: <98CBD80474FA8B44BF855DF32C47DC359EA8B1@smartserver.smartshare.dk> <2277634.HujMj1Cctl@xps13> <682698A055A0F44AA47192B2014114976258DC35@BGSMSX102.gar.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Subject: Re: [dpdk-dev] mbuf changes 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: Tue, 25 Oct 2016 14:54:31 -0000 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