Re: [PATCH V2] IB/mlx5: Unify CQ create flags check

2015-12-29 Thread Or Gerlitz
On 12/29/2015 4:41 PM, Leon Romanovsky wrote: From: Leon Romanovsky 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 V2] IB/mlx5: Unify CQ create flags check

2015-12-29 Thread Leon Romanovsky
From: Leon Romanovsky 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

Re: [PATCH V2] IB/mlx5: Unify CQ create flags check

2015-12-29 Thread Leon Romanovsky
On Tue, Dec 29, 2015 at 04:03:41PM +0200, Leon Romanovsky wrote: > On Tue, Dec 29, 2015 at 03:51:47PM +0200, Sagi Grimberg wrote: > > >From: Leon Romanovsky > > > > > >The create_cq() can receive creation flags which were used > > >differently by two following commits [1] and

[PATCH V2] IB/mlx5: Unify CQ create flags check

2015-12-29 Thread Leon Romanovsky
From: Leon Romanovsky The create_cq() can receive creation flags which were used differently by two following commits [1] and [2]. The current code caused to not accept any flags at all. This patch unifies the check into one function and one return error code. Fixes:

Re: [PATCH V2] IB/mlx5: Unify CQ create flags check

2015-12-29 Thread Leon Romanovsky
On Tue, Dec 29, 2015 at 03:51:47PM +0200, Sagi Grimberg wrote: > >From: Leon Romanovsky > > > >The create_cq() can receive creation flags which were used > >differently by two following commits [1] and [2]. The current > >code caused to not accept any flags at all. > > We