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

2020-07-28 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

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

2020-07-28 Thread Matan Azrad
From: 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

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

2020-07-29 Thread Maxime Coquelin
On 7/28/20 9:03 PM, Matan Azrad wrote: > > > From: 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 wi

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

2020-07-29 Thread Matan Azrad
Hi Maxime From: Maxime Coquelin: > On 7/28/20 9:03 PM, Matan Azrad wrote: > > > > > > From: 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, > >

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

2020-07-29 Thread Maxime Coquelin
On 7/29/20 10:43 AM, Matan Azrad wrote: > Hi Maxime > > From: Maxime Coquelin: >> On 7/28/20 9:03 PM, Matan Azrad wrote: >>> >>> >>> From: Maxime Coquelin: At .new_device() time, only the first vring pair is now ready, other vrings are consfigured later. Problem is that when