/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch_offloads_termtbl.c | 31 hash = jhash((const void *)&dest->vport.vhca_id, in mlx5_eswitch_termtbl_hash() 50 dest1->vport.vhca_id != dest2->vport.vhca_id || in mlx5_eswitch_termtbl_cmp() 141 tt->dest.vport.vhca_id = dest->vport.vhca_id; in mlx5_eswitch_termtbl_get_create() 323 dest[i].vport.vhca_id = tt->dest.vport.vhca_id; in mlx5_eswitch_add_termtbl_rule()
|
H A D | eswitch_offloads.c | 67 u16 vhca_id; member 110 key->vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); in flow_attr_to_vport_key() 286 MLX5_CAP_GEN(attr->in_mdev, vhca_id)); in mlx5_eswitch_set_rule_source_port() 361 dest[i].vport.vhca_id = in mlx5_eswitch_add_offloaded_rule() 362 MLX5_CAP_GEN(esw_attr->dests[j].mdev, vhca_id); in mlx5_eswitch_add_offloaded_rule() 477 dest[i].vport.vhca_id = in mlx5_eswitch_add_fwd_rule() 478 MLX5_CAP_GEN(esw_attr->dests[i].mdev, vhca_id); in mlx5_eswitch_add_fwd_rule() 883 MLX5_CAP_GEN(peer_dev, vhca_id)); in peer_miss_rules_setup() 896 dest->vport.vhca_id in peer_miss_rules_setup() [all...] |
H A D | transobj.c | 399 MLX5_CAP_GEN(hp->func_mdev, vhca_id), hp->rqn[i]); in mlx5_hairpin_pair_queues() 408 MLX5_CAP_GEN(hp->peer_mdev, vhca_id), hp->sqn[i]); in mlx5_hairpin_pair_queues()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch_offloads_termtbl.c | 31 hash = jhash((const void *)&dest->vport.vhca_id, in mlx5_eswitch_termtbl_hash() 50 dest1->vport.vhca_id != dest2->vport.vhca_id || in mlx5_eswitch_termtbl_cmp() 143 tt->dest.vport.vhca_id = dest->vport.vhca_id; in mlx5_eswitch_termtbl_get_create() 327 dest[i].vport.vhca_id = tt->dest.vport.vhca_id; in mlx5_eswitch_add_termtbl_rule()
|
H A D | eswitch_offloads.c | 161 MLX5_CAP_GEN(src_esw->dev, vhca_id)); in mlx5_eswitch_set_rule_source_port() 426 return MLX5_CAP_GEN(mdev1, vhca_id) == MLX5_CAP_GEN(mdev2, vhca_id); in esw_same_vhca_id() 473 dest[dest_idx].vport.vhca_id = in esw_setup_dest_fwd_vport() 474 MLX5_CAP_GEN(esw_attr->dests[attr_idx].mdev, vhca_id); in esw_setup_dest_fwd_vport() 973 MLX5_CAP_GEN(from_esw->dev, vhca_id)); in mlx5_eswitch_add_send_to_vport_rule() 987 dest.vport.vhca_id = MLX5_CAP_GEN(rep->esw->dev, vhca_id); in mlx5_eswitch_add_send_to_vport_rule() 999 dest.vport.vhca_id = MLX5_CAP_GEN(rep->esw->dev, vhca_id); in mlx5_eswitch_add_send_to_vport_rule() 2930 u16 vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); mlx5_esw_offloads_set_ns_peer() local 4111 mlx5_esw_query_vport_vhca_id(struct mlx5_eswitch *esw, u16 vport_num, u16 *vhca_id) mlx5_esw_query_vport_vhca_id() argument 4138 u16 *old_entry, *vhca_map_entry, vhca_id; mlx5_esw_vport_vhca_id_set() local 4164 u16 *vhca_map_entry, vhca_id; mlx5_esw_vport_vhca_id_clear() local 4176 mlx5_eswitch_vhca_id_to_vport(struct mlx5_eswitch *esw, u16 vhca_id, u16 *vport_num) mlx5_eswitch_vhca_id_to_vport() argument [all...] |
H A D | eswitch.h | 637 return esw_owner_vhca_id == MLX5_CAP_GEN(esw->dev, vhca_id) || in mlx5_esw_is_owner() 656 return (MLX5_CAP_GEN(dev, vhca_id) << 16) | vport_num; in mlx5_esw_vport_to_devlink_port_index() 813 int mlx5_eswitch_vhca_id_to_vport(struct mlx5_eswitch *esw, u16 vhca_id, u16 *vport_num);
|
H A D | transobj.c | 399 MLX5_CAP_GEN(hp->func_mdev, vhca_id), hp->rqn[i]); in mlx5_hairpin_pair_queues() 408 MLX5_CAP_GEN(hp->peer_mdev, vhca_id), hp->sqn[i]); in mlx5_hairpin_pair_queues()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | vporttbl.c | 13 u16 vhca_id; member 62 key->vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); in flow_attr_to_vport_key()
|
H A D | indir_table.c | 234 dest.vport.vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); in mlx5_create_indir_fwd_group()
|
/kernel/linux/linux-6.6/drivers/vfio/pci/mlx5/ |
H A D | cmd.c | 34 u16 *vhca_id); 62 MLX5_SET(suspend_vhca_in, in, vhca_id, mvdev->vhca_id); in mlx5vf_cmd_suspend_vhca() 82 MLX5_SET(resume_vhca_in, in, vhca_id, mvdev->vhca_id); in mlx5vf_cmd_resume_vhca() 127 MLX5_SET(query_vhca_migration_state_in, in, vhca_id, mvdev->vhca_id); in mlx5vf_cmd_query_vhca_migration_state() 226 &mvdev->vhca_id)) in mlx5vf_cmd_set_migratable() 262 u16 *vhca_id) in mlx5vf_cmd_get_vhca_id() 285 *vhca_id in mlx5vf_cmd_get_vhca_id() 261 mlx5vf_cmd_get_vhca_id(struct mlx5_core_dev *mdev, u16 function_id, u16 *vhca_id) mlx5vf_cmd_get_vhca_id() argument [all...] |
H A D | cmd.h | 162 u16 vhca_id; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
H A D | egress_ofld.c | 228 fwd_dest.vport.vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); in mlx5_esw_acl_egress_vport_bond()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A D | std_types.c | 106 capability.cmd_hca_cap.vhca_id); in fill_vport_vhca_id() 138 info->esw_owner_vhca_id = MLX5_CAP_GEN(mdev, vhca_id); in fill_switchdev_info()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | port_sel.c | 84 dest.vport.vhca_id = MLX5_CAP_GEN(ldev->pf[affinity - 1].dev, in mlx5_lag_create_port_sel_table() 85 vhca_id); in mlx5_lag_create_port_sel_table() 580 dest.vport.vhca_id = MLX5_CAP_GEN(ldev->pf[ports[idx] - 1].dev, in __mlx5_lag_modify_definers_destinations() 581 vhca_id); in __mlx5_lag_modify_definers_destinations()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
H A D | egress_ofld.c | 259 fwd_dest.vport.vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); in mlx5_esw_acl_egress_vport_bond()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | mlx5dr.h | 91 u16 vhca_id);
|
H A D | dr_cmd.c | 60 *gvmi = MLX5_GET(query_hca_cap_out, out, capability.cmd_hca_cap.vhca_id); in mlx5dr_cmd_query_gvmi() 93 caps->gvmi = MLX5_CAP_GEN(mdev, vhca_id); in mlx5dr_cmd_query_device() 632 fte->dest_arr[i].vport.vhca_id); in mlx5dr_cmd_set_fte()
|
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/core/ |
H A D | mlx5_vdpa_ifc.h | 85 u8 vhca_id[0x10]; member
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
H A D | fs.h | 131 u16 vhca_id; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | mlx5dr.h | 98 u16 vhca_id);
|
H A D | dr_cmd.c | 62 *gvmi = MLX5_GET(query_hca_cap_out, out, capability.cmd_hca_cap.vhca_id); in mlx5dr_cmd_query_gvmi() 119 caps->gvmi = MLX5_CAP_GEN(mdev, vhca_id); in mlx5dr_cmd_query_device() 909 fte->dest_arr[i].vport.vhca_id); in mlx5dr_cmd_set_fte()
|
H A D | fs_dr.c | 196 dest_attr->vport.vhca_id); in create_vport_action() 205 dest_attr->vport.vhca_id); in create_uplink_action()
|
H A D | dr_action.c | 1209 hw_dests[i].vport.vhca_id = dest_action->vport->caps->vhca_gvmi; in mlx5dr_action_create_mult_dest_tbl() 2079 u16 vhca_id) in mlx5dr_action_create_dest_vport() 2087 (vhca_id != dmn->info.caps.gvmi); in mlx5dr_action_create_dest_vport() 2088 vport_dmn = peer_vport ? xa_load(&dmn->peer_dmn_xa, vhca_id) : dmn; in mlx5dr_action_create_dest_vport() 2090 mlx5dr_dbg(dmn, "No peer vport domain for given vhca_id\n"); in mlx5dr_action_create_dest_vport() 2077 mlx5dr_action_create_dest_vport(struct mlx5dr_domain *dmn, u16 vport, u8 vhca_id_valid, u16 vhca_id) mlx5dr_action_create_dest_vport() argument
|
/kernel/linux/linux-6.6/include/linux/mlx5/ |
H A D | mlx5_ifc_vdpa.h | 85 u8 vhca_id[0x10]; member
|
H A D | fs.h | 169 u16 vhca_id; member
|