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 aca701c commit ba1e942Copy full SHA for ba1e942
net/smc/smc_ib.c
@@ -742,6 +742,9 @@ bool smc_ib_is_sg_need_sync(struct smc_link *lnk,
742
unsigned int i;
743
bool ret = false;
744
745
+ if (!lnk->smcibdev->ibdev->dma_device)
746
+ return ret;
747
+
748
/* for now there is just one DMA address */
749
for_each_sg(buf_slot->sgt[lnk->link_idx].sgl, sg,
750
buf_slot->sgt[lnk->link_idx].nents, i) {
0 commit comments