commit | 733d12813bd36ed7c727686ac1164f92f87a14a2 | [log] [tgz] |
---|---|---|
author | Ralph Campbell <ralph.campbell@qlogic.com> | Thu Nov 08 19:53:01 2007 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Fri Jan 25 14:15:28 2008 -0800 |
tree | 903cfeadcfd6e0ff129fc7736db526889ccf2f50 | |
parent | e342c119172f87f2d812bccfd0283f62e1bc1c2a [diff] |
IB/ipath: Fix error returned from ib_resize_cq if new size smaller than # entries The gen2_basic tests check for the errno value when a CQ is resized smaller than the number of outstanding completions queue on the CQ. This patch changes ib_ipath to return EINVAL which is what ib_mthca returns and what gen2_basic expects. Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>