[v5,03/11] common/idpf/base: add miss completion capabilities

Message ID 20230920062236.375308-4-simei.su@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Qi Zhang
Headers
Series update idpf base code |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Simei Su Sept. 20, 2023, 6:22 a.m. UTC
  Add miss completion tag in other capability flags 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@intel.com>
Signed-off-by: Simei Su <simei.su@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
---
 .mailmap                             | 1 +
 drivers/common/idpf/base/virtchnl2.h | 4 ++++
 2 files changed, 5 insertions(+)
  

Patch

diff --git a/.mailmap b/.mailmap
index 3dfdd81797..91d8cca78f 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1641,3 +1641,4 @@  Zorik Machulsky <zorik@amazon.com>
 Zyta Szpak <zyta@marvell.com> <zr@semihalf.com> <zyta.szpak@semihalf.com>
 Jayaprakash Shanmugam <jayaprakash.shanmugam@intel.com>
 Zhenning Xiao <zhenning.xiao@intel.com>
+Josh Hay <joshua.a.hay@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)