Don Hiatt
d4d602e9a3
IB/hfi1: Rename hfi1_pio_header to hfi1_sdma_header.
...
hfi1_pio_header should really be called hfi1_sdma_header
as it is only used for sdma transmits.
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Reviewed-by: Dean Luick <dean.luick@intel.com >
Reviewed-by: Ira Weiny <ira.weiny@intel.com >
Signed-off-by: Don Hiatt <don.hiatt@intel.com >
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-08-02 16:00:58 -04:00
Dasaratharaman Chandramouli
a9b6b3bc29
IB/hfi1: Rename struct ahg_ib_header to struct hfi1_ahg_info
...
struct ahg_ib_header has no header specific information.
Rename it to struct hfi1_ahg_info
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Reviewed-by: Dean Luick <dean.luick@intel.com >
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com >
Signed-off-by: Don Hiatt <don.hiatt@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-08-02 16:00:58 -04:00
Jianxin Xiong
c72cfe3e38
IB/hfi1: Add support for extended memory management
...
Advertise and add the capability of handing all aspects of IBTA extended
memory management support in post send.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-08-02 16:00:58 -04:00
Jianxin Xiong
0db3dfa03c
IB/hfi1: Work request processing for fast register mr and invalidate
...
In order to support extended memory management support, add send side
processing of work requests of type IB_WR_REG_MR, IB_WR_LOCAL_INV, and
IB_WR_SEND_WITH_INV. The first two are local operations and are supported
for both RC and UC. Send with invalidate is only supported for RC because
the corresponding IB opcodes are not defined for UC.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-08-02 16:00:58 -04:00
Jianxin Xiong
a2df0c8332
IB/hfi1: Handle send with invalidate opcode in the RC recv path
...
As part of enabling extended memory management support, add the processing
of the RC send with invalidate.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-08-02 16:00:58 -04:00
Mike Marciniszyn
1ac57c50e9
IB/hfi1: Add hfi1 post send tables
...
Add initial table for table driven post_send support.
Reviewed-by: Jianxin Xiong <jianxin.xiong@intel.com >
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-08-02 15:47:44 -04:00
Jakub Pawlak
71e68e3db8
IB/hfi1: Correct receive packet handler assignment
...
Prevent processing receive packet in case when opcode is
accepted by QP but handler for this type of packet is not
defined.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Signed-off-by: Jakub Pawlak <jakub.pawlak@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-08-02 15:47:43 -04:00
Ira Weiny
939b6ca873
IB/hfi1: Add device FW version string
...
Export the firmware version through the core.
Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Ira Weiny <ira.weiny@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-06-23 12:08:34 -04:00
Jianxin Xiong
bdd8a98ce4
IB/hfi1: Add tracing support for send with invalidate opcode
...
Enable trace generation for packets with the "Send Last with
Invalidate" and "Send Only with Invalidate" opcodes.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-05-26 12:21:10 -04:00
Dennis Dalessandro
f48ad614c1
IB/hfi1: Move driver out of staging
...
The TODO list for the hfi1 driver was completed during 4.6. In addition
other objections raised (which are far beyond what was in the TODO list)
have been addressed as well. It is now time to remove the driver from
staging and into the drivers/infiniband sub-tree.
Reviewed-by: Jubin John <jubin.john@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-05-26 11:35:14 -04:00