Fix compile error on older OFED systems
This commit was SVN r18425.
Этот коммит содержится в:
родитель
6844ff32ba
Коммит
16cde0e5fa
@ -2072,9 +2072,12 @@ error:
|
|||||||
* disconnecting first). In both cases, all pending non-completed
|
* disconnecting first). In both cases, all pending non-completed
|
||||||
* SQ and RQ WRs will automatically be flushed.
|
* SQ and RQ WRs will automatically be flushed.
|
||||||
*/
|
*/
|
||||||
if (wc->status == IBV_WC_WR_FLUSH_ERR && IBV_TRANSPORT_IWARP == hca->ib_dev->transport_type) {
|
#if defined(HAVE_STRUCT_IBV_DEVICE_TRANSPORT_TYPE)
|
||||||
|
if (wc->status == IBV_WC_WR_FLUSH_ERR &&
|
||||||
|
IBV_TRANSPORT_IWARP == hca->ib_dev->transport_type) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if(wc->status != IBV_WC_WR_FLUSH_ERR || !flush_err_printed[cq]++) {
|
if(wc->status != IBV_WC_WR_FLUSH_ERR || !flush_err_printed[cq]++) {
|
||||||
BTL_PEER_ERROR(remote_proc, ("error polling %s with status %s "
|
BTL_PEER_ERROR(remote_proc, ("error polling %s with status %s "
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user