Re: [PATCH v2 07/11] IB/cm: Add network namespace support

2015-04-21 Thread Jason Gunthorpe
On Tue, Apr 21, 2015 at 03:07:47PM +0300, Haggai Eran wrote: > Namespace is needed for RoCE address resolution, in cases where the > driver doesn't report the MAC as part of the ib_wc. This patch explicitly says it doesn't deal with RoCE, so why are we adding namespaces to support RoCE paths in t

Re: [PATCH v2 07/11] IB/cm: Add network namespace support

2015-04-21 Thread Haggai Eran
On 20/04/2015 20:06, Jason Gunthorpe wrote: > On Mon, Apr 20, 2015 at 12:03:38PM +0300, Haggai Eran wrote: >> From: Guy Shapiro >> >> Add namespace support to the IB-CM layer. > >> - Each CM-ID now has a network namespace it is associated with, assigned at >> creation. This namespace is used as

Re: [PATCH v2 07/11] IB/cm: Add network namespace support

2015-04-20 Thread ira.weiny
On Mon, Apr 20, 2015 at 11:06:59AM -0600, Jason Gunthorpe wrote: > On Mon, Apr 20, 2015 at 12:03:38PM +0300, Haggai Eran wrote: > > From: Guy Shapiro > > > > Add namespace support to the IB-CM layer. > > > - Each CM-ID now has a network namespace it is associated with, assigned at > > creation

Re: [PATCH v2 07/11] IB/cm: Add network namespace support

2015-04-20 Thread Jason Gunthorpe
On Mon, Apr 20, 2015 at 12:03:38PM +0300, Haggai Eran wrote: > From: Guy Shapiro > > Add namespace support to the IB-CM layer. > - Each CM-ID now has a network namespace it is associated with, assigned at > creation. This namespace is used as needed during subsequent action on the > CM-ID or

[PATCH v2 07/11] IB/cm: Add network namespace support

2015-04-20 Thread Haggai Eran
From: Guy Shapiro Add namespace support to the IB-CM layer. - Each CM-ID now has a network namespace it is associated with, assigned at creation. This namespace is used as needed during subsequent action on the CM-ID or related objects. - All of the relevant calls to ib_addr and ib_core wer