uapi/hfi1_user: Add command and event for TID caching
authorMitko Haralanov <mitko.haralanov@intel.com>
Fri, 5 Feb 2016 16:57:48 +0000 (11:57 -0500)
committerDoug Ledford <dledford@redhat.com>
Mon, 29 Feb 2016 22:10:38 +0000 (17:10 -0500)
commit955ad36dcde4639664253c2bd39f626cd88d2acf
tree5c19ed28b55591623bbc6360bd2dfca8203bbeb9
parent462075a6ea85aa1cf6ee1620a232c483dfd4b520
uapi/hfi1_user: Add command and event for TID caching

TID caching will use a new event to signal userland that cache
invalidation has occurred and needs a matching command code that
will be used to read the invalidated TIDs.

Add the event bit and the new command to the exported header file.

The command is also added to the switch() statement in file_ops.c
for completeness and in preparation for its usage later.

Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/file_ops.c
include/uapi/rdma/hfi/hfi1_user.h