Re: [PATCH] vdpa: conditionally fill max max queue pair for stats

2022-12-13 Thread Michael S. Tsirkin
@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

Re: [PATCH] vdpa: conditionally fill max max queue pair for stats

2022-12-12 Thread Jason Wang
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

Re: [PATCH] vdpa: conditionally fill max max queue pair for stats

2022-09-07 Thread Jason Wang
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:

[PATCH] vdpa: conditionally fill max max queue pair for stats

2022-09-07 Thread Jason Wang
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