Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47154C32792 for ; Mon, 30 Sep 2019 16:44:26 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id F304A215EA for ; Mon, 30 Sep 2019 16:44:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F304A215EA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A7A4D1BEDE; Mon, 30 Sep 2019 18:44:24 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 1DB371BED1 for ; Mon, 30 Sep 2019 18:44:21 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Sep 2019 09:44:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,567,1559545200"; d="scan'208";a="190308834" Received: from silpixa00399839.ir.intel.com (HELO localhost.localdomain) ([10.237.223.65]) by fmsmga008.fm.intel.com with ESMTP; 30 Sep 2019 09:44:19 -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: Mon, 30 Sep 2019 16:42:02 +0000 Message-Id: <20190930164205.19419-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 v2 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. Previous: http://mails.dpdk.org/archives/dev/2019-September/143910.html Patch 1: fix Tx halt when no recv packets (Xiaolong Ye) Patch 2: support pinning of IRQs v1 -> v2: * Change enum format to match coding style * Change some variables to const * Re-order arguments in functions * Do not duplicate driver string in generate_search_idx * Check if driver handler function ptr is !NULL before using * Check return value of fwrite * Use rte_memcpy Patch 3: enable support for unaligned umem chunks v1 -> v2: * Take mbuf alloc out of reserve_fill_queue * Free correct mbuf on reserve fail for tx The performance of the new zero copy implementation was measured to be within 5% of the previous zero copy implementation, generally with an improvement observed for single-core (with need wakeup) and multiple-PMD test cases. 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 | 780 ++++++++++++++++++++++--- 3 files changed, 714 insertions(+), 94 deletions(-) -- 2.17.1