Message ID | 1593612946-11520-1-git-send-email-radu.nicolau@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 073A2A0350; Wed, 1 Jul 2020 16:16:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E3ED01BED7; Wed, 1 Jul 2020 16:16:15 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id B0DE01B13C for <dev@dpdk.org>; Wed, 1 Jul 2020 16:16:12 +0200 (CEST) IronPort-SDR: KYfeN2h/axzLSBIGpLgDDlCkstrBtOZlbj4+3DbzJN9KS6y0htfciMxg0BYC/eOkWtoie5Vx/r d+KrSNwqwpRg== X-IronPort-AV: E=McAfee;i="6000,8403,9668"; a="211636161" X-IronPort-AV: E=Sophos;i="5.75,300,1589266800"; d="scan'208";a="211636161" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2020 07:16:02 -0700 IronPort-SDR: mmTJzz+TTFQ5MPtvjXCCbNlSclW/EIIsbXSqRxp17zSVzmqFsd2e6e6HRkIjsRYQOY5aC2o4OV xr3JBVHwpv2Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,300,1589266800"; d="scan'208";a="312704913" Received: from silpixa00383879.ir.intel.com ([10.237.222.142]) by orsmga008.jf.intel.com with ESMTP; 01 Jul 2020 07:16:00 -0700 From: Radu Nicolau <radu.nicolau@intel.com> To: dev@dpdk.org Cc: beilei.xing@intel.com, jia.guo@intel.com, bruce.richardson@intel.com, konstantin.ananyev@intel.com, jerinjacobk@gmail.com, Radu Nicolau <radu.nicolau@intel.com> Date: Wed, 1 Jul 2020 15:15:44 +0100 Message-Id: <1593612946-11520-1-git-send-email-radu.nicolau@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1591870283-7776-1-git-send-email-radu.nicolau@intel.com> References: <1591870283-7776-1-git-send-email-radu.nicolau@intel.com> Subject: [dpdk-dev] [PATCH v3 0/2] eal: add WC store functions 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> |
Series |
eal: add WC store functions
|
|
Message
Radu Nicolau
July 1, 2020, 2:15 p.m. UTC
Implement 2 new functions that will enable write combining stores depending on architecture. The functions are provided as a generic stub and a x86 specific implementation. The reason to implement these functions is to improve performance by reducing the overhead associated with regular mmio writes when updating the hardware queue tails and doorbells. With this patch set the I40E PMD is updated to use the write combining store functions with other PMDs to follow. Radu Nicolau (2): eal: add WC store functions net/i40e: use WC store to update queue tail registers drivers/net/i40e/base/i40e_osdep.h | 6 ++++ drivers/net/i40e/i40e_rxtx.c | 8 ++--- drivers/net/i40e/i40e_rxtx_vec_avx2.c | 4 +-- drivers/net/i40e/i40e_rxtx_vec_sse.c | 4 +-- lib/librte_eal/include/generic/rte_io.h | 47 +++++++++++++++++++++++++++ lib/librte_eal/x86/include/rte_io.h | 56 +++++++++++++++++++++++++++++++++ 6 files changed, 117 insertions(+), 8 deletions(-)