public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Ming Lin <mlin-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Kamal Heib <kamalh-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Tal Alon <talal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	Liran Liss <liranl-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH rdma-next V2 00/32] Soft-RoCE driver
Date: Sat, 26 Dec 2015 00:03:01 -0800	[thread overview]
Message-ID: <1451116981.10148.7.camel@hasee> (raw)
In-Reply-To: <1450948698-13383-1-git-send-email-kamalh-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

On Thu, 2015-12-24 at 11:17 +0200, Kamal Heib wrote:
> Doug and list Hi,
> 
> This patchset introduces Soft RoCE driver.

Thanks to submit this driver.
I have been looking for this kind of driver a while to setup a RDMA
environment with 2 virtual machines.

I did a quick test with 2 VMs.

root@vm1:~# rxe_cfg start
tee: /sys/kernel/config/rdma_cm/rxe0/default_roce_mode: Permission denied
IBOE V2
  Name  Link  Driver  Speed  NMTU  IPv4_addr      RDEV  RMTU          
  eth0  yes   8139cp         1500  192.168.122.3  rxe0  1024  (3)

ibv_rc_pingpong works!

root@vm1:~# ibv_rc_pingpong -d rxe0 -g 0
  local address:  LID 0x0000, QPN 0x000011, PSN 0xfb6f08, GID fe80::5054:ff:fe12:3456
  remote address: LID 0x0000, QPN 0x000011, PSN 0xcb2acb, GID fe80::5054:ff:fe5f:8a49
8192000 bytes in 0.66 seconds = 99.94 Mbit/sec
1000 iters in 0.66 seconds = 655.76 usec/iter

root@vm2:~# ibv_rc_pingpong -d rxe0 -g 0 192.168.122.89
  local address:  LID 0x0000, QPN 0x000011, PSN 0xcb2acb, GID fe80::5054:ff:fe5f:8a49
  remote address: LID 0x0000, QPN 0x000011, PSN 0xfb6f08, GID fe80::5054:ff:fe12:3456
8192000 bytes in 0.66 seconds = 99.70 Mbit/sec
1000 iters in 0.66 seconds = 657.32 usec/iter

rping seems works too!

root@vm1:~# rping -s -d
created cm_id 0x1683d20
rdma_bind_addr successful
rdma_listen
cma_event type RDMA_CM_EVENT_CONNECT_REQUEST cma_id 0x1684200 (child)
child cma 0x1684200
created pd 0x16844a0
created channel 0x16844c0
created cq 0x16844e0
created qp 0x1684590
rping_setup_buffers called on cb 0x1683010
allocated & registered buffers...
accepting client connection request
cq_thread started.
cma_event type RDMA_CM_EVENT_ESTABLISHED cma_id 0x1684200 (child)
ESTABLISHED
recv completion
Received rkey 118b addr 22899e0 len 64 from peer
server received sink adv
server posted rdma read req 
rdma read completion
server received read complete
server posted go ahead
send completion
recv completion
Received rkey 1045 addr 2289950 len 64 from peer
server received sink adv
rdma write from lkey d11 laddr 16846d0 len 64
rdma write completion
server rdma write complete 
server posted go ahead
send completion
cma_event type RDMA_CM_EVENT_DISCONNECTED cma_id 0x1684200 (child)
server DISCONNECT EVENT...
wait for RDMA_READ_ADV state 9
rping_free_buffers called on cb 0x1683010
destroy cm_id 0x1683d20

root@vm2:~# rping -c -d -a 192.168.122.89 -C 1
count 1
created cm_id 0x2289200
cma_event type RDMA_CM_EVENT_ADDR_RESOLVED cma_id 0x2289200 (parent)
cma_event type RDMA_CM_EVENT_ROUTE_RESOLVED cma_id 0x2289200 (parent)
rdma_resolve_addr - rdma_resolve_route successful
created pd 0x22896e0
created channel 0x2289700
created cq 0x2289720
created qp 0x22897d0
rping_setup_buffers called on cb 0x2288010
allocated & registered buffers...
cq_thread started.
cma_event type RDMA_CM_EVENT_ESTABLISHED cma_id 0x2289200 (parent)
ESTABLISHED
rmda_connect successful
RDMA addr 22899e0 rkey 118b len 64
send completion
recv completion
RDMA addr 2289950 rkey 1045 len 64
send completion
recv completion
rping_free_buffers called on cb 0x2288010
destroy cm_id 0x2289200



--
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

      parent reply	other threads:[~2015-12-26  8:03 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-24  9:17 [PATCH rdma-next V2 00/32] Soft-RoCE driver Kamal Heib
     [not found] ` <1450948698-13383-1-git-send-email-kamalh-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-12-24  9:17   ` [PATCH rdma-next V2 01/32] IB/core: Macro for RoCEv2 UDP port Kamal Heib
     [not found]     ` <1450948698-13383-2-git-send-email-kamalh-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-12-27  6:58       ` Leon Romanovsky
     [not found]         ` <20151227065815.GE8501-2ukJVAZIZ/Y@public.gmane.org>
2016-02-19 18:26           ` Doug Ledford
2015-12-24  9:17   ` [PATCH rdma-next V2 02/32] IB/core: Add SEND_LAST_INV and SEND_ONLY_INV opcodes Kamal Heib
2015-12-24  9:17   ` [PATCH rdma-next V2 03/32] IB/rxe: IBA header types and methods Kamal Heib
2015-12-24  9:17   ` [PATCH rdma-next V2 04/32] IB/rxe: Bit mask and lengths declaration for different opcodes Kamal Heib
2015-12-24  9:17   ` [PATCH rdma-next V2 05/32] IB/rxe: Default rxe device and port parameters Kamal Heib
2015-12-24  9:17   ` [PATCH rdma-next V2 06/32] IB/rxe: External interface to lower level modules Kamal Heib
2015-12-24  9:17   ` [PATCH rdma-next V2 07/32] IB/rxe: Misc local interfaces between files in ib_rxe Kamal Heib
2015-12-24  9:17   ` [PATCH rdma-next V2 08/32] IB/rxe: Add maintainer for rxe driver Kamal Heib
2015-12-24  9:17   ` [PATCH rdma-next V2 09/32] IB/rxe: Work request's opcode information table Kamal Heib
2015-12-24  9:17   ` [PATCH rdma-next V2 10/32] IB/rxe: User/kernel shared queues infrastructure Kamal Heib
2015-12-24  9:17   ` [PATCH rdma-next V2 11/32] IB/rxe: Common user/kernel queue implementation Kamal Heib
2015-12-24  9:17   ` [PATCH rdma-next V2 12/32] IB/rxe: Interface to ib_core Kamal Heib
2015-12-24  9:17   ` [PATCH rdma-next V2 13/32] IB/rxe: Allocation pool for RDMA objects Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 14/32] IB/rxe: RXE tasks handling Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 15/32] IB/rxe: Address vector manipulation functions Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 16/32] IB/rxe: Shared Receive Queue (SRQ) " Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 17/32] IB/rxe: Completion Queue (CQ) " Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 18/32] IB/rxe: Queue Pair (QP) handling Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 19/32] IB/rxe: Memory Region (MR) handling Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 20/32] IB/rxe: Multicast implementation Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 21/32] IB/rxe: Received packets handling Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 22/32] IB/rxe: Completion handling Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 23/32] IB/rxe: QP request handling Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 24/32] IB/rxe: QP response handling Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 25/32] IB/rxe: Dummy DMA callbacks for RXE device Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 26/32] IB/rxe: ICRC calculations Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 27/32] IB/rxe: Module init hooks Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 28/32] IB/rxe: Interface to netdev stack Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 29/32] IB/rxe: sysfs interface to RXE Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 30/32] IB/rxe: Shared objects between user and kernel Kamal Heib
     [not found]     ` <1450948698-13383-31-git-send-email-kamalh-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-02-18 16:17       ` Doug Ledford
2015-12-24  9:18   ` [PATCH rdma-next V2 31/32] IB/rxe: Add Soft-RoCE to kbuild and makefiles Kamal Heib
2015-12-24  9:18   ` [PATCH rdma-next V2 32/32] IB/rxe: TODO file while in staging Kamal Heib
2015-12-24 10:02   ` [PATCH rdma-next V2 00/32] Soft-RoCE driver Christoph Hellwig
     [not found]     ` <20151224100228.GB21387-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2015-12-24 12:58       ` Or Gerlitz
     [not found]         ` <CAJ3xEMiR7gcgScbiCkx3YpXJpJO4LYHvUY=1kpxxwiGtudF-qw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-12-24 14:20           ` Christoph Hellwig
     [not found]             ` <20151224142047.GA29757-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2015-12-26 18:09               ` Doug Ledford
2015-12-26  8:03   ` Ming Lin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1451116981.10148.7.camel@hasee \
    --to=mlin-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=kamalh-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=liranl-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=talal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox