vdpa/mlx5: support direct HW notifications
[dpdk.git] / drivers / vdpa / mlx5 / mlx5_vdpa.h
index 3324c9d..75af410 100644 (file)
@@ -100,6 +100,7 @@ struct mlx5_vdpa_steer {
 struct mlx5_vdpa_priv {
        TAILQ_ENTRY(mlx5_vdpa_priv) next;
        uint8_t configured;
+       uint8_t direct_notifier; /* Whether direct notifier is on or off. */
        int id; /* vDPA device id. */
        int vid; /* vhost device id. */
        struct ibv_context *ctx; /* Device context. */