OSDN Git Service

vDPA/ifcvf: detect and report max allowed vq size
authorZhu Lingshan <lingshan.zhu@intel.com>
Mon, 12 Jun 2023 15:14:19 +0000 (23:14 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 3 Jul 2023 16:15:12 +0000 (12:15 -0400)
commitae904d9ce2cf8fec34cee72a67fcbee7640dd70f
tree3bff5dae77111d7bd23b1f740c36d0f4eeae72ad
parent7712832201eadb871c15ed96be1ec60d1e3ecacf
vDPA/ifcvf: detect and report max allowed vq size

Rather than a hardcode, this commit detects
and reports the max value of allowed size
of the virtqueues

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Message-Id: <20230612151420.1019504-3-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