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.