From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 691B7A0613 for ; Fri, 30 Aug 2019 09:47:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 24C9E1E875; Fri, 30 Aug 2019 09:47:39 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 2DFB71E555 for ; Fri, 30 Aug 2019 09:47:36 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Aug 2019 00:47:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,446,1559545200"; d="scan'208";a="381047199" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by fmsmga005.fm.intel.com with ESMTP; 30 Aug 2019 00:47:35 -0700 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX108.ger.corp.intel.com (163.33.3.3) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 30 Aug 2019 08:47:34 +0100 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.187]) by irsmsx155.ger.corp.intel.com ([169.254.14.248]) with mapi id 14.03.0439.000; Fri, 30 Aug 2019 08:47:34 +0100 From: "Loftus, Ciara" To: "dev@dpdk.org" CC: "Ye, Xiaolong" , "Richardson, Bruce" , "Laatz, Kevin" Thread-Topic: [PATCH] net/af_xdp: enable support for unaligned umem chunks Thread-Index: AQHVXnr4Twm2A1sQNkidp5qfGLRRc6cTUG7Q Date: Fri, 30 Aug 2019 07:47:34 +0000 Message-ID: <74F120C019F4A64C9B78E802F6AD4CC2791F6714@IRSMSX106.ger.corp.intel.com> References: <20190829150259.22206-1-ciara.loftus@intel.com> In-Reply-To: <20190829150259.22206-1-ciara.loftus@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmU5YWI0MmEtNzYzNy00NTAxLTgyYmQtNjZhZWMxZDQ4YTk0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNCtIZzduamJ6cnIyczdJMEJnZWZwcXVoMThLMmlCdEpBdXdodUdxbGJSMURoMXRzZm0rVW9IQ1wveEl6c0hrcVwvIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/af_xdp: enable support for unaligned umem chunks 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >=20 > This patch enables the unaligned chunks feature for AF_XDP which allows > chunks to be placed at arbitrary places in the umem, as opposed to them > being required to be aligned to 2k. This allows for DPDK application > mempools to be mapped directly into the umem and in turn enable zero > copy transfer between umem and the PMD. >=20 > This patch replaces the zero copy via external mbuf mechanism introduced = in > commit e9ff8bb71943 ("net/af_xdp: enable zero copy by external mbuf"). > The pmd_zero copy vdev argument is also removed as now the PMD will > auto-detect presence of the unaligned chunks feature and enable it if so = and > otherwise fall back to copy mode if not detected. >=20 > When enabled, this feature significantly improves single-core performance > of the PMD. >=20 > Signed-off-by: Ciara Loftus > Signed-off-by: Kevin Laatz > --- Apologies for omitting this detail from the original mail. Those wishing to try out this feature need to first apply this series which= is currently under review to their kernel tree: https://lore.kernel.org/bpf/20190827022531.15060-1-kevin.laatz@intel.com/T/= #u Thanks, Ciara