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

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
Subject: [PATCH v2] scsi: qedf: Add port_id getter > > 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 t

[PATCH v2] scsi: qedf: Add port_id getter

2019-09-24 Thread Daniel Wagner
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' Signed-off-by: Daniel Wagner ---