Re: [PATCH 7/8] IB/srp: Register the indirect data buffer descriptor

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

 



On 08/16/15 04:09, Sagi Grimberg wrote:
On 8/11/2015 3:09 AM, Bart Van Assche wrote:
+/*
+ * Register the indirect data buffer descriptor with the HCA.
+ *
+ * Note: since the indirect data buffer descriptor has been allocated with
+ * kmalloc() it is guaranteed that this buffer is a physically contiguous
+ * memory buffer.
+ */

kdoc style?

If I have to repost this patch series I will convert this comment into kernel-doc style.

diff --git a/drivers/infiniband/ulp/srp/ib_srp.h b/drivers/infiniband/ulp/srp/ib_srp.h
index 60a33c1..255b0e5 100644
--- a/drivers/infiniband/ulp/srp/ib_srp.h
+++ b/drivers/infiniband/ulp/srp/ib_srp.h
@@ -288,6 +288,10 @@ struct srp_map_state {
   			struct srp_fr_desc **next;
   			struct srp_fr_desc **end;
   		} fr;
+		struct {
+			void		   **next;
+			void		   **end;
+		} gen;

What does 'gen' stands for?

In this context "gen" stands for "generic". This patch introduces some code that needs to access the "next" and "end" pointers and that is used both for FMR and FR.

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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