/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
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()
|
D | eswitch_offloads.c | 167 MLX5_CAP_GEN(src_esw->dev, vhca_id)); in mlx5_eswitch_set_rule_source_port() 429 dest[dest_idx].vport.vhca_id = in esw_setup_vport_dest() 430 MLX5_CAP_GEN(esw_attr->dests[attr_idx].mdev, vhca_id); in esw_setup_vport_dest() 1030 MLX5_CAP_GEN(from_esw->dev, vhca_id)); in mlx5_eswitch_add_send_to_vport_rule() 1042 dest.vport.vhca_id = MLX5_CAP_GEN(rep->esw->dev, vhca_id); in mlx5_eswitch_add_send_to_vport_rule() 1178 MLX5_CAP_GEN(peer_dev, vhca_id)); in peer_miss_rules_setup() 1191 dest->vport.vhca_id = MLX5_CAP_GEN(peer_dev, vhca_id); in peer_miss_rules_setup() 2545 MLX5_CAP_GEN(master, vhca_id)); in esw_set_slave_root_fdb() 2584 MLX5_CAP_GEN(slave, vhca_id)); in __esw_set_master_egress_rule() 2594 dest.vport.vhca_id = MLX5_CAP_GEN(slave, vhca_id); in __esw_set_master_egress_rule() [all …]
|
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()
|
D | eswitch.h | 589 return (MLX5_CAP_GEN(dev, vhca_id) << 16) | vport_num; in mlx5_esw_vport_to_devlink_port_index() 714 int mlx5_eswitch_vhca_id_to_vport(struct mlx5_eswitch *esw, u16 vhca_id, u16 *vport_num);
|
D | fs_cmd.c | 182 MLX5_CAP_GEN(master, vhca_id)); in mlx5_cmd_set_slave_root_fdb() 632 dst->dest_attr.vport.vhca_id); in mlx5_cmd_set_fte()
|
D | en_tc.c | 1027 peer_id = MLX5_CAP_GEN(peer_mdev, vhca_id); in mlx5e_hairpin_flow_add() 1584 u16 vhca_id; in mlx5e_tc_query_route_vport() local 1592 vhca_id = MLX5_CAP_GEN(route_mdev, vhca_id); in mlx5e_tc_query_route_vport() 1598 err = mlx5_eswitch_vhca_id_to_vport(esw, vhca_id, vport); in mlx5e_tc_query_route_vport() 1608 err = mlx5_eswitch_vhca_id_to_vport(esw, vhca_id, vport); in mlx5e_tc_query_route_vport() 4867 peer_vhca_id = MLX5_CAP_GEN(peer_mdev, vhca_id); in mlx5e_tc_hairpin_update_dead_peer()
|
D | vport.c | 1098 MLX5_CAP_GEN(master_mdev, vhca_id)); in mlx5_nic_vport_affiliate_multiport()
|
D | fs_core.c | 1570 (d1->vport.vhca_id == d2->vport.vhca_id) : true) && in mlx5_flow_dests_cmp()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | vporttbl.c | 13 u16 vhca_id; member 54 key->vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); in flow_attr_to_vport_key()
|
D | indir_table.c | 371 dest.vport.vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); in mlx5_create_indir_fwd_group()
|
D | bridge.c | 866 dest.vport.vhca_id = esw_owner_vhca_id; in mlx5_esw_bridge_egress_flow_create()
|
/linux-6.1.9/drivers/vfio/pci/mlx5/ |
D | cmd.c | 11 u16 *vhca_id); 25 MLX5_SET(suspend_vhca_in, in, vhca_id, mvdev->vhca_id); in mlx5vf_cmd_suspend_vhca() 41 MLX5_SET(resume_vhca_in, in, vhca_id, mvdev->vhca_id); in mlx5vf_cmd_resume_vhca() 60 MLX5_SET(query_vhca_migration_state_in, in, vhca_id, mvdev->vhca_id); in mlx5vf_cmd_query_vhca_migration_state() 150 &mvdev->vhca_id)) in mlx5vf_cmd_set_migratable() 181 u16 *vhca_id) in mlx5vf_cmd_get_vhca_id() argument 204 *vhca_id = MLX5_GET(query_hca_cap_out, out, in mlx5vf_cmd_get_vhca_id() 205 capability.cmd_hca_cap.vhca_id); in mlx5vf_cmd_get_vhca_id() 340 MLX5_SET(save_vhca_state_in, in, vhca_id, mvdev->vhca_id); in mlx5vf_cmd_save_vhca_state() 412 MLX5_SET(load_vhca_state_in, in, vhca_id, mvdev->vhca_id); in mlx5vf_cmd_load_vhca_state() [all …]
|
D | cmd.h | 97 u16 vhca_id; member
|
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
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()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
D | egress_ofld.c | 244 fwd_dest.vport.vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); in mlx5_esw_acl_egress_vport_bond()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
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()
|
/linux-6.1.9/include/linux/mlx5/ |
D | mlx5_ifc_vdpa.h | 85 u8 vhca_id[0x10]; member
|
D | fs.h | 155 u16 vhca_id; member
|
D | mlx5_ifc.h | 1437 u8 vhca_id[0x10]; member 2178 u8 vhca_id[0x10]; member 2232 u8 vhca_id[0x10]; member 9993 u8 vhca_id[0x10]; member 11874 u8 vhca_id[0x10]; member 11901 u8 vhca_id[0x10]; member 11923 u8 vhca_id[0x10]; member 11949 u8 vhca_id[0x10]; member 11979 u8 vhca_id[0x10]; member 12040 u8 vhca_id[0x10]; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | mlx5dr.h | 97 u16 vhca_id);
|
D | dr_cmd.c | 60 *gvmi = MLX5_GET(query_hca_cap_out, out, capability.cmd_hca_cap.vhca_id); in mlx5dr_cmd_query_gvmi() 117 caps->gvmi = MLX5_CAP_GEN(mdev, vhca_id); in mlx5dr_cmd_query_device() 760 fte->dest_arr[i].vport.vhca_id); in mlx5dr_cmd_set_fte()
|
D | fs_dr.c | 195 dest_attr->vport.vhca_id); in create_vport_action() 204 dest_attr->vport.vhca_id); in create_uplink_action()
|
D | dr_action.c | 979 hw_dests[i].vport.vhca_id = dest_action->vport->caps->vhca_gvmi; in mlx5dr_action_create_mult_dest_tbl() 1864 u16 vhca_id) in mlx5dr_action_create_dest_vport() argument 1871 peer_vport = vhca_id_valid && (vhca_id != dmn->info.caps.gvmi); in mlx5dr_action_create_dest_vport()
|
D | dr_types.h | 1423 u16 vhca_id; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | bridge.c | 82 *esw_owner_vhca_id = MLX5_CAP_GEN(priv->mdev, vhca_id); in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
|