[v3,0/1] net/af_xdp: shared UMEM support
Message ID | 20200923073439.12485-1-ciara.loftus@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org 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 <dev@dpdk.org>; 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 <ciara.loftus@intel.com> To: dev@dpdk.org Cc: ferruh.yigit@intel.com, Ciara Loftus <ciara.loftus@intel.com> 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Loftus, Ciara
Sept. 23, 2020, 7:34 a.m. UTC
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