diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2016-02-14 20:45:18 (GMT) |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-11 01:38:13 (GMT) |
commit | 711e104ddca7b609889e1edf0a8482673ea4a7cc (patch) | |
tree | 5bac16a93873498a38717733056fd85b105cd051 /drivers/regulator | |
parent | 1235bef8f04bf020b03f32e083e34bc91fc51343 (diff) | |
download | linux-711e104ddca7b609889e1edf0a8482673ea4a7cc.tar.xz |
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>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions