mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
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:
1 parent
112ca55eef
commit
a5a3daf88a
2 files changed
+2
No files matched your search
@@ -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__)
|
||||
|
||||
@@ -43,6 +43,7 @@ uint32_t size;
|
||||
.in -8
|
||||
} bf;
|
||||
uint64_t comp_mask;
|
||||
off_t uar_mmap_offset;
|
||||
.in -8
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user