IB: Return error for unsupported QP creation flags
authorOr Gerlitz <ogerlitz@mellanox.com>
Sun, 11 May 2014 12:15:10 +0000 (15:15 +0300)
committerRoland Dreier <roland@purestorage.com>
Mon, 2 Jun 2014 21:58:11 +0000 (14:58 -0700)
commit60093dc0c8b6407bc7494cbcb3e84322cc6782c8
treeb9eb3c7a9ed70625bbe3752dd9ef49e19a6ee483
parentd6d211db37e75de2ddc3a4f979038c40df7cc79c
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>
drivers/infiniband/hw/qib/qib_qp.c
drivers/infiniband/hw/usnic/usnic_ib_verbs.c