Home
last modified time | relevance | path

Searched refs:query_cap (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dipsec.c12 void *hca_cap, *query_cap; in esw_ipsec_vf_query_generic() local
23 query_cap = kvzalloc(query_sz, GFP_KERNEL); in esw_ipsec_vf_query_generic()
24 if (!query_cap) in esw_ipsec_vf_query_generic()
27 err = mlx5_vport_get_other_func_general_cap(dev, vport_num, query_cap); in esw_ipsec_vf_query_generic()
31 hca_cap = MLX5_ADDR_OF(query_hca_cap_out, query_cap, capability); in esw_ipsec_vf_query_generic()
34 kvfree(query_cap); in esw_ipsec_vf_query_generic()
46 void *hca_cap, *query_cap; in mlx5_esw_ipsec_vf_offload_get() local
63 query_cap = kvzalloc(query_sz, GFP_KERNEL); in mlx5_esw_ipsec_vf_offload_get()
64 if (!query_cap) in mlx5_esw_ipsec_vf_offload_get()
67 err = mlx5_vport_get_other_func_cap(dev, vport->vport, query_cap, MLX5_CAP_IPSEC); in mlx5_esw_ipsec_vf_offload_get()
[all …]
/Linux-v6.6/tools/power/acpi/tools/pfrut/
Dpfrut.c28 int action, query_cap, log_type, log_level, log_read, log_getinfo, variable
122 query_cap = 1; in parse_options()
226 if (query_cap) { in main()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dpci_irq.c89 void *hca_cap = NULL, *query_cap = NULL, *cap; in mlx5_set_msix_vec_count() local
111 query_cap = kvzalloc(query_sz, GFP_KERNEL); in mlx5_set_msix_vec_count()
113 if (!hca_cap || !query_cap) { in mlx5_set_msix_vec_count()
120 ret = mlx5_vport_get_other_func_general_cap(dev, vport, query_cap); in mlx5_set_msix_vec_count()
125 memcpy(cap, MLX5_ADDR_OF(query_hca_cap_out, query_cap, capability), in mlx5_set_msix_vec_count()
139 kvfree(query_cap); in mlx5_set_msix_vec_count()
/Linux-v6.6/drivers/vfio/pci/mlx5/
Dcmd.c13 void *query_cap = NULL, *cap; in mlx5vf_is_migratable() local
16 query_cap = kzalloc(query_sz, GFP_KERNEL); in mlx5vf_is_migratable()
17 if (!query_cap) in mlx5vf_is_migratable()
20 ret = mlx5_vport_get_other_func_cap(mdev, func_id, query_cap, in mlx5vf_is_migratable()
25 cap = MLX5_ADDR_OF(query_hca_cap_out, query_cap, capability); in mlx5vf_is_migratable()
29 kfree(query_cap); in mlx5vf_is_migratable()