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
78 IB_UVERBS_PCF_IP_BASED_GIDS = 1 << 26,78 IB_UVERBS_PCF_IP_BASED_GIDS = 1 << 26,
79};79};
80 80
81enum ib_uverbs_query_port_flags {
82 IB_UVERBS_QPF_GRH_REQUIRED = 1 << 0,
83};
84
81enum ib_uverbs_flow_action_esp_keymat {85enum ib_uverbs_flow_action_esp_keymat {
82 IB_UVERBS_FLOW_ACTION_ESP_KEYMAT_AES_GCM,86 IB_UVERBS_FLOW_ACTION_ESP_KEYMAT_AES_GCM,
83};87};
include/uapi/rdma/ib_user_verbs.h+2−1
@@ -299,7 +299,8 @@ struct ib_uverbs_query_port_resp { · 298 unmodified lines
299 __u8 active_speed;299 __u8 active_speed;
300 __u8 phys_state;300 __u8 phys_state;
301 __u8 link_layer;301 __u8 link_layer;
302 __u8 reserved[2];302 __u8 flags; /* see ib_uverbs_query_port_flags */
303 __u8 reserved;
303};304};
304 305
305struct ib_uverbs_alloc_pd {306struct 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