Searched refs:query_ctx (Results 1 – 2 of 2) sorted by relevance
785 void *query_ctx; in mlx5_esw_vport_caps_get() local792 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() local1495 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 …]
3791 void *query_ctx; in mlx5_esw_query_vport_vhca_id() local3800 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() local4020 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() local4112 if (!query_ctx) { in mlx5_devlink_port_fn_roce_set()[all …]
Completed in 14 milliseconds