Searched refs:query_ctx (Results 1 – 2 of 2) sorted by relevance
805 void *query_ctx; in mlx5_esw_vport_caps_get() local812 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()1665 void *query_ctx; in mlx5_esw_sf_max_hpf_functions() local1674 query_ctx = kzalloc(query_out_sz, GFP_KERNEL); in mlx5_esw_sf_max_hpf_functions()1675 if (!query_ctx) in mlx5_esw_sf_max_hpf_functions()1678 err = mlx5_query_hca_cap_host_pf(dev, query_ctx); in mlx5_esw_sf_max_hpf_functions()[all …]
4126 void *query_ctx; in mlx5_esw_query_vport_vhca_id() local4132 query_ctx = kzalloc(query_out_sz, GFP_KERNEL); in mlx5_esw_query_vport_vhca_id()4133 if (!query_ctx) in mlx5_esw_query_vport_vhca_id()4144 kfree(query_ctx); in mlx5_esw_query_vport_vhca_id()4263 void *query_ctx; in mlx5_devlink_port_fn_migratable_set() local4284 query_ctx = kzalloc(query_out_sz, GFP_KERNEL); in mlx5_devlink_port_fn_migratable_set()4285 if (!query_ctx) { in mlx5_devlink_port_fn_migratable_set()4310 kfree(query_ctx); in mlx5_devlink_port_fn_migratable_set()4340 void *query_ctx; in mlx5_devlink_port_fn_roce_set() local4357 if (!query_ctx) { in mlx5_devlink_port_fn_roce_set()[all …]