From patchwork Fri May 26 02:41:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhichao Zeng X-Patchwork-Id: 127517 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 D555042BA3; Fri, 26 May 2023 04:35:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CA69640A89; Fri, 26 May 2023 04:35:35 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 716E040A87 for ; Fri, 26 May 2023 04:35: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=1685068534; x=1716604534; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=JKfRjm0t5rTSE8hDJrFG4SWpzgV/S9AC4GK+1pK5Dmc=; b=RUc5JhcydD5FkpOxAPzLvvOggetWPCP6QOQhQgiBxXwA+HVaZ12g87y8 hJbUEVveEpTZPrBwmihZn1ktTSiZEE1X6yFAC/VOq7KCiLE1BDzedpzKV Hnn3CSQafsn8e/J/m4vKqh22dSFTkIkmc7XYraj3k5Mrr9DUM4kdO0oej balyVdsEkoq9bmpw83AGlMhU9zlepd4SDq7Pc2lao1Qjr4INy7j924/Fo eJB5DNImqgVoRWDMd0JXTLiU55B/tV/1daiUQPnYnNjmLqaZnDfgdotJC 0NLnbtkvAbpDEfcpZSuHHt3Kynlc/YIWPDmWCsbLX9JKEDuu8VrToRyIl w==; X-IronPort-AV: E=McAfee;i="6600,9927,10721"; a="440447462" X-IronPort-AV: E=Sophos;i="6.00,192,1681196400"; d="scan'208";a="440447462" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2023 19:35:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10721"; a="774925906" X-IronPort-AV: E=Sophos;i="6.00,192,1681196400"; d="scan'208";a="774925906" Received: from unknown (HELO zhichao-dpdk..) ([10.239.252.103]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2023 19:35:31 -0700 From: Zhichao Zeng To: dev@dpdk.org Cc: qi.z.zhang@intel.com, yaqi.tang@intel.com, Zhichao Zeng Subject: [PATCH v4 0/3] Enable iavf Rx Timestamp offload on vector path Date: Fri, 26 May 2023 10:41:17 +0800 Message-Id: <20230526024117.2574357-1-zhichaox.zeng@intel.com> X-Mailer: git-send-email 2.34.1 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. --- v4: rework avx2 patch base 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 | 186 +++++++++++++++++++++- drivers/net/iavf/iavf_rxtx_vec_avx512.c | 203 +++++++++++++++++++++++- drivers/net/iavf/iavf_rxtx_vec_common.h | 3 - drivers/net/iavf/iavf_rxtx_vec_sse.c | 161 ++++++++++++++++++- 5 files changed, 539 insertions(+), 17 deletions(-)