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 7A54FA04B1; Mon, 7 Sep 2020 18:40:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5CFF11C0CF; Mon, 7 Sep 2020 18:40:27 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 920BF1B9B7 for ; Mon, 7 Sep 2020 18:40:25 +0200 (CEST) IronPort-SDR: r85zR4pb5OV6IhBa8DQwLbNlcjRtgc8EpQs2h/PPmUdLMHMX+/UhGqV72+YdvDvHd/XPA/iny/ PHk6g41xh+XQ== X-IronPort-AV: E=McAfee;i="6000,8403,9737"; a="158999423" X-IronPort-AV: E=Sophos;i="5.76,402,1592895600"; d="scan'208";a="158999423" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2020 09:40:24 -0700 IronPort-SDR: 3ZiD9TYgPyICQGdMN4T1hlIsLJmFZiUns7wD7Que0yMmDs4iDgElzTEQDVFvPiQEOpZhFQYzCN AsFBbSeX8huA== X-IronPort-AV: E=Sophos;i="5.76,402,1592895600"; d="scan'208";a="479693918" Received: from silpixa00399839.ir.intel.com (HELO localhost.localdomain) ([10.237.222.142]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2020 09:40:23 -0700 From: Ciara Loftus To: dev@dpdk.org Cc: Ciara Loftus Date: Mon, 7 Sep 2020 16:16:05 +0000 Message-Id: <20200907161606.10200-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 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 | 10 + drivers/net/af_xdp/meson.build | 4 + drivers/net/af_xdp/rte_eth_af_xdp.c | 307 ++++++++++++++++++++++------ 4 files changed, 260 insertions(+), 67 deletions(-) create mode 100644 drivers/net/af_xdp/compat.h -- 2.17.1