From patchwork Wed Aug 9 01:32:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wenjing Qiao X-Patchwork-Id: 129996 X-Patchwork-Delegate: qi.z.zhang@intel.com 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 0DF1943011; Wed, 9 Aug 2023 03:33:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D75C40DFB; Wed, 9 Aug 2023 03:33:30 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id EA09443255 for ; Wed, 9 Aug 2023 03:33:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691544808; x=1723080808; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=w7uVDmUs2fQ6n9rqqilVIfEF27NzZRJNRwiCAPk2wJg=; b=Cuhgur6gO6I/8q4VYy7GDoDUO56k+ri4/4A/uhHzD5EnIusfBh85J9MH y3cecVhpBcUzVNr9AIl8T61OpcsktzJCFv5t2ez+Mb8UCOVmj1GZMGCZh 5TwdS+o3veEEN9vcslwLUA95D9p6lUa/ZfIZ/C0+YyZB+2SninNQ/DKN/ I6BnRrIodhCTa1OGVZMVnaIDz3NJC969Kq5VoZXNhaWU17pedpfVtwwAq 44uCDLo4b33rfim44SL+heOlUtgrz2BeZyiyuD3ldSZgQkgOwQ7Xy7pHE qQa4Dye2TNDpzbj/JaFCVJ4dPYm6xItqoLiek/Osy5gOtoFkWzkGWlqOa g==; X-IronPort-AV: E=McAfee;i="6600,9927,10795"; a="374704461" X-IronPort-AV: E=Sophos;i="6.01,157,1684825200"; d="scan'208";a="374704461" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Aug 2023 18:33:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10795"; a="845735055" X-IronPort-AV: E=Sophos;i="6.01,157,1684825200"; d="scan'208";a="845735055" Received: from dpdk-wenjing-02.sh.intel.com ([10.67.119.75]) by fmsmga002.fm.intel.com with ESMTP; 08 Aug 2023 18:33:25 -0700 From: Wenjing Qiao To: jingjing.wu@intel.com, beilei.xing@intel.com, qi.z.zhang@intel.com Cc: dev@dpdk.org, mingxia.liu@intel.com, wenjing.qiao@intel.com, Simei Su , Josh Hay Subject: [PATCH 02/14] common/idpf/base: add miss completion capabilities Date: Wed, 9 Aug 2023 01:32:56 +0000 Message-Id: <20230809013308.1449103-3-wenjing.qiao@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230809013308.1449103-1-wenjing.qiao@intel.com> References: <20230809013308.1449103-1-wenjing.qiao@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 From: Simei Su Add miss completion tag to other capabilities list, to indicate support for detecting a miss completion based on the upper bit of the completion tag. Signed-off-by: Josh Hay Signed-off-by: Simei Su --- .mailmap | 1 + drivers/common/idpf/base/virtchnl2.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.mailmap b/.mailmap index 8f90e6f972..af452d54c6 100644 --- a/.mailmap +++ b/.mailmap @@ -1640,3 +1640,4 @@ Zorik Machulsky Zyta Szpak Jayaprakash Shanmugam Zhenning Xiao +Josh Hay diff --git a/drivers/common/idpf/base/virtchnl2.h b/drivers/common/idpf/base/virtchnl2.h index cd47444835..c49e4b943c 100644 --- a/drivers/common/idpf/base/virtchnl2.h +++ b/drivers/common/idpf/base/virtchnl2.h @@ -231,6 +231,10 @@ #define VIRTCHNL2_CAP_RX_FLEX_DESC BIT(17) #define VIRTCHNL2_CAP_PTYPE BIT(18) #define VIRTCHNL2_CAP_LOOPBACK BIT(19) +/* Enable miss completion types plus ability to detect a miss completion if a + * reserved bit is set in a standared completion's tag. + */ +#define VIRTCHNL2_CAP_MISS_COMPL_TAG BIT(20) /* this must be the last capability */ #define VIRTCHNL2_CAP_OEM BIT(63)