@@ -376,7 +376,7 @@ struct srpt_tpg {
376
376
};
377
377
378
378
/**
379
- * struct srpt_port_id - information about an RDMA port name
379
+ * struct srpt_port_id - LIO RDMA port information
380
380
* @mutex: Protects @tpg_list changes.
381
381
* @tpg_list: TPGs associated with the RDMA port name.
382
382
* @wwn: WWN associated with the RDMA port name.
@@ -402,8 +402,10 @@ struct srpt_port_id {
402
402
* @lid: cached value of the port's lid.
403
403
* @gid: cached value of the port's gid.
404
404
* @work: work structure for refreshing the aforementioned cached values.
405
- * @port_guid_id: target port GUID
406
- * @port_gid_id: target port GID
405
+ * @guid_name: port name in GUID format.
406
+ * @port_guid_id: LIO target port information for the port name in GUID format.
407
+ * @gid_name: port name in GID format.
408
+ * @port_gid_id: LIO target port information for the port name in GID format.
407
409
* @port_attrib: Port attributes that can be accessed through configfs.
408
410
* @refcount: Number of objects associated with this port.
409
411
* @freed_channels: Completion that will be signaled once @refcount becomes 0.
@@ -419,7 +421,9 @@ struct srpt_port {
419
421
u32 lid ;
420
422
union ib_gid gid ;
421
423
struct work_struct work ;
424
+ char guid_name [64 ];
422
425
struct srpt_port_id port_guid_id ;
426
+ char gid_name [64 ];
423
427
struct srpt_port_id port_gid_id ;
424
428
struct srpt_port_attrib port_attrib ;
425
429
atomic_t refcount ;
0 commit comments