summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorLong Li <longli@microsoft.com>2023-12-15 18:04:14 -0800
committerLeon Romanovsky <leon@kernel.org>2023-12-20 10:25:40 +0200
commit2c20e20b22d9fc64072e3445ae3ca244cbd523a2 (patch)
treedb8fdcf452c759183bfe9f9d7c5d4e3d17de7dea /include/net
parenta7f0636d223ca9d074eb5b4ae71425e082c5c1e1 (diff)
RDMA/mana_ib: query device capabilities
With RDMA device registered, use it to query on hardware capabilities and cache this information for future query requests to the driver. Signed-off-by: Long Li <longli@microsoft.com> Link: https://lore.kernel.org/r/1702692255-23640-3-git-send-email-longli@linuxonhyperv.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mana/gdma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/mana/gdma.h b/include/net/mana/gdma.h
index 000f0d7670f7..797971e2d5a5 100644
--- a/include/net/mana/gdma.h
+++ b/include/net/mana/gdma.h
@@ -150,6 +150,7 @@ struct gdma_general_req {
#define GDMA_MESSAGE_V1 1
#define GDMA_MESSAGE_V2 2
+#define GDMA_MESSAGE_V3 3
struct gdma_general_resp {
struct gdma_resp_hdr hdr;