target: export protocol identifier
authorMike Christie <mchristi@redhat.com>
Fri, 13 Jan 2017 10:47:48 +0000 (04:47 -0600)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 19 Feb 2017 05:36:50 +0000 (21:36 -0800)
commit0ab8ac6f504d61b59856bd34e62bbfd60edd2bb0
tree7db286b7de7dd9e3347133dfcdd03f70e9b547af
parent6cb3216a7863fd13fb125f0867fce55c2bbd8c8e
target: export protocol identifier

I think the transport statistics device file was supposed
to show scsiTransportProtocolType. It instead shows the
fabric name which is normally closer to the driver name.

I was thinking I cannot change from fabric name to protocol
type name incase people are expecting the driver name, so
this patch adds another file proto_id that exports the SCSI
protocol identifier ID.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_stat.c