Re: [PATCH V5 for-next 16/21] RDMA/bnxt_re: Support poll_cq verb

2017-02-12 Thread Leon Romanovsky
On Mon, Feb 13, 2017 at 10:47:10AM +0530, Selvin Xavier wrote: > On Sun, Feb 12, 2017 at 8:00 PM, Leon Romanovsky wrote: > >> +static u8 __rc_to_ib_wc_status(u8 qstatus) > >> +{ > >> + switch (qstatus) { > >> + case CQ_RES_RC_STATUS_OK: > >> + return IB_WC_SUCCESS; > >> + c

Re: [PATCH V5 for-next 16/21] RDMA/bnxt_re: Support poll_cq verb

2017-02-12 Thread Selvin Xavier
On Sun, Feb 12, 2017 at 8:00 PM, Leon Romanovsky wrote: >> +static u8 __rc_to_ib_wc_status(u8 qstatus) >> +{ >> + switch (qstatus) { >> + case CQ_RES_RC_STATUS_OK: >> + return IB_WC_SUCCESS; >> + case CQ_RES_RC_STATUS_LOCAL_ACCESS_ERROR: >> + return IB_WC_LOC_AC

Re: [PATCH V5 for-next 16/21] RDMA/bnxt_re: Support poll_cq verb

2017-02-12 Thread Leon Romanovsky
On Fri, Feb 10, 2017 at 03:19:48AM -0800, Selvin Xavier wrote: > Enables the fastpath ib_poll_cq verb. > > v2: Fixed sparse warnings > v3: Fixes endianness related warnings reported by sparse. Also, fixes > smatch and checkpatch warnings > v5: Uses ETH_P_IBOE macro for RoCE ethertype > > Signed

[PATCH V5 for-next 16/21] RDMA/bnxt_re: Support poll_cq verb

2017-02-10 Thread Selvin Xavier
Enables the fastpath ib_poll_cq verb. v2: Fixed sparse warnings v3: Fixes endianness related warnings reported by sparse. Also, fixes smatch and checkpatch warnings v5: Uses ETH_P_IBOE macro for RoCE ethertype Signed-off-by: Eddie Wai Signed-off-by: Devesh Sharma Signed-off-by: Somnath Kotu