Re: [PATCH rdma-next v2 2/3] RDMA/rw: Support threshold for registration vs scattering to local pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/7/19 6:59 AM, Leon Romanovsky wrote:
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 4f671378dbfc..60fd98a9b7e8 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -445,6 +445,8 @@ struct ib_device_attr {
  	struct ib_tm_caps	tm_caps;
  	struct ib_cq_caps       cq_caps;
  	u64			max_dm_size;
+	/* Max entries for sgl for optimized performance per READ */
                                   ^^^^^^^^^
                                   optimal?

Should it be mentioned that zero means that the HCA has not set this parameter?

+	u32			max_sgl_rd;

Thanks,

Bart.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux