Searched refs:vn_port (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/scsi/libfc/ |
| H A D | fc_npiv.c | 25 struct fc_lport *vn_port; in libfc_vport_create() local 27 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create() 28 if (!vn_port) in libfc_vport_create() 29 return vn_port; in libfc_vport_create() 31 vn_port->vport = vport; in libfc_vport_create() 32 vport->dd_data = vn_port; in libfc_vport_create() 35 list_add_tail(&vn_port->list, &n_port->vports); in libfc_vport_create() 38 return vn_port; in libfc_vport_create() 52 struct fc_lport *vn_port; in fc_vport_id_lookup() local 61 list_for_each_entry(vn_port, &n_port->vports, list) { in fc_vport_id_lookup() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/qedf/ |
| H A D | qedf_main.c | 1071 struct fc_lport *vn_port = NULL; in qedf_xmit() local 1089 vn_port = base_lport; in qedf_xmit() 1096 vn_port = tmp_lport; in qedf_xmit() 1101 if (vn_port && ntoh24(fh->fh_d_id) != FC_FID_FLOGI) { in qedf_xmit() 1818 struct fc_lport *vn_port; in qedf_vport_create() local 1839 vn_port = libfc_vport_create(vport, sizeof(struct qedf_ctx)); in qedf_vport_create() 1840 if (!vn_port) { in qedf_vport_create() 1851 vport_qedf = lport_priv(vn_port); in qedf_vport_create() 1855 vport_qedf->lport = vn_port; in qedf_vport_create() 1864 rc = qedf_vport_libfc_config(vport, vn_port); in qedf_vport_create() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/bnx2fc/ |
| H A D | bnx2fc_fcoe.c | 517 struct fc_lport *vn_port; in bnx2fc_recv_frame() local 577 vn_port = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame() 578 if (vn_port) { in bnx2fc_recv_frame() 579 port = lport_priv(vn_port); in bnx2fc_recv_frame() 624 if (lport->port_id != ntoh24(fh->fh_d_id) && !vn_port) { in bnx2fc_recv_frame() 1135 struct fc_lport *vn_port; in bnx2fc_vport_create() local 1155 vn_port = bnx2fc_if_create(interface, &vport->dev, 1); in bnx2fc_vport_create() 1159 if (!vn_port) { in bnx2fc_vport_create() 1166 fc_host_dev_loss_tmo(vn_port->host) = bnx2fc_devloss_tmo; in bnx2fc_vport_create() 1171 vn_port->boot_time = jiffies; in bnx2fc_vport_create() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/fcoe/ |
| H A D | fcoe.c | 2662 struct fc_lport *vn_port; in fcoe_vport_create() local 2677 vn_port = fcoe_if_create(fcoe, &vport->dev, 1); in fcoe_vport_create() 2681 if (IS_ERR(vn_port)) { in fcoe_vport_create() 2690 vn_port->boot_time = jiffies; in fcoe_vport_create() 2691 fc_fabric_login(vn_port); in fcoe_vport_create() 2692 fc_vport_setlink(vn_port); in fcoe_vport_create() 2707 struct fc_lport *vn_port = vport->dd_data; in fcoe_vport_destroy() local 2710 list_del(&vn_port->list); in fcoe_vport_destroy() 2715 fcoe_if_destroy(vn_port); in fcoe_vport_destroy()
|
| H A D | fcoe_ctlr.c | 1323 struct fc_lport *vn_port = NULL; in fcoe_ctlr_recv_clr_vlink() local 1426 vn_port = fc_vport_id_lookup(lport, in fcoe_ctlr_recv_clr_vlink() 1428 if (vn_port && (vn_port == lport)) { in fcoe_ctlr_recv_clr_vlink() 1466 list_for_each_entry(vn_port, &lport->vports, list) in fcoe_ctlr_recv_clr_vlink() 1467 fc_lport_reset(vn_port); in fcoe_ctlr_recv_clr_vlink() 1478 vn_port = fc_vport_id_lookup(lport, in fcoe_ctlr_recv_clr_vlink() 1480 if (!vn_port) in fcoe_ctlr_recv_clr_vlink() 1487 if (!ether_addr_equal(fip->get_src_addr(vn_port), in fcoe_ctlr_recv_clr_vlink() 1490 vn_port->wwpn) in fcoe_ctlr_recv_clr_vlink() 1493 if (vn_port == lport) in fcoe_ctlr_recv_clr_vlink() [all …]
|
| H A D | fcoe_transport.c | 252 struct fc_lport *vn_port; in fcoe_validate_vport_create() local 268 list_for_each_entry(vn_port, &n_port->vports, list) { in fcoe_validate_vport_create() 269 if (!memcmp(&vn_port->wwpn, &vport->port_name, sizeof(u64))) { in fcoe_validate_vport_create()
|