[PATCH 05/18] common/idpf: move OEM capability to the last bit
Wenjing Qiao
wenjing.qiao at intel.com
Thu Apr 13 11:44:49 CEST 2023
Move the existing OEM capability in VIRTCHNL2_OTHER_CAPS to
the last bit. This should not break any backward compatibility
as it is not used yet.
And VIRTCHNL2_MEV_DEVICE is no longer upstreamed.
Signed-off-by: Pavan Kumar Linga <pavan.kumar.linga at intel.com>
Signed-off-by: Wenjing Qiao <wenjing.qiao at intel.com>
---
drivers/common/idpf/base/virtchnl2.h | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/common/idpf/base/virtchnl2.h b/drivers/common/idpf/base/virtchnl2.h
index 5c01734b65..32d8fe8c06 100644
--- a/drivers/common/idpf/base/virtchnl2.h
+++ b/drivers/common/idpf/base/virtchnl2.h
@@ -208,11 +208,8 @@
#define VIRTCHNL2_CAP_RX_FLEX_DESC BIT(17)
#define VIRTCHNL2_CAP_PTYPE BIT(18)
#define VIRTCHNL2_CAP_LOOPBACK BIT(19)
-#define VIRTCHNL2_CAP_OEM BIT(20)
-
-/* VIRTCHNL2_DEVICE_TYPE */
-/* underlying device type */
-#define VIRTCHNL2_MEV_DEVICE 0
+/* this must be the last capability */
+#define VIRTCHNL2_CAP_OEM BIT(63)
/* VIRTCHNL2_TXQ_SCHED_MODE
* Transmit Queue Scheduling Modes - Queue mode is the legacy mode i.e. inorder
--
2.25.1
More information about the dev
mailing list