]> git.baikalelectronics.ru Git - kernel.git/commit
vDPA/ifcvf: detect and use the onboard number of queues directly
authorZhu Lingshan <lingshan.zhu@intel.com>
Wed, 18 Aug 2021 09:57:13 +0000 (17:57 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 5 Sep 2021 20:23:07 +0000 (16:23 -0400)
commit7438f982a4439a4f350c49a7cabf6afe76b435e1
tree107d8cb8ca233fc048ef2407d1ee87f7e26ded0c
parent9e1b75f5c3728e96724afb6ebee6a6ab69472147
vDPA/ifcvf: detect and use the onboard number of queues directly

To enable this multi-queue feature for ifcvf, this commit
intends to detect and use the onboard number of queues
directly than IFCVF_MAX_QUEUE_PAIRS = 1 (removed)

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Link: https://lore.kernel.org/r/20210818095714.3220-2-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vdpa/ifcvf/ifcvf_base.c
drivers/vdpa/ifcvf/ifcvf_base.h
drivers/vdpa/ifcvf/ifcvf_main.c