| 38e8b671 | 04-Sep-2016 |
Leon Romanovsky <[email protected]> |
RDMA/hfi1: Avoid redeclaration error
Move hfi1 ioctl definitions to a new header which can be included by both the hfi1 and qib drivers to avoid a duplicate enum definition as shown in this build er
RDMA/hfi1: Avoid redeclaration error
Move hfi1 ioctl definitions to a new header which can be included by both the hfi1 and qib drivers to avoid a duplicate enum definition as shown in this build error for qib:
CC [M] drivers/infiniband/hw/qib/qib_sysfs.o In file included from ./include/uapi/rdma/rdma_user_ioctl.h:39:0, from include/uapi/rdma/ib_user_mad.h:38, from include/rdma/ib_mad.h:43, from include/rdma/ib_pma.h:38, from drivers/infiniband/hw/qib/qib_mad.h:37, from drivers/infiniband/hw/qib/qib_init.c:49: ./include/uapi/rdma/hfi/hfi1_user.h:370:2: error: redeclaration of enumerator ‘ur_rcvhdrtail’ ur_rcvhdrtail = 0,
Move hfi1 structures to separate file to avoid this failure.
The actual move of the ioctl definitions comes in a follow on patch.
Signed-off-by: Matan Barak <[email protected]> Signed-off-by: Haggai Eran <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
show more ...
|
| 380fb942 | 19-May-2016 |
Dennis Dalessandro <[email protected]> |
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
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 <[email protected]> Signed-off-by: Dennis Dalessandro <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
show more ...
|
| 0b091fb3 | 05-Feb-2016 |
Mitko Haralanov <[email protected]> |
staging/hfi1: Enable TID caching feature
This commit "flips the switch" on the TID caching feature implemented in this patch series.
As well as enabling the new feature by tying the new function wi
staging/hfi1: Enable TID caching feature
This commit "flips the switch" on the TID caching feature implemented in this patch series.
As well as enabling the new feature by tying the new function with the PSM API, it also cleans up the old unneeded code, data structure members, and variables.
Due to difference in operation and information, the tracing functions related to expected receives had to be changed. This patch include these changes.
The tracing function changes could not be split into a separate commit without including both tracing variants at the same time. This would have caused other complications and ugliness.
Signed-off-by: Mitko Haralanov <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
show more ...
|