* [PATCH] rdma/siw: select CONFIG_DMA_VIRT_OPS
@ 2019-07-12 8:52 Arnd Bergmann
2019-07-12 11:36 ` Bernard Metzler
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2019-07-12 8:52 UTC (permalink / raw)
To: Bernard Metzler, Doug Ledford, Jason Gunthorpe
Cc: Arnd Bergmann, Jason Gunthorpe, linux-rdma, linux-kernel
Without this symbol we get a link failure:
ERROR: "dma_virt_ops" [drivers/infiniband/sw/siw/siw.ko] undefined!
Fixes: bdcf26bf9b3a ("rdma/siw: network and RDMA core interface")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/infiniband/sw/siw/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/infiniband/sw/siw/Kconfig b/drivers/infiniband/sw/siw/Kconfig
index 94f684174ce3..ea282789f466 100644
--- a/drivers/infiniband/sw/siw/Kconfig
+++ b/drivers/infiniband/sw/siw/Kconfig
@@ -1,6 +1,7 @@
config RDMA_SIW
tristate "Software RDMA over TCP/IP (iWARP) driver"
depends on INET && INFINIBAND && CRYPTO_CRC32
+ select DMA_VIRT_OPS
help
This driver implements the iWARP RDMA transport over
the Linux TCP/IP network stack. It enables a system with a
--
2.20.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rdma/siw: select CONFIG_DMA_VIRT_OPS
2019-07-12 8:52 [PATCH] rdma/siw: select CONFIG_DMA_VIRT_OPS Arnd Bergmann
@ 2019-07-12 11:36 ` Bernard Metzler
0 siblings, 0 replies; 2+ messages in thread
From: Bernard Metzler @ 2019-07-12 11:36 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Doug Ledford, Jason Gunthorpe, Jason Gunthorpe, linux-rdma, linux-kernel
Hi Arnd, this got already fixed.
Many thanks!
Bernard.
-----"Arnd Bergmann" <arnd@arndb.de> wrote: -----
>To: "Bernard Metzler" <bmt@zurich.ibm.com>, "Doug Ledford"
><dledford@redhat.com>, "Jason Gunthorpe" <jgg@ziepe.ca>
>From: "Arnd Bergmann" <arnd@arndb.de>
>Date: 07/12/2019 10:53AM
>Cc: "Arnd Bergmann" <arnd@arndb.de>, "Jason Gunthorpe"
><jgg@mellanox.com>, linux-rdma@vger.kernel.org,
>linux-kernel@vger.kernel.org
>Subject: [EXTERNAL] [PATCH] rdma/siw: select CONFIG_DMA_VIRT_OPS
>
>Without this symbol we get a link failure:
>
>ERROR: "dma_virt_ops" [drivers/infiniband/sw/siw/siw.ko] undefined!
>
>Fixes: bdcf26bf9b3a ("rdma/siw: network and RDMA core interface")
>Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>---
> drivers/infiniband/sw/siw/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/infiniband/sw/siw/Kconfig
>b/drivers/infiniband/sw/siw/Kconfig
>index 94f684174ce3..ea282789f466 100644
>--- a/drivers/infiniband/sw/siw/Kconfig
>+++ b/drivers/infiniband/sw/siw/Kconfig
>@@ -1,6 +1,7 @@
> config RDMA_SIW
> tristate "Software RDMA over TCP/IP (iWARP) driver"
> depends on INET && INFINIBAND && CRYPTO_CRC32
>+ select DMA_VIRT_OPS
> help
> This driver implements the iWARP RDMA transport over
> the Linux TCP/IP network stack. It enables a system with a
>--
>2.20.0
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-12 11:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-12 8:52 [PATCH] rdma/siw: select CONFIG_DMA_VIRT_OPS Arnd Bergmann
2019-07-12 11:36 ` Bernard Metzler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).