Searched refs:event_cbs (Results 1 – 2 of 2) sorted by relevance
48 struct vdpa_callback *event_cbs; member
496 event_cb = &ndev->event_cbs[mvq->index]; in mlx5_vdpa_handle_completions()1273 ent->dev_id = &ndev->event_cbs[mvq->index]; in alloc_vector()2156 ndev->event_cbs[idx] = *cb; in mlx5_vdpa_set_vq_cb()2887 memset(ndev->event_cbs, 0, sizeof(*ndev->event_cbs) * (mvdev->max_vqs + 1)); in mlx5_vdpa_reset()3005 kfree(ndev->event_cbs); in mlx5_vdpa_free()3425 ndev->event_cbs = kcalloc(max_vqs + 1, sizeof(*ndev->event_cbs), GFP_KERNEL); in mlx5_vdpa_dev_add()3426 if (!ndev->vqs || !ndev->event_cbs) { in mlx5_vdpa_dev_add()