Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c156 struct vdpa_callback *event_cbs; member
538 event_cb = &ndev->event_cbs[mvq->index]; in mlx5_vdpa_handle_completions()
1964 ndev->event_cbs[idx] = *cb; in mlx5_vdpa_set_vq_cb()
2530 memset(ndev->event_cbs, 0, sizeof(*ndev->event_cbs) * (mvdev->max_vqs + 1)); in mlx5_vdpa_reset()
2609 kfree(ndev->event_cbs); in mlx5_vdpa_free()
2995 ndev->event_cbs = kcalloc(max_vqs + 1, sizeof(*ndev->event_cbs), GFP_KERNEL); in mlx5_vdpa_dev_add()
2996 if (!ndev->vqs || !ndev->event_cbs) { in mlx5_vdpa_dev_add()