From patchwork Thu Sep 19 14:15:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Loftus, Ciara" X-Patchwork-Id: 59466 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 382421F042; Thu, 19 Sep 2019 16:17:01 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id AAD381F041 for ; Thu, 19 Sep 2019 16:16:59 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2019 07:16:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,523,1559545200"; d="scan'208";a="271228772" Received: from silpixa00399839.ir.intel.com (HELO localhost.localdomain) ([10.237.223.65]) by orsmga001.jf.intel.com with ESMTP; 19 Sep 2019 07:16:56 -0700 From: Ciara Loftus To: dev@dpdk.org, xiaolong.ye@intel.com, kevin.laatz@intel.com, bruce.richardson@intel.com, ciara.loftus@intel.com Date: Thu, 19 Sep 2019 14:15:17 +0000 Message-Id: <20190919141520.4227-1-ciara.loftus@intel.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 0/3] AF_XDP tx halt fix, IRQ pinning and unaligned 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" This series contains 3 patches for the AF_XDP PMD. They were originally independent patches but are now rolled into this series together. Patch 1: fix Tx halt when no recv packets (Xiaolong Ye) Previous (v1): http://patches.dpdk.org/patch/59044/ Patch 2: support pinning of IRQs Previous (v1): http://patches.dpdk.org/patch/58571/ v2: * Update docs with example usage * Split configure_irqs into multiple smaller functions * Use /sys/class/net//device/driver to get driver string * Implement lookup mechanism for /proc/interrupts string formatting * Use /sys/class/net/ symlink to get pci addr for mlx5 Patch 3: enable support for unaligned umem chunks Previous (v2): http://patches.dpdk.org/patch/58624/ v3: * Fix inconsistent reserve/submit for fill and tx queue addrs * Improve readability by extracting out functions * Coding style fixes The performance of the v3 was measured to be within 5% of the previous zero copy implementation for test cases using a single PMD. For test cases using multiple PMDs the following performance improvement was measured: ports nics pinned Δ old zc 2 2 0 95.21% 2 2 1 211.23% 2 1 0 88.36% 2 1 1 122.86% Ciara Loftus (2): net/af_xdp: support pinning of IRQs net/af_xdp: enable support for unaligned umem chunks Xiaolong Ye (1): net/af_xdp: fix Tx halt when no recv packets doc/guides/nics/af_xdp.rst | 17 +- doc/guides/rel_notes/release_19_11.rst | 11 + drivers/net/af_xdp/rte_eth_af_xdp.c | 744 ++++++++++++++++++++++--- 3 files changed, 685 insertions(+), 87 deletions(-)