History

IB/uverbs: Pass IB_UVERBS_QPF_GRH_REQUIRED to user space

Userspace also needs to know if the port requires GRHs to properly form the AVs it creates.

Artemy Kovalyov committed 8 years ago

Commit 8942ace1 parent b02289b3 files · +9 −1Browse files

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

Unified · Split

2 files
  1. include/uapi/rdma/ib_user_ioctl_verbs.h +4 −0
  2. include/uapi/rdma/ib_user_verbs.h +2 −1
include/uapi/rdma/ib_user_ioctl_verbs.h+4−0
@@ -78,6 +78,10 @@ enum ib_uverbs_query_port_cap_flags { · 77 unmodified lines
7878 IB_UVERBS_PCF_IP_BASED_GIDS = 1 << 26,
7979 };
8080
81+enum ib_uverbs_query_port_flags {
82+ IB_UVERBS_QPF_GRH_REQUIRED = 1 << 0,
83+};
84+
8185 enum ib_uverbs_flow_action_esp_keymat {
8286 IB_UVERBS_FLOW_ACTION_ESP_KEYMAT_AES_GCM,
8387 };
include/uapi/rdma/ib_user_verbs.h+2−1
@@ -299,7 +299,8 @@ struct ib_uverbs_query_port_resp { · 298 unmodified lines
299299 __u8 active_speed;
300300 __u8 phys_state;
301301 __u8 link_layer;
302− __u8 reserved[2];
302+ __u8 flags; /* see ib_uverbs_query_port_flags */
303+ __u8 reserved;
303304 };
304305
305306 struct ib_uverbs_alloc_pd {

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