Home
last modified time | relevance | path

Searched refs:vhca_id (Results 1 – 16 of 16) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads_termtbl.c31 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()
Deswitch_offloads.c67 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 = MLX5_CAP_GEN(peer_dev, vhca_id); in peer_miss_rules_setup()
Dtransobj.c399 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()
Deswitch.h550 return (MLX5_CAP_GEN(dev, vhca_id) << 16) | vport_num; in mlx5_esw_vport_to_devlink_port_index()
Dfs_cmd.c506 dst->dest_attr.vport.vhca_id); in mlx5_cmd_set_fte()
Dvport.c1088 MLX5_CAP_GEN(master_mdev, vhca_id)); in mlx5_nic_vport_affiliate_multiport()
Dfs_core.c1551 (d1->vport.vhca_id == d2->vport.vhca_id) : true) && in mlx5_flow_dests_cmp()
Den_tc.c860 peer_id = MLX5_CAP_GEN(peer_mdev, vhca_id); in mlx5e_hairpin_flow_add()
5244 peer_vhca_id = MLX5_CAP_GEN(peer_mdev, vhca_id); in mlx5e_tc_hairpin_update_dead_peer()
Den_main.c1969 u16 port_aff_bias = mlx5_core_is_pf(mdev) ? 0 : MLX5_CAP_GEN(mdev, vhca_id); in mlx5e_enumerate_lag_port()
/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Degress_ofld.c228 fwd_dest.vport.vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); in mlx5_esw_acl_egress_vport_bond()
/drivers/vdpa/mlx5/core/
Dmlx5_vdpa_ifc.h85 u8 vhca_id[0x10]; member
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dmlx5dr.h91 u16 vhca_id);
Ddr_cmd.c60 *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()
Ddr_action.c1042 hw_dests[i].vport.vhca_id = dest_action->vport.caps->vhca_gvmi; in mlx5dr_action_create_mult_dest_tbl()
1866 u16 vhca_id) in mlx5dr_action_create_dest_vport() argument
1873 peer_vport = vhca_id_valid && (vhca_id != dmn->info.caps.gvmi); in mlx5dr_action_create_dest_vport()
Dfs_dr.c188 dest_attr->vport.vhca_id); in create_vport_action()
Ddr_types.h1113 u16 vhca_id; member