aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorDennis Dalessandro <dennis.dalessandro@intel.com>2016-05-19 08:26:31 -0400
committerDoug Ledford <dledford@redhat.com>2016-05-26 11:35:13 -0400
commit380fb942888e7afc3420ce195a5188ff73b5a782 (patch)
tree337040fcbbe73690947f73ccf32f3e96e9d03103 /include/uapi/rdma
parent8d970cf991a6c38a5566572979487b906d643740 (diff)
IB/hfi1: Remove write(), use ioctl() for user cmds
Remove the write() handler for user space commands now that ioctl handling is available. User apps will need to change to use ioctl from this point forward. Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r--include/uapi/rdma/hfi/hfi1_user.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/uapi/rdma/hfi/hfi1_user.h b/include/uapi/rdma/hfi/hfi1_user.h
index 9784159c9d52..98bebf8bef55 100644
--- a/include/uapi/rdma/hfi/hfi1_user.h
+++ b/include/uapi/rdma/hfi/hfi1_user.h
@@ -66,7 +66,7 @@
66 * The major version changes when data structures change in an incompatible 66 * The major version changes when data structures change in an incompatible
67 * way. The driver must be the same for initialization to succeed. 67 * way. The driver must be the same for initialization to succeed.
68 */ 68 */
69#define HFI1_USER_SWMAJOR 5 69#define HFI1_USER_SWMAJOR 6
70 70
71/* 71/*
72 * Minor version differences are always compatible 72 * Minor version differences are always compatible
@@ -265,12 +265,6 @@ struct hfi1_tid_info {
265 __u32 length; 265 __u32 length;
266}; 266};
267 267
268struct hfi1_cmd {
269 __u32 type; /* command type */
270 __u32 len; /* length of struct pointed to by add */
271 __u64 addr; /* pointer to user structure */
272};
273
274enum hfi1_sdma_comp_state { 268enum hfi1_sdma_comp_state {
275 FREE = 0, 269 FREE = 0,
276 QUEUED, 270 QUEUED,