Home
last modified time | relevance | path

Searched refs:fc_host (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/scsi/
Dscsi_transport_fc.c389 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); in fc_host_setup() local
396 fc_host->node_name = -1; in fc_host_setup()
397 fc_host->port_name = -1; in fc_host_setup()
398 fc_host->permanent_port_name = -1; in fc_host_setup()
399 fc_host->supported_classes = FC_COS_UNSPECIFIED; in fc_host_setup()
400 memset(fc_host->supported_fc4s, 0, in fc_host_setup()
401 sizeof(fc_host->supported_fc4s)); in fc_host_setup()
402 fc_host->supported_speeds = FC_PORTSPEED_UNKNOWN; in fc_host_setup()
403 fc_host->maxframe_size = -1; in fc_host_setup()
404 fc_host->max_npiv_vports = 0; in fc_host_setup()
[all …]
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-class-fc_host1 What: /sys/class/fc_host/hostX/statistics/fpin_cn_yyy
9 What: /sys/class/fc_host/hostX/statistics/fpin_li_yyy
17 What: /sys/class/fc_host/hostX/statistics/fpin_dn_yyy
/linux-6.1.9/Documentation/scsi/
Dscsi_fc_transport.rst63 The fc_host associated with the physical adapter will export the ability
65 Linux device tree, and instruct the fc_host's driver to instantiate the
130 /sys/class/fc_host/host17 physical port's fc_host
131 /sys/class/fc_host/host18 vport's fc_host
182 For the fc_host class object, the following attributes are added for vports:
186 driver/adapter can support on the fc_host.
190 fc_host.
193 A "simple" create interface to instantiate a vport on an fc_host.
202 vport on the fc_host with the same WWNs and tear it down. Each WWN
339 cause the creation of the new attributes on the fc_host. As part of
[all …]
/linux-6.1.9/drivers/scsi/libfc/
Dfc_lport.c1191 struct fc_host_attrs *fc_host = shost_to_fc_host(lport->host); in fc_lport_ms_resp() local
1225 if ((ntohs(ct->ct_cmd) == FC_FS_RJT) && fc_host->fdmi_version == FDMI_V2) { in fc_lport_ms_resp()
1227 fc_host->fdmi_version = FDMI_V1; in fc_lport_ms_resp()
1445 struct fc_host_attrs *fc_host = shost_to_fc_host(lport->host); in fc_lport_enter_ms() local
1475 if (fc_host->fdmi_version == FDMI_V2) { in fc_lport_enter_ms()
1503 if (fc_host->fdmi_version == FDMI_V2) { in fc_lport_enter_ms()
1588 struct fc_host_attrs *fc_host = shost_to_fc_host(lport->host); in fc_lport_timeout() local
1616 if (fc_host->fdmi_version == FDMI_V2) { in fc_lport_timeout()
1618 fc_host->fdmi_version = FDMI_V1; in fc_lport_timeout()
1889 struct fc_host_attrs *fc_host; in fc_lport_init() local
[all …]
Dfc_encode.h195 struct fc_host_attrs *fc_host = shost_to_fc_host(lport->host); in fc_ct_ms_fill() local
215 if (fc_host->fdmi_version == FDMI_V2) { in fc_ct_ms_fill()
372 if (fc_host->fdmi_version == FDMI_V2) { in fc_ct_ms_fill()
468 if (fc_host->fdmi_version == FDMI_V2) { in fc_ct_ms_fill()
574 if (fc_host->fdmi_version == FDMI_V2) { in fc_ct_ms_fill()
/linux-6.1.9/drivers/scsi/fcoe/
Dfcoe.c2717 struct fc_host_attrs *fc_host; in fcoe_vport_remove() local
2723 fc_host = shost_to_fc_host(shost); in fcoe_vport_remove()
2727 list_for_each_entry_safe(vport, next_vport, &fc_host->vports, peers) { in fcoe_vport_remove()
/linux-6.1.9/drivers/scsi/qedf/
Dqedf_main.c2025 struct fc_host_attrs *fc_host = shost_to_fc_host(qedf->lport->host); in qedf_wait_for_vport_destroy() local
2029 while (fc_host->npiv_vports_inuse > 0) { in qedf_wait_for_vport_destroy()
3905 struct fc_host_attrs *fc_host; in qedf_get_protocol_tlv_data() local
3920 fc_host = shost_to_fc_host(host); in qedf_get_protocol_tlv_data()
3938 fcoe->num_npiv_ids = fc_host->npiv_vports_inuse; in qedf_get_protocol_tlv_data()