fixup! libmlx5: Extend mlx5dv_get_qp() to return UAR mapping info

Import rdma-core upstream commit d2389b34ccc5 ("mlx5: Add missing include
file in mlx5dv.h").

Including <sys/types.h> keeps mlx5dv.h self-contained: off_t, used by the
new uar_mmap_offset field, is now always defined.  The man page gains the
uar_mmap_offset line upstream documents in 5dd3ead7b5f5.

Sponsored by:	NVidia networking
MFC after:	1 month
This commit is contained in:
Ariel Ehrenberg authored and Konstantin Belousov committed 2026-09-16 17:12:06 +03:00
1 parent 112ca55eef
commit a5a3daf88a
2 files changed
+2

No files matched your search

+1
View File
@@ -34,6 +34,7 @@
#define _MLX5DV_H_
#include <infiniband/types.h> /* For the __be64 type */
#include <sys/types.h>
#include <infiniband/endian.h>
#if defined(__SSE3__)
+1
View File
@@ -43,6 +43,7 @@ uint32_t size;
.in -8
} bf;
uint64_t comp_mask;
off_t uar_mmap_offset;
.in -8
};