]> git.droids-corp.org - dpdk.git/blobdiff - drivers/vdpa/mlx5/mlx5_vdpa.h
vdpa/mlx5: support direct HW notifications
[dpdk.git] / drivers / vdpa / mlx5 / mlx5_vdpa.h
index 3324c9de3bfeee44d9a9cb135b1a385736feff48..75af41004fbb6436df42b9369cc0f82b29a22764 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. */