Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dchannels.c28 u32 *vhca_id) in mlx5e_channels_get_regular_rqn() argument
33 if (vhca_id) in mlx5e_channels_get_regular_rqn()
34 *vhca_id = MLX5_CAP_GEN(c->mdev, vhca_id); in mlx5e_channels_get_regular_rqn()
38 u32 *vhca_id) in mlx5e_channels_get_xsk_rqn() argument
45 if (vhca_id) in mlx5e_channels_get_xsk_rqn()
46 *vhca_id = MLX5_CAP_GEN(c->mdev, vhca_id); in mlx5e_channels_get_xsk_rqn()
H A Dchannels.h14 u32 *vhca_id);
16 u32 *vhca_id);
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
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 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dvporttbl.c13 u16 vhca_id; member
62 key->vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); in flow_attr_to_vport_key()
H A Dindir_table.c234 dest.vport.vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); in mlx5_create_indir_fwd_group()
H A Dbridge_mcast.c613 dest.vport.vhca_id = port->esw_owner_vhca_id; in mlx5_esw_bridge_mcast_vlan_flow_create()
665 dest.vport.vhca_id = port->esw_owner_vhca_id; in mlx5_esw_bridge_mcast_fwd_flow_create()
H A Dbridge.c798 dest.vport.vhca_id = esw_owner_vhca_id; in mlx5_esw_bridge_egress_flow_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Degress_ofld.c259 fwd_dest.vport.vhca_id = MLX5_CAP_GEN(esw->dev, vhca_id); in mlx5_esw_acl_egress_vport_bond()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dcmd.h91 u16 vhca_id; member
234 u32 vhca_id; member
H A Dmlx5hws.h625 u16 vhca_id,
H A Daction.c287 fixup_stc_attr->vport.esw_owner_vhca_id = ctx->caps->vhca_id; in hws_action_fixup_stc_attr()
817 u16 vhca_id, in mlx5hws_action_create_dest_vport() argument
832 if (!ctx->caps->merged_eswitch && vhca_id_valid && vhca_id != ctx->caps->vhca_id) { in mlx5hws_action_create_dest_vport()
841 action->vport.esw_owner_vhca_id = vhca_id; in mlx5hws_action_create_dest_vport()
H A Ddebug.c315 ctx->caps->vhca_id, in hws_debug_dump_context_attr()
H A Dcmd.c1001 caps->vhca_id = MLX5_GET(query_hca_cap_out, out, in mlx5hws_cmd_query_caps()
1002 capability.cmd_hca_cap.vhca_id); in mlx5hws_cmd_query_caps()
1207 *gvmi = MLX5_CAP_GEN(mdev, vhca_id); in mlx5hws_cmd_query_gvmi()
H A Dfs_hws.c430 idx = (unsigned long)dest_attr->vport.vhca_id << 16 | vport_num; in mlx5_fs_get_dest_action_vport()
441 dest_attr->vport.vhca_id, flags); in mlx5_fs_get_dest_action_vport()
H A Ddefiner.c525 if (id == fc->ctx->caps->vhca_id) in hws_definer_set_source_gvmi_vhca_id()
/linux/include/linux/mlx5/
H A Dmlx5_ifc_vdpa.h89 u8 vhca_id[0x10]; member
/linux/drivers/infiniband/hw/mlx5/
H A Dcmd.c259 MLX5_SET(query_vuid_in, in, vhca_id, MLX5_CAP_GEN(dev, vhca_id)); in mlx5_cmd_query_vuid()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Dmlx5dr.h96 u16 vhca_id);
H A Dfs_dr.c188 dest_attr->vport.vhca_id); in create_vport_action()
197 dest_attr->vport.vhca_id); in create_uplink_action()
H A Ddr_action.c1219 hw_dests[i].vport.vhca_id = dest_action->vport->caps->vhca_gvmi; in mlx5dr_action_create_mult_dest_tbl()
2107 u16 vhca_id) in mlx5dr_action_create_dest_vport() argument
2115 (vhca_id != dmn->info.caps.gvmi); in mlx5dr_action_create_dest_vport()
2116 vport_dmn = peer_vport ? xa_load(&dmn->peer_dmn_xa, vhca_id) : dmn; in mlx5dr_action_create_dest_vport()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbridge.c77 *esw_owner_vhca_id = MLX5_CAP_GEN(priv->mdev, vhca_id); in mlx5_esw_bridge_rep_vport_num_vhca_id_get()