Re: [dpdk-dev] [PATCH v3 3/3] net/vhost: fix interrupt mode

2020-07-29 Thread Maxime Coquelin
On 7/29/20 3:24 PM, Xia, Chenbo wrote: > Hi Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Wednesday, July 29, 2020 8:54 PM >> To: dev@dpdk.org; ma...@mellanox.com; Xia, Chenbo >> ; Liu, Yong ; Wang, Yinan >> >> Cc: tho...@monjalon.net; Yigit, Ferruh ; >> david.marc

Re: [dpdk-dev] [PATCH v3 3/3] net/vhost: fix interrupt mode

2020-07-29 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Wednesday, July 29, 2020 8:54 PM > To: dev@dpdk.org; ma...@mellanox.com; Xia, Chenbo > ; Liu, Yong ; Wang, Yinan > > Cc: tho...@monjalon.net; Yigit, Ferruh ; > david.march...@redhat.com > Subject: Re: [PATCH v3 3/3] net/vhos

Re: [dpdk-dev] [PATCH v3 3/3] net/vhost: fix interrupt mode

2020-07-29 Thread Maxime Coquelin
On 7/29/20 1:27 PM, David Marchand wrote: > On Wed, Jul 29, 2020 at 11:20 AM Maxime Coquelin > wrote: >> >> At .new_device() time, only the first vring pair is >> now ready, other vrings are consfigured later. > > configured* > >> >> Problem is that when application will setup and enable >> i

Re: [dpdk-dev] [PATCH v3 3/3] net/vhost: fix interrupt mode

2020-07-29 Thread Maxime Coquelin
On 7/29/20 11:20 AM, Maxime Coquelin wrote: > At .new_device() time, only the first vring pair is > now ready, other vrings are consfigured later. > > Problem is that when application will setup and enable > interrupts, only the first queue pair Rx interrupt will > be enabled. > > This patches

Re: [dpdk-dev] [PATCH v3 3/3] net/vhost: fix interrupt mode

2020-07-29 Thread David Marchand
On Wed, Jul 29, 2020 at 11:20 AM Maxime Coquelin wrote: > > At .new_device() time, only the first vring pair is > now ready, other vrings are consfigured later. configured* > > Problem is that when application will setup and enable > interrupts, only the first queue pair Rx interrupt will > be e

[dpdk-dev] [PATCH v3 3/3] net/vhost: fix interrupt mode

2020-07-29 Thread Maxime Coquelin
At .new_device() time, only the first vring pair is now ready, other vrings are consfigured later. Problem is that when application will setup and enable interrupts, only the first queue pair Rx interrupt will be enabled. This patches fixes the issue by setting the number of max interrupts to the