Commit d5e4173
committed
mlx5: ignore QP max_recv_wr when SRQ is used
According to the manual, max_recv_wr and max_recv_sge are ignored by
`ibv_create_qp` if the QP is to be associated with an SRQ. Fix the bug
where `ibv_create_qp` may fail due to uninitialized `max_recv_wr`.
Signed-off-by: ZHOU Huaping <[email protected]>1 parent 6fc7569 commit d5e4173
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1770 | 1770 | | |
1771 | 1771 | | |
1772 | 1772 | | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
1773 | 1779 | | |
1774 | 1780 | | |
1775 | 1781 | | |
| |||
0 commit comments