Re: [PATCH 5/7] qla2xxx: Simpify unregistration of FC-NVMe local/remote ports

2017-07-21 Thread Madhani, Himanshu
Hi Johannes, > On Jul 20, 2017, at 12:03 AM, Johannes Thumshirn wrote: > > On Wed, Jul 19, 2017 at 11:51:49AM -0700, Himanshu Madhani wrote: >> -static void qla_nvme_abort_all(fc_port_t *fcport) >> -{ >> -int que, cnt; >> -unsigned long flags; >> -srb_t *sp; >> -struct qla_hw_da

Re: [PATCH 5/7] qla2xxx: Simpify unregistration of FC-NVMe local/remote ports

2017-07-20 Thread Johannes Thumshirn
On Wed, Jul 19, 2017 at 11:51:49AM -0700, Himanshu Madhani wrote: > -static void qla_nvme_abort_all(fc_port_t *fcport) > -{ > - int que, cnt; > - unsigned long flags; > - srb_t *sp; > - struct qla_hw_data *ha = fcport->vha->hw; > - struct req_que *req; > - > - spin_lock_irqs

[PATCH 5/7] qla2xxx: Simpify unregistration of FC-NVMe local/remote ports

2017-07-19 Thread Himanshu Madhani
Simplified waiting for unregister local/remote FC-NVMe ports to complete cleanup. Signed-off-by: Duane Grigsby Signed-off-by: Darren Trapp Signed-off-by: Anil Gurumurthy Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_def.h | 5 ++-- drivers/scsi/qla2xxx/qla_nvme.c | 59 +++