Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Deswitch.c785 void *query_ctx; in mlx5_esw_vport_caps_get() local
792 query_ctx = kzalloc(query_out_sz, GFP_KERNEL); in mlx5_esw_vport_caps_get()
793 if (!query_ctx) in mlx5_esw_vport_caps_get()
801 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_vport_caps_get()
804 memset(query_ctx, 0, query_out_sz); in mlx5_esw_vport_caps_get()
813 kfree(query_ctx); in mlx5_esw_vport_caps_get()
1486 void *query_ctx; in mlx5_esw_sf_max_hpf_functions() local
1495 query_ctx = kzalloc(query_out_sz, GFP_KERNEL); in mlx5_esw_sf_max_hpf_functions()
1496 if (!query_ctx) in mlx5_esw_sf_max_hpf_functions()
1499 err = mlx5_query_hca_cap_host_pf(dev, query_ctx); in mlx5_esw_sf_max_hpf_functions()
[all …]
A Deswitch_offloads.c3791 void *query_ctx; in mlx5_esw_query_vport_vhca_id() local
3800 query_ctx = kzalloc(query_out_sz, GFP_KERNEL); in mlx5_esw_query_vport_vhca_id()
3801 if (!query_ctx) in mlx5_esw_query_vport_vhca_id()
3812 kfree(query_ctx); in mlx5_esw_query_vport_vhca_id()
3990 void *query_ctx; in mlx5_devlink_port_fn_migratable_set() local
4020 query_ctx = kzalloc(query_out_sz, GFP_KERNEL); in mlx5_devlink_port_fn_migratable_set()
4021 if (!query_ctx) { in mlx5_devlink_port_fn_migratable_set()
4046 kfree(query_ctx); in mlx5_devlink_port_fn_migratable_set()
4085 void *query_ctx; in mlx5_devlink_port_fn_roce_set() local
4112 if (!query_ctx) { in mlx5_devlink_port_fn_roce_set()
[all …]

Completed in 17 milliseconds