History

RDMA/core: Add UVERBS_METHOD_ASYNC_EVENT_ALLOC

Allow the async FD to be allocated separately from the context. This is necessary to introduce the ioctl to create a context, as an ioctl should only ever create a single uobject at a time. If multiple async FDs are created then the first one is used to deliver affiliated events from any ib_uevent_object, with all subsequent ones will receive only unaffiliated events.

Jason Gunthorpe committed 6 years ago

Commit d680e881 parent f8623083 files · +33 −2Browse files

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

Unified · Split

include/uapi/rdma/ib_user_ioctl_cmds.h+8−0
@@ -242,4 +242,12 @@ enum uverbs_attrs_flow_destroy_ids { · 241 unmodified lines
242 UVERBS_ATTR_DESTROY_FLOW_HANDLE,242 UVERBS_ATTR_DESTROY_FLOW_HANDLE,
243};243};
244 244
245enum uverbs_method_async_event {
246 UVERBS_METHOD_ASYNC_EVENT_ALLOC,
247};
248
249enum uverbs_attrs_async_event_create {
250 UVERBS_ATTR_ASYNC_EVENT_ALLOC_FD_HANDLE,
251};
252
245#endif253#endif

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