commit | e23d6d2b090658007732770720a44375cba23200 | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Thu Oct 06 13:25:16 2005 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Mon Oct 17 15:20:28 2005 -0700 |
tree | 277afdc20477a3ab8ca9a1ff26c478e047a3a581 | |
parent | 90f104da22bbf2e2b8a2136c12fb4e013fccf504 [diff] |
[IB] mthca: detect SRQ overflow The hardware relies on us keeping one extra work request that never gets used in SRQs. Add checks to the SRQ work request posting functions so that they fail when someone is about to use up that extra work request, rather than when someone uses the very last work request. Signed-off-by: Roland Dreier <rolandd@cisco.com>