Home
last modified time | relevance | path

Searched refs:query_ctx (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c805 void *query_ctx; in mlx5_esw_vport_caps_get() local
812 query_ctx = kzalloc(query_out_sz, GFP_KERNEL); in mlx5_esw_vport_caps_get()
813 if (!query_ctx) in mlx5_esw_vport_caps_get()
821 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_vport_caps_get()
827 memset(query_ctx, 0, query_out_sz); in mlx5_esw_vport_caps_get()
838 kfree(query_ctx); in mlx5_esw_vport_caps_get()
1668 void *query_ctx; in mlx5_esw_sf_max_hpf_functions() local
1677 query_ctx = kzalloc(query_out_sz, GFP_KERNEL); in mlx5_esw_sf_max_hpf_functions()
1678 if (!query_ctx) in mlx5_esw_sf_max_hpf_functions()
1681 err = mlx5_query_hca_cap_host_pf(dev, query_ctx); in mlx5_esw_sf_max_hpf_functions()
[all …]
H A Deswitch_offloads.c4279 void *query_ctx; in mlx5_devlink_port_fn_migratable_set() local
4301 if (!query_ctx) { in mlx5_devlink_port_fn_migratable_set()
4326 kfree(query_ctx); in mlx5_devlink_port_fn_migratable_set()
4356 void *query_ctx; in mlx5_devlink_port_fn_roce_set() local
4373 if (!query_ctx) { in mlx5_devlink_port_fn_roce_set()
4398 kfree(query_ctx); in mlx5_devlink_port_fn_roce_set()
4597 void *query_ctx; in mlx5_devlink_port_fn_max_io_eqs_get() local
4616 if (!query_ctx) in mlx5_devlink_port_fn_max_io_eqs_get()
4635 kfree(query_ctx); in mlx5_devlink_port_fn_max_io_eqs_get()
4647 void *query_ctx; in mlx5_devlink_port_fn_max_io_eqs_set() local
[all …]
H A Dvport.c1205 void *query_ctx; in mlx5_vport_get_vhca_id() local
1211 query_ctx = kzalloc(query_out_sz, GFP_KERNEL); in mlx5_vport_get_vhca_id()
1212 if (!query_ctx) in mlx5_vport_get_vhca_id()
1215 err = mlx5_vport_get_other_func_general_cap(dev, vport, query_ctx); in mlx5_vport_get_vhca_id()
1219 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_vport_get_vhca_id()
1223 kfree(query_ctx); in mlx5_vport_get_vhca_id()