Re: [PATCH] infiniband:Fix error checking in the function ocrdma_dereg_mr

2015-09-14 Thread Selvin Xavier
Hi Doug/Jason/Nicholas, Apologies for the delay in response. I consulted with our f/w and h/w teams regarding this issue. The current ocrdma code seems right in handling the lkey dealloc failure from FW. ocrdma_mbx_dealloc_lkey can fail only if f the FW is hung or PCI errors ( points 1 and 3 i

Re: [PATCH] infiniband:Fix error checking in the function ocrdma_dereg_mr

2015-09-04 Thread Jason Gunthorpe
On Fri, Sep 04, 2015 at 12:45:38PM -0400, Doug Ledford wrote: > On 09/04/2015 12:35 PM, Nicholas Krause wrote: > > This fixes error checking in the function ocrdma_dereg_mr to properly > > check if the call to ocrdma_mbx_alloc fails as if so we must exit this > > function immediately and return the

Re: [PATCH] infiniband:Fix error checking in the function ocrdma_dereg_mr

2015-09-04 Thread Doug Ledford
On 09/04/2015 12:35 PM, Nicholas Krause wrote: > This fixes error checking in the function ocrdma_dereg_mr to properly > check if the call to ocrdma_mbx_alloc fails as if so we must exit this > function immediately and return the error code to the caller of the > function ocrdma_dereg_mr to signal