Re: [dpdk-dev] [v3] vdpa/mlx5: fix event queue number query

2020-07-28 Thread Maxime Coquelin
On 7/28/20 2:32 PM, Xueming Li wrote: > Vdpa example failed on vq setup, the api to get event queue of specified > core failed. > > Internal api devx_query_eqn expects index of event queue vectors, no > need to use cpu id. As the doorbell handling thread is per device, it's > sufficient to use

Re: [dpdk-dev] [v3] vdpa/mlx5: fix event queue number query

2020-07-28 Thread Maxime Coquelin
On 7/28/20 2:32 PM, Xueming Li wrote: > Vdpa example failed on vq setup, the api to get event queue of specified > core failed. > > Internal api devx_query_eqn expects index of event queue vectors, no > need to use cpu id. As the doorbell handling thread is per device, it's > sufficient to use

[dpdk-dev] [v3] vdpa/mlx5: fix event queue number query

2020-07-28 Thread Xueming Li
Vdpa example failed on vq setup, the api to get event queue of specified core failed. Internal api devx_query_eqn expects index of event queue vectors, no need to use cpu id. As the doorbell handling thread is per device, it's sufficient to use default event queue. This patch uses the default id(