Re: [PATCH v2] scsi: qedf: Add port_id getter

2019-09-30 Thread Martin K. Petersen
Daniel, > Add qedf_get_host_port_id() to the transport template. > > The fc_transport_template initializes the port_id member to the > default value of -1. The new getter ensures that the sysfs entry shows > the current value and not the default one, e.g by using 'lsscsi -H -t' Applied to 5.5/s

Re: [PATCH v2] scsi: qedf: Add port_id getter

2019-09-24 Thread Hannes Reinecke
On 9/24/19 9:29 AM, Daniel Wagner wrote: > Add qedf_get_host_port_id() to the transport template. > > The fc_transport_template initializes the port_id member to the > default value of -1. The new getter ensures that the sysfs entry shows > the current value and not the default one, e.g by using '

RE: [PATCH v2] scsi: qedf: Add port_id getter

2019-09-24 Thread Saurav Kashyap
> -Original Message- > From: linux-scsi-ow...@vger.kernel.org On > Behalf Of Daniel Wagner > Sent: Tuesday, September 24, 2019 12:59 PM > To: qlogic-storage-upstr...@cavium.com > Cc: linux-s...@vger.kernel.org; linux-kernel@vger.kernel.org; Daniel Wagner > > Subject: [PATCH v2] scsi: q