diff options
author | Doug Ledford <dledford@redhat.com> | 2016-08-04 04:51:20 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-08-04 04:51:20 +0300 |
commit | 7c41765d8c30bdf1b056533c0521ecdec0ec11fa (patch) | |
tree | e1365f63a97e80c21938631598cf9726e6704d9e /drivers/infiniband/ulp/srpt/ib_srpt.h | |
parent | 0636e9ab8355c82ff7e9d6bb8aa2ded834b1f88d (diff) | |
parent | e6d66e3eb65f8b083d827f6864e70b8dcea9d9bb (diff) | |
download | linux-7c41765d8c30bdf1b056533c0521ecdec0ec11fa.tar.xz |
Merge branches 'hfi1' and 'sge-limit' into k.o/for-4.8-2
Diffstat (limited to 'drivers/infiniband/ulp/srpt/ib_srpt.h')
-rw-r--r-- | drivers/infiniband/ulp/srpt/ib_srpt.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.h b/drivers/infiniband/ulp/srpt/ib_srpt.h index 389030487da7..581878782854 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.h +++ b/drivers/infiniband/ulp/srpt/ib_srpt.h @@ -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, |