We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0925c3c commit eb92991Copy full SHA for eb92991
net/smc/smc_ib.c
@@ -743,6 +743,9 @@ bool smc_ib_is_sg_need_sync(struct smc_link *lnk,
743
unsigned int i;
744
bool ret = false;
745
746
+ if (!lnk->smcibdev->ibdev->dma_device)
747
+ return ret;
748
+
749
/* for now there is just one DMA address */
750
for_each_sg(buf_slot->sgt[lnk->link_idx].sgl, sg,
751
buf_slot->sgt[lnk->link_idx].nents, i) {
0 commit comments