/drivers/infiniband/hw/mlx5/ |
D | ib_rep.h | 17 u16 vport_num); 20 u16 vport_num); 27 u16 vport_num); 36 u16 vport_num) in mlx5_ib_get_rep_ibdev() argument 49 u16 vport_num) in mlx5_ib_vport_rep() argument 66 u16 vport_num) in mlx5_ib_get_rep_netdev() argument
|
D | ib_rep.c | 117 u16 vport_num) in mlx5_ib_get_rep_ibdev() argument 119 return mlx5_eswitch_get_proto_dev(esw, vport_num, REP_IB); in mlx5_ib_get_rep_ibdev() 123 u16 vport_num) in mlx5_ib_get_rep_netdev() argument 125 return mlx5_eswitch_get_proto_dev(esw, vport_num, REP_ETH); in mlx5_ib_get_rep_netdev() 134 u16 vport_num) in mlx5_ib_vport_rep() argument 136 return mlx5_eswitch_vport_rep(esw, vport_num); in mlx5_ib_vport_rep()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch.c | 65 mlx5_eswitch_get_vport(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_get_vport() argument 72 idx = mlx5_eswitch_vport_num_to_index(esw, vport_num); in mlx5_eswitch_get_vport() 76 vport_num, idx); in mlx5_eswitch_get_vport() 560 u16 i, vport_num; in update_allmulti_vports() local 568 vport_num = vport->vport; in update_allmulti_vports() 570 vaddr->vport == vport_num) in update_allmulti_vports() 582 mac, vport_num); in update_allmulti_vports() 585 iter_vaddr->vport = vport_num; in update_allmulti_vports() 589 vport_num); in update_allmulti_vports() 1588 int mlx5_esw_modify_vport_rate(struct mlx5_eswitch *esw, u16 vport_num, in mlx5_esw_modify_vport_rate() argument [all …]
|
D | eswitch.h | 266 int mlx5_esw_modify_vport_rate(struct mlx5_eswitch *esw, u16 vport_num, 283 u16 vport_num, bool setting); 492 u16 vport_num) in mlx5_eswitch_vport_num_to_index() argument 494 if (vport_num == MLX5_VPORT_ECPF) { in mlx5_eswitch_vport_num_to_index() 500 if (vport_num == MLX5_VPORT_UPLINK) in mlx5_eswitch_vport_num_to_index() 503 return vport_num; in mlx5_eswitch_vport_num_to_index() 589 mlx5_eswitch_get_vport(struct mlx5_eswitch *esw, u16 vport_num); 591 bool mlx5_eswitch_is_vf_vport(const struct mlx5_eswitch *esw, u16 vport_num);
|
D | eswitch_offloads.c | 57 u16 vport_num) in mlx5_eswitch_get_rep() argument 59 int idx = mlx5_eswitch_vport_num_to_index(esw, vport_num); in mlx5_eswitch_get_rep() 2591 bool mlx5_eswitch_is_vf_vport(const struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_is_vf_vport() argument 2593 return vport_num >= MLX5_VPORT_FIRST_VF && in mlx5_eswitch_is_vf_vport() 2594 vport_num <= esw->dev->priv.sriov.max_vfs; in mlx5_eswitch_is_vf_vport() 2604 u16 vport_num) in mlx5_eswitch_get_vport_metadata_for_match() argument 2606 return ((MLX5_CAP_GEN(esw->dev, vhca_id) & 0xffff) << 16) | vport_num; in mlx5_eswitch_get_vport_metadata_for_match()
|
D | en_rep.c | 1805 vport_to_devlink_port_index(const struct mlx5_core_dev *dev, u16 vport_num) in vport_to_devlink_port_index() argument 1807 return (MLX5_CAP_GEN(dev, vhca_id) << 16) | vport_num; in vport_to_devlink_port_index()
|
D | en_tc.c | 3950 u16 vport_num; in apply_police_params() local 3954 vport_num = rpriv->rep->vport; in apply_police_params() 3955 if (vport_num >= MLX5_VPORT_ECPF) { in apply_police_params() 3969 err = mlx5_esw_modify_vport_rate(esw, vport_num, rate_mbps); in apply_police_params()
|
/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_vema.c | 150 u8 vport_num = vema_get_vport_num(recvd_mad); in vema_get_vport_adapter() local 152 return xa_load(&port->vports, vport_num); in vema_get_vport_adapter() 201 u8 vport_num) in vema_add_vport() argument 206 adapter = opa_vnic_add_netdev(cport->ibdev, port->port_num, vport_num); in vema_add_vport() 211 rc = xa_insert(&port->vports, vport_num, adapter, GFP_KERNEL); in vema_add_vport() 315 u8 vport_num; in vema_set_veswport_info() local 317 vport_num = vema_get_vport_num(recvd_mad); in vema_set_veswport_info() 321 adapter = vema_add_vport(port, vport_num); in vema_set_veswport_info() 324 vport_num, PTR_ERR(adapter)); in vema_set_veswport_info()
|
D | opa_vnic_netdev.c | 324 u8 port_num, u8 vport_num) in opa_vnic_add_netdev() argument 353 adapter->vport_num = vport_num; in opa_vnic_add_netdev()
|
D | opa_vnic_internal.h | 203 u8 vport_num; member 298 u8 port_num, u8 vport_num);
|
D | opa_vnic_vema_iface.c | 70 trap_data.veswportindex = adapter->vport_num; in opa_vnic_vema_report_event() 96 cntrs->vp_instance = cpu_to_be16(adapter->vport_num); in opa_vnic_get_summary_counters() 135 cntrs->vp_instance = cpu_to_be16(adapter->vport_num); in opa_vnic_get_error_counters()
|
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_fw.c | 8 mlx5dr_fw_create_recalc_cs_ft(struct mlx5dr_domain *dmn, u32 vport_num) in mlx5dr_fw_create_recalc_cs_ft() argument 51 vport_num); in mlx5dr_fw_create_recalc_cs_ft()
|
D | dr_domain.c | 36 u32 vport_num, in mlx5dr_domain_cache_get_recalc_cs_ft_addr() argument 41 recalc_cs_ft = dmn->cache.recalc_cs_ft[vport_num]; in mlx5dr_domain_cache_get_recalc_cs_ft_addr() 44 recalc_cs_ft = mlx5dr_fw_create_recalc_cs_ft(dmn, vport_num); in mlx5dr_domain_cache_get_recalc_cs_ft_addr() 48 dmn->cache.recalc_cs_ft[vport_num] = recalc_cs_ft; in mlx5dr_domain_cache_get_recalc_cs_ft_addr()
|
D | dr_types.h | 1057 mlx5dr_fw_create_recalc_cs_ft(struct mlx5dr_domain *dmn, u32 vport_num); 1061 u32 vport_num,
|
/drivers/scsi/lpfc/ |
D | lpfc_vport.h | 112 int vport_num; member
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 7724 u16 vport_idx, vport_num = 0; in hclge_set_vlan_filter_hw() local 7760 vport_num++; in hclge_set_vlan_filter_hw() 7762 if ((is_kill && vport_num == 0) || (!is_kill && vport_num == 1)) in hclge_set_vlan_filter_hw()
|