From patchwork Wed Jun 14 01:49:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhichao Zeng X-Patchwork-Id: 128642 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D198D42CB0; Wed, 14 Jun 2023 03:43:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 783CE40E0F; Wed, 14 Jun 2023 03:43:37 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 27AC340DDB for ; Wed, 14 Jun 2023 03:43:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686707015; x=1718243015; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3Vm6tSjaalutEA96VKOxmJJYxRMPGTUEocq+Bi5GxaU=; b=RRHLuwQuIAfQZF5XjMw/qmylTOU1TKCjLWj66QfZBso1KhVX9QDFEJzJ IpkG8h2agFCIW20bTJPk2YeXNIH1un30K8Capi/HBxLR16MnMAqiUBj6i UKaAwIdEKjmHcXvf7DsW0RbNmE5UPji0B7tmba+Gq/L50hZiqaelLdMTy UBPjcXaXSQF6DAomNNtxnccGpz6d3vduX9aS6vV/jeoRiZBoPygNrCyhG wYkt92soHFieTa74MQY6XcXh/0MVNoZ5aqUhcqJLmE7vle3rW1JCg9v3t 3HOTOR9IUTXgeKVyQnn0j8yEFBg6dUtBVExGsxcIzLvFAvZ/XBLznzeDt g==; X-IronPort-AV: E=McAfee;i="6600,9927,10740"; a="422095112" X-IronPort-AV: E=Sophos;i="6.00,241,1681196400"; d="scan'208";a="422095112" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2023 18:43:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10740"; a="741655329" X-IronPort-AV: E=Sophos;i="6.00,241,1681196400"; d="scan'208";a="741655329" Received: from unknown (HELO zhichao-dpdk..) ([10.239.252.103]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2023 18:43:31 -0700 From: Zhichao Zeng To: dev@dpdk.org Cc: qi.z.zhang@intel.com, yaqi.tang@intel.com, Zhichao Zeng Subject: [PATCH v5 0/3] Enable iavf Rx Timestamp offload on vector path Date: Wed, 14 Jun 2023 09:49:45 +0800 Message-Id: <20230614014948.3495063-1-zhichaox.zeng@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230526095055.2855121-1-zhichaox.zeng@intel.com> References: <20230526095055.2855121-1-zhichaox.zeng@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patch enables Rx timestamp offload on the vector data path. It significantly reduces the performance drop when RTE_ETH_RX_OFFLOAD_TIMESTAMP is enabled. Acked-by: Qi Zhang --- v5: fix CI errors --- v4: rework avx2 patch based on offload path --- v3: logging with driver dedicated macro --- v2: fix compile warning and SSE path Zhichao Zeng (3): net/iavf: support Rx timestamp offload on AVX512 net/iavf: support Rx timestamp offload on AVX2 net/iavf: support Rx timestamp offload on SSE drivers/net/iavf/iavf_rxtx.h | 3 +- drivers/net/iavf/iavf_rxtx_vec_avx2.c | 191 +++++++++++++++++++++- drivers/net/iavf/iavf_rxtx_vec_avx512.c | 208 +++++++++++++++++++++++- drivers/net/iavf/iavf_rxtx_vec_common.h | 3 - drivers/net/iavf/iavf_rxtx_vec_sse.c | 160 +++++++++++++++++- 5 files changed, 549 insertions(+), 16 deletions(-)