Re: [PATCH v1 02/12] IB/core: Find the network device matching connection parameters

2015-07-09 Thread Haggai Eran
On 08/07/2015 23:33, Jason Gunthorpe wrote: On Mon, Jun 22, 2015 at 03:42:31PM +0300, Haggai Eran wrote: +/** + * ib_get_net_dev_by_params() - Return the appropriate net_dev + * for a received CM request + * @dev:An RDMA device on which the request has been received. + * @port: Port

Re: [PATCH v1 02/12] IB/core: Find the network device matching connection parameters

2015-07-08 Thread Jason Gunthorpe
On Mon, Jun 22, 2015 at 03:42:31PM +0300, Haggai Eran wrote: +/** + * ib_get_net_dev_by_params() - Return the appropriate net_dev + * for a received CM request + * @dev: An RDMA device on which the request has been received. + * @port:Port number on the RDMA device. + * @pkey:The

[PATCH v1 02/12] IB/core: Find the network device matching connection parameters

2015-06-22 Thread Haggai Eran
From: Yotam Kenneth yota...@mellanox.com In the case of IPoIB, and maybe in other cases, the network device is managed by an upper-layer protocol (ULP). In order to expose this network device to other users of the IB device, let ULPs implement a callback that returns network device according to