Merge branches 'mlx4', 'mlx5' and 'ocrdma' into k.o/for-4.6
[cascardo/linux.git] / drivers / infiniband / core / verbs.c
index 48dc43c..5cd1e39 100644 (file)
@@ -1567,6 +1567,8 @@ EXPORT_SYMBOL(ib_check_mr_status);
  * - The last sg element is allowed to have length less than page_size.
  * - If sg_nents total byte length exceeds the mr max_num_sge * page_size
  *   then only max_num_sg entries will be mapped.
+ * - If the MR was allocated with type IB_MR_TYPE_SG_GAPS_REG, non of these
+ *   constraints holds and the page_size argument is ignored.
  *
  * Returns the number of sg elements that were mapped to the memory region.
  *