Home
last modified time | relevance | path

Searched refs:hca_caps (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c334 void *query_ctx, *hca_caps; in mlx5_modify_nic_vport_mtu()
350 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_modify_nic_vport_mtu()
352 1 << MLX5_GET(cmd_hca_cap, hca_caps, log_max_current_uc_list) : in mlx5_modify_nic_vport_mtu()
353 1 << MLX5_GET(cmd_hca_cap, hca_caps, log_max_current_mc_list);
1376 void *hca_caps; in mlx5_vport_get_other_func_cap()
1391 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_vport_get_other_func_cap()
1392 *vhca_id = MLX5_GET(cmd_hca_cap, hca_caps, vhca_id); in mlx5_vport_get_other_func_cap()
358 void *query_ctx, *hca_caps; mlx5_vport_max_mac_list_size() local
1400 void *hca_caps; mlx5_vport_get_vhca_id() local
H A Deswitch.c799 void *hca_caps; in mlx5_esw_vport_caps_get() local
814 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_vport_caps_get()
815 vport->info.roce_enabled = MLX5_GET(cmd_hca_cap, hca_caps, roce); in mlx5_esw_vport_caps_get()
816 vport->vhca_id = MLX5_GET(cmd_hca_cap, hca_caps, vhca_id); in mlx5_esw_vport_caps_get()
827 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_vport_caps_get()
828 vport->info.mig_enabled = MLX5_GET(cmd_hca_cap_2, hca_caps, migratable); in mlx5_esw_vport_caps_get()
2081 void *hca_caps; in mlx5_esw_sf_max_pf_functions() local
2092 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_sf_max_pf_functions()
2093 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_pf_functions()
2094 *sf_base_id = MLX5_GET(cmd_hca_cap, hca_caps, sf_base_id); in mlx5_esw_sf_max_pf_functions()
H A Deswitch_offloads.c5149 void *hca_caps; in mlx5_devlink_port_fn_migratable_set() local
5182 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_devlink_port_fn_migratable_set()
5183 MLX5_SET(cmd_hca_cap_2, hca_caps, migratable, enable); in mlx5_devlink_port_fn_migratable_set()
5185 err = mlx5_vport_set_other_func_cap(esw->dev, hca_caps, vport->vport, in mlx5_devlink_port_fn_migratable_set()
5227 void *hca_caps; in mlx5_devlink_port_fn_roce_set() local
5255 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_devlink_port_fn_roce_set()
5256 MLX5_SET(cmd_hca_cap, hca_caps, roce, enable); in mlx5_devlink_port_fn_roce_set()
5258 err = mlx5_vport_set_other_func_general_cap(esw->dev, hca_caps, in mlx5_devlink_port_fn_roce_set()
5533 void *hca_caps; in mlx5_devlink_port_fn_max_io_eqs_get() local
5562 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_devlink_port_fn_max_io_eqs_get()
[all …]
H A Dmain.c303 void *out, *hca_caps; in mlx5_core_get_caps_mode() local
326 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, out, capability); in mlx5_core_get_caps_mode()
330 memcpy(dev->caps.hca[cap_type]->max, hca_caps, in mlx5_core_get_caps_mode()
334 memcpy(dev->caps.hca[cap_type]->cur, hca_caps, in mlx5_core_get_caps_mode()
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib.h411 u64 hca_caps; member