Re: [PATCH V2 1/3] vDPA/ifcvf: dynamic allocate vq data stores

2023-06-25 Thread Zhu, Lingshan
On 6/26/2023 10:49 AM, Jason Wang wrote: On Mon, Jun 26, 2023 at 10:38 AM Zhu, Lingshan wrote: On 6/26/2023 10:32 AM, Jason Wang wrote: On Mon, Jun 12, 2023 at 3:14 PM Zhu Lingshan wrote: This commit dynamically allocates the data stores for the virtqueues based on virtio_pci_common_cfg.

Re: [PATCH V2 1/3] vDPA/ifcvf: dynamic allocate vq data stores

2023-06-25 Thread Jason Wang
On Mon, Jun 26, 2023 at 10:38 AM Zhu, Lingshan wrote: > > > > On 6/26/2023 10:32 AM, Jason Wang wrote: > > On Mon, Jun 12, 2023 at 3:14 PM Zhu Lingshan wrote: > >> This commit dynamically allocates the data > >> stores for the virtqueues based on > >> virtio_pci_common_cfg.num_queues. > > While a

Re: [PATCH V2 1/3] vDPA/ifcvf: dynamic allocate vq data stores

2023-06-25 Thread Zhu, Lingshan
On 6/26/2023 10:32 AM, Jason Wang wrote: On Mon, Jun 12, 2023 at 3:14 PM Zhu Lingshan wrote: This commit dynamically allocates the data stores for the virtqueues based on virtio_pci_common_cfg.num_queues. While at it, it's better to allocate vring_lm_cfg as well and drop IFCVF_MAX_QUEUES. Y

Re: [PATCH V2 1/3] vDPA/ifcvf: dynamic allocate vq data stores

2023-06-25 Thread Jason Wang
On Mon, Jun 12, 2023 at 3:14 PM Zhu Lingshan wrote: > > This commit dynamically allocates the data > stores for the virtqueues based on > virtio_pci_common_cfg.num_queues. While at it, it's better to allocate vring_lm_cfg as well and drop IFCVF_MAX_QUEUES. Thanks > > Signed-off-by: Zhu Lingshan