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 63EADA04B1; Wed, 23 Sep 2020 09:59:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 498A11DBEA; Wed, 23 Sep 2020 09:59:49 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 884931BFC6 for ; Wed, 23 Sep 2020 09:59:47 +0200 (CEST) IronPort-SDR: 9outvhY/LqwNIlYKH8zdPohsohSASJpDCtBubH2+FpOYRoXRyendSiDM3i5J6dEgNB9OePGoUJ vtNLH9X4oAcQ== X-IronPort-AV: E=McAfee;i="6000,8403,9752"; a="148482561" X-IronPort-AV: E=Sophos;i="5.77,293,1596524400"; d="scan'208";a="148482561" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2020 00:59:46 -0700 IronPort-SDR: 421nG1YNGLDh2ArRr0L2T1e3FfQ8wOgOa/BNKtOQgfpXOqnAgfaY9z44lHgmAukWjIlGzpjr9d g6b0xU0UEm4g== X-IronPort-AV: E=Sophos;i="5.77,293,1596524400"; d="scan'208";a="454805969" Received: from silpixa00399839.ir.intel.com (HELO localhost.localdomain) ([10.237.222.142]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2020 00:59:45 -0700 From: Ciara Loftus To: dev@dpdk.org Cc: ferruh.yigit@intel.com, Ciara Loftus Date: Wed, 23 Sep 2020 07:34:38 +0000 Message-Id: <20200923073439.12485-1-ciara.loftus@intel.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/1] net/af_xdp: shared UMEM support 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" This patch integrates support for shared UMEMs into the AF_XDP PMD. The feature is currently available in the linux-next tree [1] and should be available in the v5.10 kernel. Detailed information on the shared UMEM feature can be found in the kernel documentation. Support for the kernel feature is detected in DPDK by querying the LINUX_KERNEL_VERSION and ensuring a kernel >= 5.10.0. Since this kernel is not yet released, if one wishes to test this patch now it is suggested to use the aforementioned linux-next tree and modify the version check to align with the version of that tree. Once the kernel is released (~December) this will no longer be necessary. [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=acabf32805f7 Ciara Loftus (1): net/af_xdp: shared UMEM support doc/guides/nics/af_xdp.rst | 6 +- drivers/net/af_xdp/compat.h | 41 ++++ drivers/net/af_xdp/meson.build | 4 + drivers/net/af_xdp/rte_eth_af_xdp.c | 302 ++++++++++++++++++++++------ 4 files changed, 289 insertions(+), 64 deletions(-) create mode 100644 drivers/net/af_xdp/compat.h -- 2.17.1