mbox series

[v2,for-next,0/3] RDMA/bnxt_re: Fixes for handling device references

Message ID 1584117207-2664-1-git-send-email-selvin.xavier@broadcom.com (mailing list archive)
Headers show
Series RDMA/bnxt_re: Fixes for handling device references | expand

Message

Selvin Xavier March 13, 2020, 4:33 p.m. UTC
Avoid the driver's internal mechanisms to check
for device registered state and counting the work queue
scheduling.

v1-> v2:
  - Removed all reference of BNXT_RE_FLAG_IBDEV_REGISTERED
    from patch 1
  - Removed smp_mb__before_atomic call from patch 3

Jason Gunthorpe (2):
  RDMA/bnxt_re: Use ib_device_try_get()
  RDMA/bnxt_re: Fix lifetimes in bnxt_re_task

Selvin Xavier (1):
  RDMA/bnxt_re: Remove unnecessary sched count

 drivers/infiniband/hw/bnxt_re/bnxt_re.h |  2 --
 drivers/infiniband/hw/bnxt_re/main.c    | 37 ++++++++++++++-------------------
 2 files changed, 16 insertions(+), 23 deletions(-)

Comments

Jason Gunthorpe March 17, 2020, 11:16 p.m. UTC | #1
On Fri, Mar 13, 2020 at 09:33:24AM -0700, Selvin Xavier wrote:
> Avoid the driver's internal mechanisms to check
> for device registered state and counting the work queue
> scheduling.
> 
> v1-> v2:
>   - Removed all reference of BNXT_RE_FLAG_IBDEV_REGISTERED
>     from patch 1
>   - Removed smp_mb__before_atomic call from patch 3
> 
> Jason Gunthorpe (2):
>   RDMA/bnxt_re: Use ib_device_try_get()
>   RDMA/bnxt_re: Fix lifetimes in bnxt_re_task
> 
> Selvin Xavier (1):
>   RDMA/bnxt_re: Remove unnecessary sched count

Applied to for-next, thanks

Jason