Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-21 Thread Jason Wang
t;>> Cc: m...@redhat.com; jasow...@redhat.com; > >>>>>> virtualization@lists.linux-foundation.org; epere...@redhat.com; > >>>>>> amore...@redhat.com; > >>>>>> lviv...@redhat.com; sgarz...@redhat.com; Parav Pandit > >>>>

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-18 Thread Si-Wei Liu
To: Eli Cohen Cc: m...@redhat.com; jasow...@redhat.com; virtualization@lists.linux-foundation.org; epere...@redhat.com; amore...@redhat.com; lviv...@redhat.com; sgarz...@redhat.com; Parav Pandit Subject: Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics On 3/15/2022 2:10 AM, Eli

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-17 Thread Jason Wang
gt; >>>> Sent: Wednesday, March 16, 2022 8:52 AM > >>>> To: Eli Cohen > >>>> Cc: m...@redhat.com; jasow...@redhat.com; > >>>> virtualization@lists.linux-foundation.org; epere...@redhat.com; > >>>> amore...@redhat.com;

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-17 Thread Si-Wei Liu
; epere...@redhat.com; amore...@redhat.com; lviv...@redhat.com; sgarz...@redhat.com; Parav Pandit Subject: Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics On 3/15/2022 2:10 AM, Eli Cohen wrote: <...snip...> Say you got a vdpa net device created with 4 data queue

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-16 Thread Jason Wang
>> virtualization@lists.linux-foundation.org; epere...@redhat.com; > >> amore...@redhat.com; > >> lviv...@redhat.com; sgarz...@redhat.com; Parav Pandit > >> Subject: Re: [PATCH v1 1/2] vdpa: Add support for querying vendor > >> statistics > >> > >

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-16 Thread Si-Wei Liu
Pandit Subject: Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics On 3/15/2022 2:10 AM, Eli Cohen wrote: <...snip...> Say you got a vdpa net device created with 4 data queue pairs and a control vq. On boot some guest firmware may support just F_CTRL_VQ but no

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-16 Thread Si-Wei Liu
On 3/15/2022 2:10 AM, Eli Cohen wrote: <...snip...> Say you got a vdpa net device created with 4 data queue pairs and a control vq. On boot some guest firmware may support just F_CTRL_VQ but not F_MQ, then the index for the control vq in guest ends up with 2, as in this case there's only a

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-15 Thread Si-Wei Liu
mpV$>; epere...@redhat.com; amore...@redhat.com; > >> lviv...@redhat.com; sgarz...@redhat.com; Parav Pandit > >> Subject: Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics > >> > >> > >> > >&g

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-15 Thread Si-Wei Liu
...@redhat.com; lviv...@redhat.com; sgarz...@redhat.com; Parav Pandit Subject: Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics On 3/8/2022 6:13 AM, Eli Cohen wrote: -Original Message- From: Si-Wei Liu Sent: Tuesday, March 8, 2022 8:16 AM To: Eli Cohen Cc: m

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-14 Thread Jason Wang
> > >> Cc: m...@redhat.com; jasow...@redhat.com; virtualization@lists.linux- > > >> foundation.org; epere...@redhat.com; amore...@redhat.com; > > >> lviv...@redhat.com; sgarz...@redhat.com; Parav Pandit < > pa...@nvidia.com> > > >> Subject: Re: [PAT

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-09 Thread Si-Wei Liu
...@redhat.com; Parav Pandit Subject: Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics On 3/8/2022 6:13 AM, Eli Cohen wrote: -Original Message- From: Si-Wei Liu Sent: Tuesday, March 8, 2022 8:16 AM To: Eli Cohen Cc: m...@redhat.com; jasow...@redhat.com; virtualization

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-08 Thread Si-Wei Liu
...@redhat.com; Parav Pandit Subject: Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics On 3/6/2022 11:57 PM, Eli Cohen wrote: -Original Message- From: Si-Wei Liu Sent: Saturday, March 5, 2022 12:34 AM To: Eli Cohen Cc: m...@redhat.com; jasow...@redhat.com

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-08 Thread Jason Wang
foundation.org; epere...@redhat.com; amore...@redhat.com; > > lviv...@redhat.com; sgarz...@redhat.com; Parav Pandit > > Subject: Re: [PATCH v1 1/2] vdpa: Add support for querying vendor > statistics > > > > > > > > On 3/6/2022 11:57 PM, Eli Cohen wrote: > > >

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-07 Thread Si-Wei Liu
...@redhat.com; Parav Pandit Subject: Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics Sorry, I somehow missed this after my break. Please see comments in line. On 2/16/2022 10:46 PM, Eli Cohen wrote: On Wed, Feb 16, 2022 at 10:49:26AM -0800, Si-Wei Liu wrote: On 2/16/2022 12

RE: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-07 Thread Parav Pandit via Virtualization
Hi Eli, Sorry for my so delayed response. Please see below. > From: Eli Cohen > Sent: Wednesday, February 16, 2022 1:30 PM > > Allows to read vendor statistics of a vdpa device. The specific statistics > data is > received by the upstream driver in the form of an (attribute name, attribute >

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-04 Thread Si-Wei Liu
Sorry, I somehow missed this after my break. Please see comments in line. On 2/16/2022 10:46 PM, Eli Cohen wrote: On Wed, Feb 16, 2022 at 10:49:26AM -0800, Si-Wei Liu wrote: On 2/16/2022 12:00 AM, Eli Cohen wrote: Allows to read vendor statistics of a vdpa device. The specific statistics

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-03-02 Thread Jason Wang
在 2022/2/16 下午4:00, Eli Cohen 写道: Allows to read vendor statistics of a vdpa device. The specific statistics data is received by the upstream driver in the form of an (attribute name, attribute value) pairs. An example of statistics for mlx5_vdpa device are: received_desc - number of

Re: [PATCH v1 1/2] vdpa: Add support for querying vendor statistics

2022-02-16 Thread Si-Wei Liu
On 2/16/2022 12:00 AM, Eli Cohen wrote: Allows to read vendor statistics of a vdpa device. The specific statistics data is received by the upstream driver in the form of an (attribute name, attribute value) pairs. An example of statistics for mlx5_vdpa device are: received_desc - number of