public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-next 0/4] Enhance IB CM to support OPA extended LIDs
@ 2017-05-10 23:23 Dasaratharaman Chandramouli
       [not found] ` <1494458598-6911-1-git-send-email-dasaratharaman.chandramouli-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Dasaratharaman Chandramouli @ 2017-05-10 23:23 UTC (permalink / raw)
  To: Doug Ledford, linux-rdma

This patch series adds enhancements to support extended LIDs in the
IB CM protocol. The core idea is to trasmit extended LIDs as OPA GIDs
on the wire in the primary_local_gid, primary_remote_gid,
alternate_local_gid and alternate_remote_gid fields of a CM request.
On the receiving side, the extended LID is retrieved from these
gids when processing the connection request.

The patches are organized as follows:

* Patch 1 converts an OPA path record to an IB path record before
  placing GIDs from the path record onto a CM reqeust message. If the
  OPA path records were to contain exteded LIDs, the converted IB path
  record would contain OPA GIDs in the SGID and DGID fields.
* Patch 2 creates OPA path records when handling a connection request
  if the request contained OPA GIDs.
* Patch 3 'extracts' the OPA extended LIDs from the GID fields when
  handling the connection request
* Patch 4 changes the sgid parameter back to an IB GID when handing
  a request thereby ensuring that underlying handers of the CM request
  message such as IPoIB continue to work when it compares an incoming
  GID with the GID assign to its interface.

Please note that these patches apply on top of the previously submmitted
patch set with subject: "[PATCH rdma-next 0/8] Add OPA extended LID support"

Dasaratharaman Chandramouli (4):
  IB/CM: Convert OPA Path record to IB during CM request
  IB/CM: Create appropriate path records when handling CM request
  IB/CM: Set appropriate slid and dlid when handling CM request
  IB/CM: Change sgid to IB GID when handling CM request

 drivers/infiniband/core/cm.c | 184 +++++++++++++++++++++++++++++++++++--------
 1 file changed, 152 insertions(+), 32 deletions(-)

-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-05-16 21:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-10 23:23 [PATCH rdma-next 0/4] Enhance IB CM to support OPA extended LIDs Dasaratharaman Chandramouli
     [not found] ` <1494458598-6911-1-git-send-email-dasaratharaman.chandramouli-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-05-10 23:23   ` [PATCH rdma-next 1/4] IB/CM: Convert OPA Path record to IB during CM request Dasaratharaman Chandramouli
     [not found]     ` <1494458598-6911-2-git-send-email-dasaratharaman.chandramouli-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-05-16 20:34       ` Hefty, Sean
     [not found]         ` <1828884A29C6694DAF28B7E6B8A82373AB11E1D7-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2017-05-16 20:50           ` Don Hiatt
     [not found]             ` <9fa0b429-364f-0f49-fc2c-390d606a6ff6-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-05-16 21:20               ` Hefty, Sean
2017-05-10 23:23   ` [PATCH rdma-next 2/4] IB/CM: Create appropriate path records when handling " Dasaratharaman Chandramouli
     [not found]     ` <1494458598-6911-3-git-send-email-dasaratharaman.chandramouli-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-05-13 11:39       ` Leon Romanovsky
     [not found]         ` <20170513113936.GM3616-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-05-15 17:44           ` Hefty, Sean
     [not found]             ` <1828884A29C6694DAF28B7E6B8A82373AB11DB23-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2017-05-16  6:08               ` Leon Romanovsky
     [not found]                 ` <20170516060852.GO3616-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-05-16 16:43                   ` Hefty, Sean
2017-05-10 23:23   ` [PATCH rdma-next 3/4] IB/CM: Set appropriate slid and dlid " Dasaratharaman Chandramouli
2017-05-10 23:23   ` [PATCH rdma-next 4/4] IB/CM: Change sgid to IB GID " Dasaratharaman Chandramouli
     [not found]     ` <1494458598-6911-5-git-send-email-dasaratharaman.chandramouli-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-05-16 21:37       ` Hefty, Sean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox