[RFC rdma-next 03/11] RDMA/verbs: Add unique PD object identifier

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

 



From: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
---
 include/rdma/ib_verbs.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index a3ceed3a040a..1deadfd54c70 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -1551,6 +1551,12 @@ struct ib_pd {

 	u32			unsafe_global_rkey;

+	/*
+	 * Unique identifier, controlled by HW for capable
+	 * devices or assigned by IB/core for the rest.
+	 */
+	u32			pdn;
+
 	/*
 	 * Implementation details of the RDMA core, don't use in drivers:
 	 */
--
2.19.1




[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