Home
last modified time | relevance | path

Searched refs:vport_caps (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_domain.c140 struct mlx5dr_cmd_vport_cap *vport_caps) in dr_domain_query_vport() argument
147 &vport_caps->icm_address_rx, in dr_domain_query_vport()
148 &vport_caps->icm_address_tx); in dr_domain_query_vport()
155 &vport_caps->vport_gvmi); in dr_domain_query_vport()
159 vport_caps->num = vport_number; in dr_domain_query_vport()
160 vport_caps->vhca_gvmi = dmn->info.caps.gvmi; in dr_domain_query_vport()
180 struct mlx5dr_cmd_vport_cap *vport_caps; in dr_domain_add_vport_cap() local
183 vport_caps = kvzalloc(sizeof(*vport_caps), GFP_KERNEL); in dr_domain_add_vport_cap()
184 if (!vport_caps) in dr_domain_add_vport_cap()
187 ret = dr_domain_query_vport(dmn, vport, true, vport_caps); in dr_domain_add_vport_cap()
[all …]
Ddr_dbg.c517 struct mlx5dr_cmd_vport_cap *vport_caps; in dr_dump_domain_info_caps() local
520 xa_for_each(&caps->vports.vports_caps_xa, vports_num, vport_caps) in dr_dump_domain_info_caps()
528 xa_for_each(&caps->vports.vports_caps_xa, i, vport_caps) { in dr_dump_domain_info_caps()
529 vport_caps = xa_load(&caps->vports.vports_caps_xa, i); in dr_dump_domain_info_caps()
533 vport_caps->vport_gvmi, vport_caps->icm_address_rx, in dr_dump_domain_info_caps()
534 vport_caps->icm_address_tx); in dr_dump_domain_info_caps()