From patchwork Fri Aug 25 10:13:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simei Su X-Patchwork-Id: 130749 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 1A521430FF; Fri, 25 Aug 2023 12:13:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9184F43036; Fri, 25 Aug 2023 12:13:47 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 94118400D5 for ; Fri, 25 Aug 2023 12:13:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692958424; x=1724494424; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=25lnEraovFLyeuaQ3raxqUpXvbv2ksvh52+qa1u+EK4=; b=kzYF2BMrQaCd0bibCQ+ytsQKWgz7GP6ePp1izhBgESKW0P5/mn8PVS0z NzaJLOaNNhsFq3vCULSF6CTlPIX3Y4Yyl4aTrmnjpCIshFP0Iep09uY5C khLIXMqW94KYB0HV81gNvrYx5YgmeetCt4ssUNtYGStJ2+6z0zBe/cahC UpJVVH83Jkpdt2h4qJYWTffQPyZZL9uggN66pmaLzmuMPE03mGmb/R5NK KTIN1BvoCHlNOtsCK9Nnvb5mrABh6kme5taznXbeKeDL0ME6kr2oApwpf 2bv86boYX0HZfl1me1bCrUfedQbIL7kJg9z/nmCeC/iw4+lCrwOT0NSEC g==; X-IronPort-AV: E=McAfee;i="6600,9927,10812"; a="441027913" X-IronPort-AV: E=Sophos;i="6.02,195,1688454000"; d="scan'208";a="441027913" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2023 03:13:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10812"; a="772439470" X-IronPort-AV: E=Sophos;i="6.02,195,1688454000"; d="scan'208";a="772439470" Received: from dpdk-simei-icelake.sh.intel.com ([10.67.110.167]) by orsmga001.jf.intel.com with ESMTP; 25 Aug 2023 03:13:31 -0700 From: Simei Su 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 v2 02/17] common/idpf/base: add miss completion capabilities Date: Fri, 25 Aug 2023 18:13:29 +0800 Message-Id: <20230825101344.1828774-3-simei.su@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230825101344.1828774-1-simei.su@intel.com> References: <20230809013308.1449103-1-wenjing.qiao@intel.com> <20230825101344.1828774-1-simei.su@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 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)