Searched refs:vn_port (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/drivers/scsi/libfc/ |
| 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 …]
|
| /Linux-v5.4/drivers/scsi/qedf/ |
| D | qedf_main.c | 1004 struct fc_lport *vn_port = NULL; in qedf_xmit() local 1022 vn_port = base_lport; in qedf_xmit() 1029 vn_port = tmp_lport; in qedf_xmit() 1034 if (vn_port && ntoh24(fh->fh_d_id) != FC_FID_FLOGI) { in qedf_xmit() 1720 struct fc_lport *vn_port; in qedf_vport_create() local 1742 vn_port = libfc_vport_create(vport, sizeof(struct qedf_ctx)); in qedf_vport_create() 1743 if (!vn_port) { in qedf_vport_create() 1755 vport_qedf = lport_priv(vn_port); in qedf_vport_create() 1759 vport_qedf->lport = vn_port; in qedf_vport_create() 1767 rc = qedf_vport_libfc_config(vport, vn_port); in qedf_vport_create() [all …]
|
| /Linux-v5.4/drivers/scsi/bnx2fc/ |
| D | bnx2fc_fcoe.c | 516 struct fc_lport *vn_port; in bnx2fc_recv_frame() local 571 vn_port = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame() 572 if (vn_port) { in bnx2fc_recv_frame() 573 port = lport_priv(vn_port); in bnx2fc_recv_frame() 618 if (lport->port_id != ntoh24(fh->fh_d_id) && !vn_port) { in bnx2fc_recv_frame() 1131 struct fc_lport *vn_port; in bnx2fc_vport_create() local 1151 vn_port = bnx2fc_if_create(interface, &vport->dev, 1); in bnx2fc_vport_create() 1155 if (!vn_port) { in bnx2fc_vport_create() 1162 fc_host_dev_loss_tmo(vn_port->host) = bnx2fc_devloss_tmo; in bnx2fc_vport_create() 1167 vn_port->boot_time = jiffies; in bnx2fc_vport_create() [all …]
|
| /Linux-v5.4/drivers/scsi/fcoe/ |
| D | fcoe.c | 2664 struct fc_lport *vn_port; in fcoe_vport_create() local 2679 vn_port = fcoe_if_create(fcoe, &vport->dev, 1); in fcoe_vport_create() 2683 if (IS_ERR(vn_port)) { in fcoe_vport_create() 2692 vn_port->boot_time = jiffies; in fcoe_vport_create() 2693 fc_fabric_login(vn_port); in fcoe_vport_create() 2694 fc_vport_setlink(vn_port); in fcoe_vport_create() 2709 struct fc_lport *vn_port = vport->dd_data; in fcoe_vport_destroy() local 2712 list_del(&vn_port->list); in fcoe_vport_destroy() 2717 fcoe_if_destroy(vn_port); in fcoe_vport_destroy()
|
| D | fcoe_ctlr.c | 1321 struct fc_lport *vn_port = NULL; in fcoe_ctlr_recv_clr_vlink() local 1424 vn_port = fc_vport_id_lookup(lport, in fcoe_ctlr_recv_clr_vlink() 1426 if (vn_port && (vn_port == lport)) { in fcoe_ctlr_recv_clr_vlink() 1464 list_for_each_entry(vn_port, &lport->vports, list) in fcoe_ctlr_recv_clr_vlink() 1465 fc_lport_reset(vn_port); in fcoe_ctlr_recv_clr_vlink() 1476 vn_port = fc_vport_id_lookup(lport, in fcoe_ctlr_recv_clr_vlink() 1478 if (!vn_port) in fcoe_ctlr_recv_clr_vlink() 1485 if (!ether_addr_equal(fip->get_src_addr(vn_port), in fcoe_ctlr_recv_clr_vlink() 1488 vn_port->wwpn) in fcoe_ctlr_recv_clr_vlink() 1491 if (vn_port == lport) in fcoe_ctlr_recv_clr_vlink() [all …]
|
| 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()
|