]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-pci-modern: introduce helper for getting queue nums
authorJason Wang <jasowang@redhat.com>
Mon, 4 Jan 2021 06:54:57 +0000 (14:54 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Feb 2021 12:52:58 +0000 (07:52 -0500)
commit630c8175a64ab6366e194a53bbf07a98c3bf5ae0
treec9ead0e93c51cb9a424ccb7103979a3970ab4250
parent6c352dc49d725c5af39cd9a4c4d3547d460ef796
virtio-pci-modern: introduce helper for getting queue nums

This patch introduces helper for getting queue num of modern device.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210104065503.199631-14-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci_modern.c