[PATCH 02/14] common/idpf/base: add miss completion capabilities

Wenjing Qiao wenjing.qiao at intel.com
Wed Aug 9 03:32:56 CEST 2023


From: Simei Su <simei.su at intel.com>

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 <joshua.a.hay at intel.com>
Signed-off-by: Simei Su <simei.su at intel.com>
---
 .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 <zorik at amazon.com>
 Zyta Szpak <zyta at marvell.com> <zr at semihalf.com> <zyta.szpak at semihalf.com>
 Jayaprakash Shanmugam <jayaprakash.shanmugam at intel.com>
 Zhenning Xiao <zhenning.xiao at intel.com>
+Josh Hay <joshua.a.hay at intel.com>
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)
 
-- 
2.34.1



More information about the dev mailing list