Mike Marciniszyn 711e104ddc staging/rdma/hfi1: fix panic in send engine
The send engine wasn't correctly handling
pre-built packets, and worse, the pointer to
a packet state's txreq wasn't initialized correctly.

To fix:
- all waiters need to save any prebuilt packets
  (smda waits already did)
- the progress routine needs to handle a QPs prebuilt packet
  and initialize the txreq pointer properly

To keep SDMA working, the dma send code needs to see if
a packet has been built already. If not the code will build
it.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-03-10 20:38:13 -05:00
..
2016-01-13 10:13:36 -08:00
2015-11-05 13:15:12 -08:00
2016-01-13 11:46:37 -08:00
2015-11-15 20:02:47 -08:00
2016-01-13 10:13:36 -08:00
2015-10-24 19:30:12 -07:00