qdma-20.2 is supported for latest firmware.

Signed-off-by: Aman Kumar <aman.ku...@vvdntech.in>
---
 drivers/net/qdma/qdma_version.h | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 drivers/net/qdma/qdma_version.h

diff --git a/drivers/net/qdma/qdma_version.h b/drivers/net/qdma/qdma_version.h
new file mode 100644
index 0000000000..0cc38321f7
--- /dev/null
+++ b/drivers/net/qdma/qdma_version.h
@@ -0,0 +1,23 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2017-2022 Xilinx, Inc. All rights reserved.
+ */
+
+#ifndef __QDMA_VERSION_H__
+#define __QDMA_VERSION_H__
+
+#define qdma_stringify1(x...)  #x
+#define qdma_stringify(x...)   qdma_stringify1(x)
+
+#define QDMA_PMD_MAJOR         2020
+#define QDMA_PMD_MINOR         2
+#define QDMA_PMD_PATCHLEVEL    1
+
+#define QDMA_PMD_VERSION      \
+       qdma_stringify(QDMA_PMD_MAJOR) "." \
+       qdma_stringify(QDMA_PMD_MINOR) "." \
+       qdma_stringify(QDMA_PMD_PATCHLEVEL)
+
+#define QDMA_PMD_VERSION_NUMBER  \
+       ((QDMA_PMD_MAJOR) * 1000 + (QDMA_PMD_MINOR) * 100 + QDMA_PMD_PATCHLEVEL)
+
+#endif /* ifndef __QDMA_VERSION_H__ */
-- 
2.36.1

Reply via email to