From patchwork Thu Apr 27 03:12:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhichao Zeng X-Patchwork-Id: 126562 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 A7255429EF; Thu, 27 Apr 2023 05:07:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8D99642D3B; Thu, 27 Apr 2023 05:07:59 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id B848640F18 for ; Thu, 27 Apr 2023 05:07:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682564877; x=1714100877; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lK+M84YPtcjm5z8WTPd8H9AHnjG2rHerVc4KUzyCx64=; b=oIz9TMDKUOcHvzA6PHmPO1Fz51Z98RVRb/ISXabqJqM/psVBx+WkdWfM +EhTU+mDeQDYMEVm/trSjk+1RW38JBkxhuBfYxw3YDzFg9ODx7F+qIVLh 6CRT05ieU0sFo2YluoD/jqfpk09NFedq4WYpVp3VQ1lXUG73/n58RhU+z kqmwglZlJWyiVKGQ4H5kMsBP9UwzBTj5SFrYSqw3J2iY36FUlznTZW/2/ YC2I1pLQChzSat+7smS3hn2UaLDxMcSzPq2eYPsx34kxNLzJUQ4iW2yGL apV/gC6+2Usa88AhEQICzp/zflpiHPBmr2EUhirIgziZe1uFt0JhUYjZs Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10692"; a="350140022" X-IronPort-AV: E=Sophos;i="5.99,230,1677571200"; d="scan'208";a="350140022" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2023 20:06:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10692"; a="783556650" X-IronPort-AV: E=Sophos;i="5.99,230,1677571200"; d="scan'208";a="783556650" Received: from unknown (HELO localhost.localdomain) ([10.239.252.103]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2023 20:06:21 -0700 From: Zhichao Zeng To: dev@dpdk.org Cc: qi.z.zhang@intel.com, yaqi.tang@intel.com, Zhichao Zeng Subject: [PATCH v3 0/3] Enable iavf Rx Timestamp offload on vector path Date: Thu, 27 Apr 2023 11:12:01 +0800 Message-Id: <20230427031201.1729217-1-zhichaox.zeng@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230412084528.3621733-1-zhichaox.zeng@intel.com> References: <20230412084528.3621733-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. --- 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 | 196 ++++++++++++++++++++++- 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, 546 insertions(+), 20 deletions(-)