linux/drivers/infiniband/hw/mlx5
Leon Romanovsky 34356f64ac IB/mlx5: Unify CQ create flags check
The create_cq() can receive creation flags which were used
differently by two commits which added create_cq extended
command and cross-channel. The merged code caused to not
accept any flags at all.

This patch unifies the check into one function and one return
error code.

Fixes: 972ecb8213 ("IB/mlx5: Add create_cq extended command")
Fixes: 051f263098 ("IB/mlx5: Add driver cross-channel support")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-01-21 12:05:37 -05:00
..
ah.c IB/mlx5: Add RoCE fields to Address Vector 2015-12-23 12:07:37 -05:00
cq.c IB/mlx5: Unify CQ create flags check 2016-01-21 12:05:37 -05:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
mad.c IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
main.c IB/mlx5: Allocate a Transport Domain for each ucontext 2016-01-21 12:01:09 -05:00
Makefile IB/mlx5: Implement the ODP capability query verb 2014-12-15 18:19:02 -08:00
mem.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
mlx5_ib.h IB/mlx5: Unify CQ create flags check 2016-01-21 12:05:37 -05:00
mr.c IB/mlx5: Postpone remove_keys under knowledge of coming preemption 2015-12-08 16:55:31 -05:00
odp.c IB/mlx5: Refactor mlx5_ib_qp to accommodate other QP types 2016-01-21 12:01:09 -05:00
qp.c IB/mlx5: Expose Raw Packet QP to user space consumers 2016-01-21 12:01:09 -05:00
srq.c IB/mlx5: Add CQE version 1 support to user QPs and SRQs 2016-01-21 12:01:08 -05:00
user.h IB/mlx5: Add create and destroy functionality for Raw Packet QP 2016-01-21 12:01:09 -05:00