]> git.droids-corp.org - dpdk.git/blobdiff - drivers/vdpa/mlx5/mlx5_vdpa.h
vdpa/mlx5: add CPU core parameter to bind polling thread
[dpdk.git] / drivers / vdpa / mlx5 / mlx5_vdpa.h
index 08e04a86c443b68f256b21269bc0c6077757178a..b4dd3834aa3176efdf1a90b0c1f3855d001ae823 100644 (file)
@@ -131,6 +131,7 @@ struct mlx5_vdpa_priv {
        pthread_cond_t timer_cond;
        volatile uint8_t timer_on;
        int event_mode;
+       int event_core; /* Event thread cpu affinity core. */
        uint32_t event_us;
        uint32_t timer_delay_us;
        uint32_t no_traffic_time_s;