@lists.linux-foundation.org; linux-
> > > ker...@vger.kernel.org
> > > Subject: Re: [PATCH] vdpa: conditionally fill max max queue pair for stats
> > >
> > > On Wed, Sep 7, 2022 at 2:11 PM Eli Cohen wrote:
> > > >
> > > > > From: Jason Wa
Eli Cohen
> > ;
> > > > virtualization@lists.linux-foundation.org; linux-ker...@vger.kernel.org
> > > > Subject: [PATCH] vdpa: conditionally fill max max queue pair for stats
> > > >
> > > > For the device without multiq
On Wed, Sep 7, 2022 at 2:11 PM Eli Cohen wrote:
>
> > From: Jason Wang
> > Sent: Wednesday, 7 September 2022 9:01
> > To: m...@redhat.com; jasow...@redhat.com; Eli Cohen ;
> > virtualization@lists.linux-foundation.org; linux-ker...@vger.kernel.org
> > Subject:
For the device without multiqueue feature, we will read 0 as
max_virtqueue_pairs from the config. So if we fill
VDPA_ATTR_DEV_NET_CFG_MAX_VQP with the value we read from the config
we will confuse the user.
Fixing this by only filling the value when multiqueue is offered by
the device so