vDPA/ifcvf: get_max_vq_size to return max size
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 2 Feb 2024 16:39:04 +0000 (00:39 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Mar 2024 06:45:50 +0000 (02:45 -0400)
commitcd2147067409f0945ad7668cf74c347d3b426057
tree54d7d262eb9cbfca91a38c6015429bd3cc1f8460
parent273ae08fa03f907d09d6fe815a3982a7298ba804
vDPA/ifcvf: get_max_vq_size to return max size

Since we already implemented vdpa_config_ops.get_vq_size,
so get_max_vq_size can return the acutal max size of the
virtqueues other than the max allowed safe size.

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