Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_domain.c225 struct mlx5dr_cmd_vport_cap *vport_cap; in dr_domain_caps_init() local
271 vport_cap = mlx5dr_get_vport_cap(&dmn->info.caps, 0); in dr_domain_caps_init()
272 if (!vport_cap) { in dr_domain_caps_init()
278 dmn->info.tx.default_icm_addr = vport_cap->icm_address_tx; in dr_domain_caps_init()
279 dmn->info.rx.default_icm_addr = vport_cap->icm_address_rx; in dr_domain_caps_init()
Ddr_action.c1756 struct mlx5dr_cmd_vport_cap *vport_cap; in mlx5dr_action_create_dest_vport() local
1773 vport_cap = mlx5dr_get_vport_cap(&vport_dmn->info.caps, vport); in mlx5dr_action_create_dest_vport()
1774 if (!vport_cap) { in mlx5dr_action_create_dest_vport()
1784 action->vport->caps = vport_cap; in mlx5dr_action_create_dest_vport()
Ddr_ste_v0.c1646 struct mlx5dr_cmd_vport_cap *vport_cap; in dr_ste_v0_build_src_gvmi_qpn_tag() local
1671 vport_cap = mlx5dr_get_vport_cap(caps, misc->source_port); in dr_ste_v0_build_src_gvmi_qpn_tag()
1672 if (!vport_cap) { in dr_ste_v0_build_src_gvmi_qpn_tag()
1678 if (vport_cap->vport_gvmi) in dr_ste_v0_build_src_gvmi_qpn_tag()
1679 MLX5_SET(ste_src_gvmi_qp, tag, source_gvmi, vport_cap->vport_gvmi); in dr_ste_v0_build_src_gvmi_qpn_tag()
Ddr_ste_v1.c1777 struct mlx5dr_cmd_vport_cap *vport_cap; in dr_ste_v1_build_src_gvmi_qpn_tag() local
1802 vport_cap = mlx5dr_get_vport_cap(caps, misc->source_port); in dr_ste_v1_build_src_gvmi_qpn_tag()
1803 if (!vport_cap) { in dr_ste_v1_build_src_gvmi_qpn_tag()
1809 if (vport_cap->vport_gvmi) in dr_ste_v1_build_src_gvmi_qpn_tag()
1810 MLX5_SET(ste_src_gvmi_qp_v1, tag, source_gvmi, vport_cap->vport_gvmi); in dr_ste_v1_build_src_gvmi_qpn_tag()