History

IB/mlx5: Add packet based credit mode support

The device can support two credit modes, message based (default) and packet based. In order to enable packet based mode, the QP should be created with special flag that indicates this. This patch adds support for the new DV QP creation flag that can be used for RC QPs in order to change the credit mode.

Danit Goldberg committed 7 years ago

Commit 569c6651 parent 3fd3c803 files · +15 −2Browse files

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

Unified · Split

include/uapi/rdma/mlx5-abi.h+1−0
@@ -48,6 +48,7 @@ enum { · 47 unmodified lines
4848 MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_UC = 1 << 6,
4949 MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_MC = 1 << 7,
5050 MLX5_QP_FLAG_ALLOW_SCATTER_CQE = 1 << 8,
51+ MLX5_QP_FLAG_PACKET_BASED_CREDIT_MODE = 1 << 9,
5152 };
5253
5354 enum {

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