]> git.samba.org - sfrench/cifs-2.6.git/commit
vDPA/ifcvf: dynamic allocate vq data stores
authorZhu Lingshan <lingshan.zhu@intel.com>
Mon, 12 Jun 2023 15:14:18 +0000 (23:14 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 3 Jul 2023 16:15:12 +0000 (12:15 -0400)
commit7712832201eadb871c15ed96be1ec60d1e3ecacf
tree224caaba9aed3eb39f6bdb1b1ed26379b57b137a
parentbc9a2b3e686e32ebd764d92e66e21c01e23ffb16
vDPA/ifcvf: dynamic allocate vq data stores

This commit dynamically allocates the data
stores for the virtqueues based on
virtio_pci_common_cfg.num_queues.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Message-Id: <20230612151420.1019504-2-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/ifcvf/ifcvf_base.c
drivers/vdpa/ifcvf/ifcvf_base.h
drivers/vdpa/ifcvf/ifcvf_main.c