IB: Return error for unsupported QP creation flags

Fix the usnic and thw qib drivers to err when QP creation flags that
they don't understand are provided.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
This commit is contained in:
Or Gerlitz 2014-05-11 15:15:10 +03:00 • committed by Roland Dreier
commit 60093dc0c8
2 changed files with 5 additions and 1 deletions