Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/vdpa/mlx5/net/
Dmlx5_vnet.h48 struct vdpa_callback *event_cbs; member
Dmlx5_vnet.c516 event_cb = &ndev->event_cbs[mvq->index]; in mlx5_vdpa_handle_completions()
1471 ent->dev_id = &ndev->event_cbs[mvq->index]; in alloc_vector()
2503 ndev->event_cbs[idx] = *cb; in mlx5_vdpa_set_vq_cb()
3285 memset(ndev->event_cbs, 0, sizeof(*ndev->event_cbs) * (mvdev->max_vqs + 1)); in mlx5_vdpa_compat_reset()
3446 kfree(ndev->event_cbs); in mlx5_vdpa_free()
3889 ndev->event_cbs = kcalloc(max_vqs + 1, sizeof(*ndev->event_cbs), GFP_KERNEL); in mlx5_vdpa_dev_add()
3890 if (!ndev->vqs || !ndev->event_cbs) { in mlx5_vdpa_dev_add()