History

RDMA/uverbs: Split UVERBS_ATTR_FLOW_ACTION_ESP_HANDLE

Two methods are sharing the same attribute constant, but the attribute definitions are not the same. This should not have been done, instead split them into two attributes with the same number.

Jason Gunthorpe committed 8 years ago

Commit ad544cf1 parent 87fc2a62 files · +14 −5Browse files

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

Unified · Split

include/uapi/rdma/ib_user_ioctl_cmds.h+6−1
@@ -79,7 +79,7 @@ enum uverbs_attrs_destroy_cq_cmd_attr_ids { · 78 unmodified lines
7979 };
8080
8181 enum uverbs_attrs_create_flow_action_esp {
82− UVERBS_ATTR_FLOW_ACTION_ESP_HANDLE,
82+ UVERBS_ATTR_CREATE_FLOW_ACTION_ESP_HANDLE,
8383 UVERBS_ATTR_FLOW_ACTION_ESP_ATTRS,
8484 UVERBS_ATTR_FLOW_ACTION_ESP_ESN,
8585 UVERBS_ATTR_FLOW_ACTION_ESP_KEYMAT,
@@ -87,6 +87,11 @@ enum uverbs_attrs_create_flow_action_esp { · 1 unmodified line
8787 UVERBS_ATTR_FLOW_ACTION_ESP_ENCAP,
8888 };
8989
90+enum uverbs_attrs_modify_flow_action_esp {
91+ UVERBS_ATTR_MODIFY_FLOW_ACTION_ESP_HANDLE =
92+ UVERBS_ATTR_CREATE_FLOW_ACTION_ESP_HANDLE,
93+};
94+
9095 enum uverbs_attrs_destroy_flow_action_esp {
9196 UVERBS_ATTR_DESTROY_FLOW_ACTION_HANDLE,
9297 };

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