Home
last modified time | relevance | path

Searched refs:hv_vhca (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dhv_vhca.c18 struct mlx5_hv_vhca *hv_vhca; member
31 struct mlx5_hv_vhca *hv_vhca; member
43 struct mlx5_hv_vhca *hv_vhca = NULL; in mlx5_hv_vhca_create() local
45 hv_vhca = kzalloc(sizeof(*hv_vhca), GFP_KERNEL); in mlx5_hv_vhca_create()
46 if (!hv_vhca) in mlx5_hv_vhca_create()
49 hv_vhca->work_queue = create_singlethread_workqueue("mlx5_hv_vhca"); in mlx5_hv_vhca_create()
50 if (!hv_vhca->work_queue) { in mlx5_hv_vhca_create()
51 kfree(hv_vhca); in mlx5_hv_vhca_create()
55 hv_vhca->dev = dev; in mlx5_hv_vhca_create()
56 mutex_init(&hv_vhca->agents_lock); in mlx5_hv_vhca_create()
[all …]
Dhv_vhca.h33 void mlx5_hv_vhca_destroy(struct mlx5_hv_vhca *hv_vhca);
34 int mlx5_hv_vhca_init(struct mlx5_hv_vhca *hv_vhca);
35 void mlx5_hv_vhca_cleanup(struct mlx5_hv_vhca *hv_vhca);
39 mlx5_hv_vhca_agent_create(struct mlx5_hv_vhca *hv_vhca,
61 static inline void mlx5_hv_vhca_destroy(struct mlx5_hv_vhca *hv_vhca) in mlx5_hv_vhca_destroy() argument
65 static inline int mlx5_hv_vhca_init(struct mlx5_hv_vhca *hv_vhca) in mlx5_hv_vhca_init() argument
70 static inline void mlx5_hv_vhca_cleanup(struct mlx5_hv_vhca *hv_vhca) in mlx5_hv_vhca_cleanup() argument
80 mlx5_hv_vhca_agent_create(struct mlx5_hv_vhca *hv_vhca, in mlx5_hv_vhca_agent_create() argument
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhv_vhca_stats.c132 agent = mlx5_hv_vhca_agent_create(priv->mdev->hv_vhca, in mlx5e_hv_vhca_stats_create()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c905 dev->hv_vhca = mlx5_hv_vhca_create(dev); in mlx5_init_once()
944 mlx5_hv_vhca_destroy(dev->hv_vhca); in mlx5_cleanup_once()
1120 mlx5_hv_vhca_init(dev->hv_vhca); in mlx5_load()
1196 mlx5_hv_vhca_cleanup(dev->hv_vhca); in mlx5_load()
1223 mlx5_hv_vhca_cleanup(dev->hv_vhca); in mlx5_unload()
DMakefile68 mlx5_core-$(CONFIG_PCI_HYPERV_INTERFACE) += lib/hv.o lib/hv_vhca.o
/Linux-v5.15/include/linux/mlx5/
Ddriver.h785 struct mlx5_hv_vhca *hv_vhca; member