aboutsummaryrefslogtreecommitdiff
path: root/hw/rdma
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-04-19 13:13:37 +0200
committerThomas Huth <thuth@redhat.com>2023-04-28 08:05:37 +0200
commite017462db554bedd82fa3bb86cd72d9e38684dd4 (patch)
tree7d10a68fafe13a1150c2a70b686f9d89188adb93 /hw/rdma
parentc02578b1fa0345d3da7dcdacf30ea2c246336257 (diff)
downloadqemu-e017462db554bedd82fa3bb86cd72d9e38684dd4.zip
qemu-e017462db554bedd82fa3bb86cd72d9e38684dd4.tar.gz
qemu-e017462db554bedd82fa3bb86cd72d9e38684dd4.tar.bz2
hw/rdma: VMW_PVRDMA should depend on VMXNET3_PCI
The "pvrdma" device is only usable in conjunction with the "vmxnet3" NIC - see the check for TYPE_VMXNET3 in pvrdma_realize(). By adding this dependency, the amount of total files that have to be compiled for a configuration with all targets decreases by 64 files (!), since the rdma code is marked as target specific and thus got recompiled for all targets that enable PCI so far. Message-Id: <20230419111337.651673-1-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/rdma')
-rw-r--r--hw/rdma/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rdma/Kconfig b/hw/rdma/Kconfig
index 8e22112..840320b 100644
--- a/hw/rdma/Kconfig
+++ b/hw/rdma/Kconfig
@@ -1,3 +1,3 @@
config VMW_PVRDMA
default y if PCI_DEVICES
- depends on PVRDMA && PCI && MSI_NONBROKEN
+ depends on PVRDMA && MSI_NONBROKEN && VMXNET3_PCI