]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/infiniband/ulp/srpt/ib_srpt.h
Merge remote-tracking branch 'regmap/fix/rbtree' into regmap-linus
[mirror_ubuntu-bionic-kernel.git] / drivers / infiniband / ulp / srpt / ib_srpt.h
index 389030487da7eecb521342e8a83859b39b3523a6..581878782854322301dc85ba1e6c763888da0827 100644 (file)
@@ -106,7 +106,11 @@ enum {
        SRP_LOGIN_RSP_MULTICHAN_MAINTAINED = 0x2,
 
        SRPT_DEF_SG_TABLESIZE = 128,
-       SRPT_DEF_SG_PER_WQE = 16,
+       /*
+        * An experimentally determined value that avoids that QP creation
+        * fails due to "swiotlb buffer is full" on systems using the swiotlb.
+        */
+       SRPT_MAX_SG_PER_WQE = 16,
 
        MIN_SRPT_SQ_SIZE = 16,
        DEF_SRPT_SQ_SIZE = 4096,