Home
last modified time | relevance | path

Searched refs:vport_cap (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_domain.c392 struct mlx5dr_cmd_vport_cap *vport_cap; in dr_domain_caps_init() local
436 vport_cap = &dmn->info.caps.vports.esw_manager_caps; in dr_domain_caps_init()
439 dmn->info.tx.default_icm_addr = vport_cap->icm_address_tx; in dr_domain_caps_init()
440 dmn->info.rx.default_icm_addr = vport_cap->icm_address_rx; in dr_domain_caps_init()
H A Ddr_ste_v0.c1651 struct mlx5dr_cmd_vport_cap *vport_cap; in dr_ste_v0_build_src_gvmi_qpn_tag() local
1677 vport_cap = mlx5dr_domain_get_vport_cap(vport_dmn, in dr_ste_v0_build_src_gvmi_qpn_tag()
1679 if (!vport_cap) { in dr_ste_v0_build_src_gvmi_qpn_tag()
1685 if (vport_cap->vport_gvmi) in dr_ste_v0_build_src_gvmi_qpn_tag()
1686 MLX5_SET(ste_src_gvmi_qp, tag, source_gvmi, vport_cap->vport_gvmi); in dr_ste_v0_build_src_gvmi_qpn_tag()
H A Ddr_action.c2081 struct mlx5dr_cmd_vport_cap *vport_cap; in mlx5dr_action_create_dest_vport() local
2099 vport_cap = mlx5dr_domain_get_vport_cap(vport_dmn, vport); in mlx5dr_action_create_dest_vport()
2100 if (!vport_cap) { in mlx5dr_action_create_dest_vport()
2112 action->vport->caps = vport_cap; in mlx5dr_action_create_dest_vport()
H A Ddr_ste_v1.c1983 struct mlx5dr_cmd_vport_cap *vport_cap; in dr_ste_v1_build_src_gvmi_qpn_tag() local
2009 vport_cap = mlx5dr_domain_get_vport_cap(vport_dmn, misc->source_port); in dr_ste_v1_build_src_gvmi_qpn_tag()
2010 if (!vport_cap) { in dr_ste_v1_build_src_gvmi_qpn_tag()
2016 if (vport_cap->vport_gvmi) in dr_ste_v1_build_src_gvmi_qpn_tag()
2017 MLX5_SET(ste_src_gvmi_qp_v1, tag, source_gvmi, vport_cap->vport_gvmi); in dr_ste_v1_build_src_gvmi_qpn_tag()