Re: [PATCH 07/20] RDMA/mlx5: Add attr for max number page list length for PI operation

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

 




On 6/5/2019 10:28 PM, Sagi Grimberg wrote:

+ props->max_pi_fast_reg_page_list_len =
+        props->max_fast_reg_page_list_len / 2;

is it page_list_len or sg_list_len? Also need to document that
both data and meta sges need to fit in this (and not respectively)


in iSER:


 if (iser_conn->ib_conn.pi_support)
                max_num_sg = attr->max_pi_fast_reg_page_list_len;
        else
                max_num_sg = attr->max_fast_reg_page_list_len;


so max_pi_fast_reg_page_list_len is the length of *each* list in case we do PI (not the sum of the 2 lists length), the same way as max_fast_reg_page_list_len is the length of the list in the non-PI case.





[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