Re: [PATCH v2 05/11] IB/ipoib: Return IPoIB devices as possible matches to get_net_device_by_port_pkey_ip

2015-04-20 Thread ira.weiny
On Mon, Apr 20, 2015 at 12:03:36PM +0300, Haggai Eran wrote: > From: Guy Shapiro > > Implement callback that returns network device to ib_core according to > connection parameters. Check the ipoib device and iterate over all child > devices to look for a match. > > For each ipoib device we itera

Re: [PATCH v2 06/11] IB/cm, cma: Move RDMA IP CM private-data parsing code from ib_cma to ib_cm

2015-04-20 Thread ira.weiny
On Mon, Apr 20, 2015 at 12:03:37PM +0300, Haggai Eran wrote: > From: Guy Shapiro > > When receiving a connection request, ib_cm needs to associate the request with > a network namespace. To do this, it needs to know the request's destination > IP. For this the RDMA IP CM packet formatting functio

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 11/11] IB/ucm: Add partial support for network namespaces

2015-04-20 Thread ira.weiny
On Mon, Apr 20, 2015 at 12:03:42PM +0300, Haggai Eran wrote: > From: Shachar Raindel > > It is impossible to completely support network namespaces for UCM, as > we cannot identify the target IPoIB device. > As Jasons said it seems like the use of namespaces should be limited to the RDMA CM layer

Re: [RFC v2 00/10] HFI Virtual Network Interface Controller (VNIC)

2016-12-15 Thread ira.weiny
On Thu, Dec 15, 2016 at 11:12:26AM +0200, Leon Romanovsky wrote: > On Wed, Dec 14, 2016 at 11:59:32PM -0800, Vishwanathapura, Niranjana wrote: > > Thanks Jason for the valuable feedback. > > Here is the revised HFI VNIC patch series. > > > > ChangeLog: > > = > > v1 => v2: > > a) Removed hfi

Re: [RFC v2 00/10] HFI Virtual Network Interface Controller (VNIC)

2016-12-15 Thread ira.weiny
On Thu, Dec 15, 2016 at 11:48:37AM -0700, Jason Gunthorpe wrote: > On Thu, Dec 15, 2016 at 01:19:18PM -0500, Doug Ledford wrote: > > On 12/15/2016 12:07 PM, Jason Gunthorpe wrote: > > > On Thu, Dec 15, 2016 at 11:28:06AM -0500, Doug Ledford wrote: > > > > > >> 1) Since your intent is to make this

Re: [RFC 02/10] IB/hfi-vnic: Virtual Network Interface Controller (VNIC) Bus driver

2016-11-22 Thread ira.weiny
On Tue, Nov 22, 2016 at 10:04:07AM -0700, Jason Gunthorpe wrote: > On Mon, Nov 21, 2016 at 05:53:04PM -0800, Vishwanathapura, Niranjana wrote: > > There are many example drivers in kernel which are using bus_register() in > > an initcall. > > There really are not, certainly not in major subsystems