On 13/07/2015 20:48, Jason Gunthorpe wrote:
On Mon, Jun 22, 2015 at 03:42:34PM +0300, Haggai Eran wrote:
spin_lock_irq(cm.lock);
+if (--cm_id_priv-listen_sharecount 0) {
+/* The id is still shared. */
+
On Tue, Jul 14, 2015 at 11:45:15AM +0300, Haggai Eran wrote:
Reviewed-By: Jason Gunthorpe jguntho...@obsidianresearch.com
Thanks.
Can I add it with the modifications above?
Yep
Jason
--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to
On Mon, Jun 22, 2015 at 03:42:34PM +0300, Haggai Eran wrote:
spin_lock_irq(cm.lock);
+ if (--cm_id_priv-listen_sharecount 0) {
+ /* The id is still shared. */
+ atomic_dec(cm_id_priv-refcount);
Nit: This looks very strange not
Enabling network namespaces for RDMA CM will allow processes on different
namespaces to listen on the same port. In order to leave namespace support
out of the CM layer, this requires that multiple RDMA CM IDs will be able
to share a single CM ID.
This patch adds infrastructure to retrieve an