Re: [EXPERIMENTAL v1 0/4] RDMA loopback device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
  What is the difference between loopback  driver and loopback packet in the IB protocol?
 
for the IB protocol description:
10.2.2.3 LOOPBACK
Packet loopback is supported through self addressed packets as described
in 17.2.2 and C17-18:. Self-addressed packet is a packet whose
DLID and SLID address the same port of the same CA. Additionally, an
HCA can optionally support a Loopback Indicator. When Loopback Indicator
is supported, both Address Handles and QP/EE Address Vectors
can use Loopback Indicator instead of Destination LID. When reaping
completions for Datagrams based QPs, the Loopback Indicator is also reported
if the origin of the message was Loopback.

I always have a question for the above. Why not expsure the loopback indicator for user to support loopback packet?

thanks
在 2019/2/27 14:27, Parav Pandit 写道:
> This patchset adds RDMA loopback driver.
> Initially for RoCE which works on lo netdevice.
>
> It is tested with with nvme fabrics over ext4, perftests, and rping.
> It only supports RC and GSI QPs.
> It supports only RoCEv2 GIDs which belongs to loopback lo netdevice.
>
> It is only posted for discussion [1].
> It is not yet ready for RFC posting or merge.
>
> Its counter part rdma-core will be posted shortly.
>
> [1] https://www.spinics.net/lists/linux-rdma/msg76285.html
>
> ---
> Changelog:
> v0->v1:
>  - Added rdmacm patcch which I missed in first v0 patchset.
>
> Parav Pandit (4):
>   RDMA/cma: Add support for loopback netdevice
>   RDMA/loopback: Add helper lib for resources and cqe fifo
>   RDMA/loopback: Loopback rdma (RoCE) driver
>   RDMA/loopback: Support Fast memory registration
>
>  drivers/infiniband/Kconfig                       |    1 +
>  drivers/infiniband/core/cma.c                    |  134 +-
>  drivers/infiniband/sw/Makefile                   |    1 +
>  drivers/infiniband/sw/loopback/Kconfig           |   14 +
>  drivers/infiniband/sw/loopback/Makefile          |    4 +
>  drivers/infiniband/sw/loopback/helper.c          |  139 ++
>  drivers/infiniband/sw/loopback/loopback.c        | 1690 ++++++++++++++++++++++
>  drivers/infiniband/sw/loopback/loopback_helper.h |   68 +
>  include/uapi/rdma/rdma_user_ioctl_cmds.h         |    1 +
>  9 files changed, 1930 insertions(+), 122 deletions(-)
>  create mode 100644 drivers/infiniband/sw/loopback/Kconfig
>  create mode 100644 drivers/infiniband/sw/loopback/Makefile
>  create mode 100644 drivers/infiniband/sw/loopback/helper.c
>  create mode 100644 drivers/infiniband/sw/loopback/loopback.c
>  create mode 100644 drivers/infiniband/sw/loopback/loopback_helper.h
>





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux