History

IB/mlx5: Introduce DEVX

Introduce DEVX to enable direct device commands in downstream patches from this series. In that mode of work the firmware manages the isolation between processes' resources and as such a DEVX user id is created and assigned to the given user context upon allocation request. A capability check is done to make sure that this feature is really supported by the firmware prior to creating the DEVX user id.

Yishai Hadas committed 8 years ago

Commit a8b92ca1 parent 7dc08dc5 files · +96 −3Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/rdma/mlx5-abi.h+3−0
@@ -76,6 +76,9 @@ enum mlx5_lib_caps { · 75 unmodified lines
76 MLX5_LIB_CAP_4K_UAR = (__u64)1 << 0,76 MLX5_LIB_CAP_4K_UAR = (__u64)1 << 0,
77};77};
78 78
79enum mlx5_ib_alloc_uctx_v2_flags {
80 MLX5_IB_ALLOC_UCTX_DEVX = 1 << 0,
81};
79struct mlx5_ib_alloc_ucontext_req_v2 {82struct mlx5_ib_alloc_ucontext_req_v2 {
80 __u32 total_num_bfregs;83 __u32 total_num_bfregs;
81 __u32 num_low_latency_bfregs;84 __u32 num_low_latency_bfregs;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t