Home
last modified time | relevance | path

Searched refs:vport (Results 51 – 75 of 186) sorted by relevance

12345678

/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dstd_types.c28 static int fill_vport_icm_addr(struct mlx5_core_dev *mdev, u16 vport, in fill_vport_icm_addr() argument
41 if (vport == MLX5_VPORT_UPLINK) { in fill_vport_icm_addr()
49 MLX5_SET(query_esw_vport_context_in, in, vport_number, vport); in fill_vport_icm_addr()
82 static int fill_vport_vhca_id(struct mlx5_core_dev *mdev, u16 vport, in fill_vport_vhca_id() argument
96 MLX5_SET(query_hca_cap_in, in, function_id, vport); in fill_vport_vhca_id()
129 info->vport = rep->vport; in fill_switchdev_info()
132 if (rep->vport != MLX5_VPORT_UPLINK) { in fill_switchdev_info()
133 err = fill_vport_vhca_id(mdev, rep->vport, info); in fill_switchdev_info()
141 err = fill_vport_icm_addr(mdev, rep->vport, info); in fill_switchdev_info()
147 rep->esw, rep->vport); in fill_switchdev_info()
H A Dib_rep.c25 mlx5_ib_get_rep_netdev(rep->esw, rep->vport); in mlx5_ib_set_vport_rep()
68 if (rep->vport == MLX5_VPORT_UPLINK) { in mlx5_ib_vport_rep_load()
88 if (rep->vport == MLX5_VPORT_UPLINK && !new_uplink) in mlx5_ib_vport_rep_load()
108 mlx5_ib_get_rep_netdev(lag_master->priv.eswitch, rep->vport); in mlx5_ib_vport_rep_load()
151 if (rep->vport == MLX5_VPORT_UPLINK && !mlx5_lag_is_mpesw(mdev)) in mlx5_ib_vport_rep_unload()
169 if (rep->vport == MLX5_VPORT_UPLINK) { in mlx5_ib_vport_rep_unload()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_scsi.c404 psb->rdata->pnode->vport == vport) in lpfc_sli4_vport_delete_fcp_xri_aborted()
3631 fast_path_evt->vport = vport; in lpfc_send_scsi_error_event()
4002 struct lpfc_vport *vport = pwqeIn->vport; in lpfc_fcp_io_cmd_wqe_cmpl() local
4138 fast_path_evt->vport = vport; in lpfc_fcp_io_cmd_wqe_cmpl()
4332 struct lpfc_vport *vport = pIocbIn->vport; in lpfc_scsi_cmd_iocb_cmpl() local
4457 fast_path_evt->vport = vport; in lpfc_scsi_cmd_iocb_cmpl()
4657 piocbq->vport = vport; in lpfc_scsi_prep_cmnd_buf_s3()
4764 pwqeq->vport = vport; in lpfc_scsi_prep_cmnd_buf_s4()
4842 piocbq->vport = vport; in lpfc_scsi_prep_task_mgmt_cmd_s3()
4901 pwqeq->vport = vport; in lpfc_scsi_prep_task_mgmt_cmd_s4()
[all …]
H A Dlpfc_crtn.h210 int lpfc_issue_gidpt(struct lpfc_vport *vport);
211 int lpfc_issue_gidft(struct lpfc_vport *vport);
220 void lpfc_update_vport_wwn(struct lpfc_vport *vport);
368 struct lpfc_vport *vport,
443 void lpfc_setup_fdmi_mask(struct lpfc_vport *vport);
444 int lpfc_link_reset(struct lpfc_vport *vport);
618 void lpfc_nvme_rescan_port(struct lpfc_vport *vport,
678 int lpfc_vmid_cmd(struct lpfc_vport *vport,
687 int lpfc_issue_els_qfpa(struct lpfc_vport *vport);
688 void lpfc_reinit_vmid(struct lpfc_vport *vport);
[all …]
H A Dlpfc_mbox.c916 lpfc_unreg_login(phba, vport->vpi, phba->vpi_ids[vport->vpi], in lpfc_sli4_unreg_all_rpis()
919 mbox->vport = vport; in lpfc_sli4_unreg_all_rpis()
960 mb->un.varRegVpi.vfi = vport->vfi + vport->phba->vfi_base; in lpfc_reg_vpi()
1635 if (!mboxq->vport) { in lpfc_mbox_cmd_check()
2190 mbox->vport = vport; in lpfc_init_vfi()
2197 vport->phba->sli4_hba.vfi_ids[vport->vfi]); in lpfc_init_vfi()
2199 vport->phba->vpi_ids[vport->vpi]); in lpfc_init_vfi()
2274 vport->fc_myDID, in lpfc_reg_vfi()
2323 vport->phba->sli4_hba.vfi_ids[vport->vfi]); in lpfc_unreg_vfi()
2397 mbox->vport = rdp_context->ndlp->vport; in lpfc_mbx_cmpl_rdp_page_a2()
[all …]
H A Dlpfc_debugfs.c164 dtp = vport->disc_trc + i; in lpfc_debugfs_disc_trc_data()
175 dtp = vport->disc_trc + i; in lpfc_debugfs_disc_trc_data()
1832 !vport || !vport->disc_trc) in lpfc_debugfs_disc_trc()
6331 if (!vport->disc_trc) { in lpfc_debugfs_initialize()
6340 vport->debug_disc_trc = in lpfc_debugfs_initialize()
6345 vport->debug_nodelist = in lpfc_debugfs_initialize()
6351 vport->debug_nvmestat = in lpfc_debugfs_initialize()
6357 vport->debug_scsistat = in lpfc_debugfs_initialize()
6368 vport->debug_ioktime = in lpfc_debugfs_initialize()
6379 vport->debug_hdwqstat = in lpfc_debugfs_initialize()
[all …]
H A Dlpfc_init.c359 memcpy(&vport->fc_nodename, &vport->fc_sparam.nodeName, in lpfc_update_vport_wwn()
362 memcpy(&vport->fc_sparam.nodeName, &vport->fc_nodename, in lpfc_update_vport_wwn()
370 memcmp(&vport->fc_portname, &vport->fc_sparam.portName, in lpfc_update_vport_wwn()
395 memcpy(&vport->fc_portname, &vport->fc_sparam.portName, in lpfc_update_vport_wwn()
398 memcpy(&vport->fc_sparam.portName, &vport->fc_portname, in lpfc_update_vport_wwn()
451 pmb->vport = vport; in lpfc_config_port_post()
506 pmb->vport = vport; in lpfc_config_port_post()
771 pmb->vport = vport; in lpfc_hba_init_link_fc_topology()
2220 pmb->vport = vport; in lpfc_handle_latt()
4946 if (vport->num_disc_nodes || vport->fc_prli_sent) in lpfc_scan_finished()
[all …]
H A Dlpfc_sli.c1114 if (rrq->vport != vport) in lpfc_cleanup_vports_rrqs()
1214 rrq->vport = ndlp->vport; in lpfc_set_rrq_active()
2899 pmb->vport = vport; in lpfc_sli_def_mbox_cmpl()
8764 mboxq->vport = vport; in lpfc_sli4_hba_setup()
13784 vport = pmb->vport; in lpfc_sli_sp_intr_handler()
13847 pmb->vport = vport; in lpfc_sli_sp_intr_handler()
14312 vport = pmb->vport; in lpfc_sli4_sp_handle_mbox_event()
14361 pmb->vport = vport; in lpfc_sli4_sp_handle_mbox_event()
19360 iocbq->vport = vport; in lpfc_sli4_handle_mds_loopback()
21008 if (mb->vport != vport) in lpfc_cleanup_pending_mbox()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dofld.h11 int esw_acl_egress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
12 void esw_acl_egress_ofld_cleanup(struct mlx5_vport *vport);
13 void esw_acl_egress_ofld_bounce_rule_destroy(struct mlx5_vport *vport, int rule_index);
26 int esw_acl_ingress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
27 void esw_acl_ingress_ofld_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
H A Dlgcy.h10 int esw_acl_egress_lgcy_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
11 void esw_acl_egress_lgcy_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
14 int esw_acl_ingress_lgcy_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
15 void esw_acl_ingress_lgcy_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_fcs.h148 struct bfa_fcs_vport_s *vport; /* NULL for base ports */ member
313 u16 vf_id, struct bfa_fcs_vport_s *vport);
358 #define bfa_fcs_vport_get_port(vport) \ argument
359 ((struct bfa_fcs_lport_s *)(&vport->port))
376 void bfa_fcs_vport_get_attr(struct bfa_fcs_vport_s *vport,
380 void bfa_fcs_vport_cleanup(struct bfa_fcs_vport_s *vport);
381 void bfa_fcs_vport_online(struct bfa_fcs_vport_s *vport);
382 void bfa_fcs_vport_offline(struct bfa_fcs_vport_s *vport);
385 void bfa_fcs_vport_fcs_stop(struct bfa_fcs_vport_s *vport);
804 struct bfa_fcs_vport_s *vport);
[all …]
H A Dbfad_attr.c384 struct bfad_vport_s *vport; in bfad_im_vport_create() local
403 vport = fcs_vport->vport_drv; in bfad_im_vport_create()
424 fc_vport->dd_data = vport; in bfad_im_vport_create()
493 list_del(&vport->list_entry); in bfad_im_vport_delete()
494 kfree(vport); in bfad_im_vport_delete()
510 vport->comp_del = &fcomp; in bfad_im_vport_delete()
519 vport->comp_del = NULL; in bfad_im_vport_delete()
526 list_del(&vport->list_entry); in bfad_im_vport_delete()
527 kfree(vport); in bfad_im_vport_delete()
535 struct bfad_vport_s *vport; in bfad_im_vport_disable() local
[all …]
H A Dbfa_fcs.c949 struct bfa_fcs_vport_s *vport; in bfa_fcs_fabric_notify_online() local
964 bfa_fcs_vport_online(vport); in bfa_fcs_fabric_notify_online()
971 struct bfa_fcs_vport_s *vport; in bfa_fcs_fabric_notify_offline() local
982 bfa_fcs_vport_offline(vport); in bfa_fcs_fabric_notify_offline()
1005 struct bfa_fcs_vport_s *vport; in bfa_fcs_fabric_stop() local
1027 struct bfa_fcs_vport_s *vport; in bfa_fcs_fabric_delete() local
1140 list_del(&vport->qe); in bfa_fcs_fabric_delvport()
1152 struct bfa_fcs_vport_s *vport; in bfa_fcs_fabric_vport_lookup() local
1158 return vport; in bfa_fcs_fabric_vport_lookup()
1198 struct bfa_fcs_vport_s *vport; in bfa_fcs_fabric_uf_recv() local
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_transport_fc.c32 struct fc_vport **vport);
2390 (vport->port_name == wwpn) && (vport->node_name == wwnn)) { in store_fc_host_vport_delete()
2485 kfree(vport); in fc_vport_dev_release()
3858 vport->dd_data = &vport[1]; in fc_vport_setup()
3859 vport->shost = shost; in fc_vport_setup()
3868 kfree(vport); in fc_vport_setup()
3878 dev = &vport->dev; in fc_vport_setup()
3921 *ret_vport = vport; in fc_vport_setup()
3936 kfree(vport); in fc_vport_setup()
3959 ids, &vport); in fc_vport_create()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dindir_table.h16 u16 vport, bool decap);
18 u16 vport, bool decap);
45 u16 vport, bool decap) in mlx5_esw_indir_table_get() argument
52 u16 vport, bool decap) in mlx5_esw_indir_table_put() argument
H A Dlegacy.h16 int esw_legacy_vport_acl_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
17 void esw_legacy_vport_acl_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
20 struct mlx5_vport *vport,
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c54 if (vport) in mlx5_query_vport_state()
65 u16 vport, u8 other_vport, u8 state) in mlx5_modify_vport_admin_state() argument
87 if (vport) in mlx5_query_nic_vport_context()
94 u16 vport, u8 *min_inline) in mlx5_query_nic_vport_min_inline() argument
126 u16 vport, u8 min_inline) in mlx5_modify_nic_vport_min_inline() argument
177 u16 vport, const u8 *addr) in mlx5_modify_nic_vport_mac_address() argument
254 u16 vport, in mlx5_query_nic_vport_mac_list() argument
291 if (vport || mlx5_core_is_ecpf(dev)) in mlx5_query_nic_vport_mac_list()
464 u16 vport, u64 node_guid) in mlx5_modify_nic_vport_node_guid() argument
765 u16 vport, in mlx5_query_nic_vport_promisc() argument
[all …]
H A Den_rep.c199 rep->vport, err); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
629 rep->vport, 1, in mlx5e_rep_open()
648 rep->vport, 1, in mlx5e_rep_close()
794 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5e_build_rep_params()
817 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_build_rep_params()
1339 &MLX5E_STATS_GRP(vport),
1371 rep->vport, true); in mlx5e_rep_vnic_reporter_diagnose()
1480 rep->vport); in mlx5e_vport_vf_rep_load()
1500 rep->vport); in mlx5e_vport_vf_rep_load()
1505 rpriv->rep->vport); in mlx5e_vport_vf_rep_load()
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.h916 struct hclge_vport *vport; member
1084 int hclge_add_uc_addr_common(struct hclge_vport *vport,
1086 int hclge_rm_uc_addr_common(struct hclge_vport *vport,
1088 int hclge_add_mc_addr_common(struct hclge_vport *vport,
1090 int hclge_rm_mc_addr_common(struct hclge_vport *vport,
1094 int hclge_bind_ring_with_vector(struct hclge_vport *vport,
1106 int hclge_inform_reset_assert_to_vf(struct hclge_vport *vport);
1119 int hclge_vport_start(struct hclge_vport *vport);
1120 void hclge_vport_stop(struct hclge_vport *vport);
1127 int hclge_update_mac_list(struct hclge_vport *vport,
[all …]
H A Dhclge_trace.h27 __string(devname, hdev->vport[0].nic.kinfo.netdev->name)
36 __assign_str(devname, hdev->vport[0].nic.kinfo.netdev->name);
59 __string(devname, hdev->vport[0].nic.kinfo.netdev->name)
67 __assign_str(devname, hdev->vport[0].nic.kinfo.netdev->name);
H A Dhclge_mdio.c178 struct hclge_vport *vport = hclge_get_vport(h); in hclge_mac_adjust_link() local
179 struct hclge_dev *hdev = vport->back; in hclge_mac_adjust_link()
204 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_mac_connect_phy() local
205 struct hclge_dev *hdev = vport->back; in hclge_mac_connect_phy()
206 struct net_device *netdev = hdev->vport[0].nic.netdev; in hclge_mac_connect_phy()
244 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_mac_disconnect_phy() local
245 struct hclge_dev *hdev = vport->back; in hclge_mac_disconnect_phy()
268 struct net_device *netdev = hdev->vport[0].nic.netdev; in hclge_mac_stop_phy()
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_encap.c142 adapter->info.vport.mac_tbl_digest = 0; in opa_vnic_release_mac_tbl()
184 tbl->mac_tbl_digest = cpu_to_be32(adapter->info.vport.mac_tbl_digest); in opa_vnic_query_mac_tbl()
374 sc = info->vport.pcp_to_sc_mc[pcp]; in opa_vnic_get_sc()
376 sc = info->vport.pcp_to_sc_uc[pcp]; in opa_vnic_get_sc()
379 sc = info->vport.non_vlan_sc_mc; in opa_vnic_get_sc()
381 sc = info->vport.non_vlan_sc_uc; in opa_vnic_get_sc()
397 vl = info->vport.pcp_to_vl_mc[pcp]; in opa_vnic_get_vl()
399 vl = info->vport.pcp_to_vl_uc[pcp]; in opa_vnic_get_vl()
402 vl = info->vport.non_vlan_vl_mc; in opa_vnic_get_vl()
404 vl = info->vport.non_vlan_vl_uc; in opa_vnic_get_vl()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbond.c123 err = mlx5_esw_acl_ingress_vport_metadata_update(esw, rpriv->rep->vport, in mlx5e_rep_bond_enslave()
131 rpriv->rep->vport, lag_dev->name, mdata->metadata_reg_c_0); in mlx5e_rep_bond_enslave()
170 mlx5_esw_acl_ingress_vport_metadata_update(esw, rpriv->rep->vport, 0); in mlx5e_rep_bond_unslave()
171 mlx5_esw_acl_egress_vport_unbond(esw, rpriv->rep->vport); in mlx5e_rep_bond_unslave()
177 rpriv->rep->vport, lag_dev->name, mdata->metadata_reg_c_0); in mlx5e_rep_bond_unslave()
210 fwd_vport_num = rpriv->rep->vport; in mlx5e_rep_changelowerstate_event()
222 acl_vport_num = rpriv->rep->vport; in mlx5e_rep_changelowerstate_event()
260 info->linking ? "en" : "un", rpriv->rep->vport, lag_dev->name); in mlx5e_rep_changeupper_event()
/openbmc/linux/net/openvswitch/
H A Dactions.c49 struct vport *vport; member
782 struct vport *vport = data->vport; in ovs_vport_output() local
827 static void prepare_frag(struct vport *vport, struct sk_buff *skb, in prepare_frag() argument
835 data->vport = vport; in prepare_frag()
852 static void ovs_fragment(struct net *net, struct vport *vport, in ovs_fragment() argument
878 ovs_rt.dst.dev = vport->dev; in ovs_fragment()
906 vport->dev->mtu); in ovs_fragment()
919 struct vport *vport = ovs_vport_rcu(dp, out_port); in do_output() local
921 if (likely(vport && netif_carrier_ok(vport->dev))) { in do_output()
985 struct vport *vport; in output_userspace() local
[all …]
/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_conn.c136 port = p->vport; in ip_vs_conn_hashkey_param()
272 if (p->cport == cp->cport && p->vport == cp->vport && in __ip_vs_conn_in_get()
374 p->vport == cp->vport && p->cport == cp->cport && in ip_vs_ct_in_get()
415 if (p->vport != cp->cport) in ip_vs_conn_out_get()
419 sport = cp->vport; in ip_vs_conn_out_get()
785 ntohs(ct->vport), in ip_vs_check_template()
792 if (ct->vport != htons(0xffff)) { in ip_vs_check_template()
795 ct->vport = htons(0xffff); in ip_vs_check_template()
966 cp->vport = p->vport; in ip_vs_conn_new()
1157 &cp->vaddr.in6, ntohs(cp->vport), in ip_vs_conn_seq_show()
[all …]

12345678