From patchwork Wed Apr 12 06:48:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhichao Zeng X-Patchwork-Id: 125950 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 3BD5042923; Wed, 12 Apr 2023 08:43:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA63A40FAE; Wed, 12 Apr 2023 08:43:21 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id C295E4067B for ; Wed, 12 Apr 2023 08:43:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681281799; x=1712817799; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=YwpoGnljMtQvrVrcnGs5OMQBoDOHjySPrqcCETCrylg=; b=UXszHrcPlmCxqIgjTVRwiaRLfxWG8+umDi4DlPVX3ej22lDAbjuVT1QR CQc27QTZGGH/Jpyb4gDIFpScYPzYQAe6eHmn8E31FcEdmygIT3EWiMyof hA1DWCBC7ywbcpHL+6n/+OzKbyJNsdz+6fncsv/UgD4PE5XgKuMCP7ogp umMmsYFl4xCbvI+haLcAw9htyHZT4FkETb1AT9txSdFMBeeN7MJOqYvE+ 2ZR7e/TdPzdyqClRxK89qoGougKjaAnuH0VtKN/7oPs7MKSMAetMYRGuU bl3QzImv0tp6NGumK25tnFKH9qG8Y/6W+xnci59Tv5KM5BnEULOkOEfSg A==; X-IronPort-AV: E=McAfee;i="6600,9927,10677"; a="406646179" X-IronPort-AV: E=Sophos;i="5.98,338,1673942400"; d="scan'208";a="406646179" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2023 23:43:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10677"; a="1018630679" X-IronPort-AV: E=Sophos;i="5.98,338,1673942400"; d="scan'208";a="1018630679" Received: from unknown (HELO localhost.localdomain) ([10.239.252.103]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2023 23:43:16 -0700 From: Zhichao Zeng To: dev@dpdk.org Cc: qi.z.zhang@intel.com, yaqi.tang@intel.com, yingyax.han@intel.com, Zhichao Zeng Subject: [PATCH v2 0/3] Enable iavf Rx Timestamp offload on vector path Date: Wed, 12 Apr 2023 14:48:33 +0800 Message-Id: <20230412064833.3352272-1-zhichaox.zeng@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230410073501.2492459-1-zhichaox.zeng@intel.com> References: <20230410073501.2492459-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 Enable timestamp offload with the command '--enable-rx-timestamp', pay attention that getting Rx timestamp offload will drop the performance. --- 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 | 193 ++++++++++++++++++++++- drivers/net/iavf/iavf_rxtx_vec_avx512.c | 199 +++++++++++++++++++++++- drivers/net/iavf/iavf_rxtx_vec_common.h | 3 - drivers/net/iavf/iavf_rxtx_vec_sse.c | 159 ++++++++++++++++++- 5 files changed, 540 insertions(+), 17 deletions(-)