Re: [PATCH 10/30] IB/core: Add gid_type to path and rdma_id_private

2015-02-19 Thread Matan Barak
On 2/19/2015 5:51 PM, Haggai Eran wrote: On 20/02/2015 00:02, Somnath Kotur wrote: @@ -1521,6 +1520,8 @@ static int cm_req_handler(struct cm_work *work) struct ib_cm_id *cm_id; struct cm_id_private *cm_id_priv, *listen_cm_id_priv; struct cm_req_msg *req_msg; +

Re: [PATCH 10/30] IB/core: Add gid_type to path and rdma_id_private

2015-02-19 Thread Haggai Eran
On 20/02/2015 00:02, Somnath Kotur wrote: @@ -1521,6 +1520,8 @@ static int cm_req_handler(struct cm_work *work) struct ib_cm_id *cm_id; struct cm_id_private *cm_id_priv, *listen_cm_id_priv; struct cm_req_msg *req_msg; + union ib_gid gid; + struct ib_gid_attr

[PATCH 10/30] IB/core: Add gid_type to path and rdma_id_private

2015-02-18 Thread Somnath Kotur
From: Matan Barak mat...@mellanox.com When using rdma cm, we want to take the gid_type from the rdma_id_private. This is mandatory before adding an API from user-space/configfs that sets the gid_type of CM connection. Signed-off-by: Matan Barak mat...@mellanox.com Signed-off-by: Somnath Kotur

[PATCH 10/30] IB/core: Add gid_type to path and rdma_id_private

2015-02-18 Thread Somnath Kotur
From: Matan Barak mat...@mellanox.com When using rdma cm, we want to take the gid_type from the rdma_id_private. This is mandatory before adding an API from user-space/configfs that sets the gid_type of CM connection. Signed-off-by: Matan Barak mat...@mellanox.com Signed-off-by: Somnath Kotur