1. 05 Aug, 2016 2 commits
    • Logan Gunthorpe's avatar
      ntb_test: Add a selftest script for the NTB subsystem · a9c59ef7
      Logan Gunthorpe authored
      This script automates testing doorbells, scratchpads and memory windows
      for an NTB device. It can be run locally, with the NTB looped
      back to the same host or use SSH to remotely control the second host.
      
      In the single host case, the script just needs to be passed two
      arguments: a PCI ID for each side of the link. In the two host case
      the -r option must be used to specify the remote hostname (which must
      be SSH accessible and should probably have ssh-keys exchanged).
      
      A sample run looks like this:
      
      $ sudo ./ntb_test.sh 0000:03:00.1 0000:83:00.1 -p 29
      Starting ntb_tool tests...
      Running link tests on: 0000:03:00.1 / 0000:83:00.1
        Passed
      Running link tests on: 0000:83:00.1 / 0000:03:00.1
        Passed
      Running db tests on: 0000:03:00.1 / 0000:83:00.1
        Passed
      Running db tests on: 0000:83:00.1 / 0000:03:00.1
        Passed
      Running spad tests on: 0000:03:00.1 / 0000:83:00.1
        Passed
      Running spad tests on: 0000:83:00.1 / 0000:03:00.1
        Passed
      Running mw0 tests on: 0000:03:00.1 / 0000:83:00.1
        Passed
      Running mw0 tests on: 0000:83:00.1 / 0000:03:00.1
        Passed
      Running mw1 tests on: 0000:03:00.1 / 0000:83:00.1
        Passed
      Running mw1 tests on: 0000:83:00.1 / 0000:03:00.1
        Passed
      
      Starting ntb_pingpong tests...
      Running ping pong tests on: 0000:03:00.1 / 0000:83:00.1
        Passed
      
      Starting ntb_perf tests...
      Running local perf test without DMA
        0: copied 536870912 bytes in 164453 usecs, 3264 MBytes/s
        Passed
      Running remote perf test without DMA
        0: copied 536870912 bytes in 164453 usecs, 3264 MBytes/s
        Passed
      Signed-off-by: default avatarLogan Gunthorpe <logang@deltatee.com>
      Acked-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
      Acked-by: default avatarAllen Hubbe <Allen.Hubbe@emc.com>
      Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
      a9c59ef7
    • seokhoon.yoon's avatar
      4b16b0c0
  2. 04 Aug, 2016 2 commits
    • Moni Shoua's avatar
      Soft RoCE driver · 8700e3e7
      Moni Shoua authored
      Soft RoCE (RXE) - The software RoCE driver
      
      ib_rxe implements the RDMA transport and registers to the RDMA core
      device as a kernel verbs provider. It also implements the packet IO
      layer. On the other hand ib_rxe registers to the Linux netdev stack
      as a udp encapsulating protocol, in that case RDMA, for sending and
      receiving packets over any Ethernet device.  This yields a RDMA
      transport over the UDP/Ethernet network layer forming a RoCEv2
      compatible device.
      
      The configuration procedure of the Soft RoCE drivers requires
      binding to any existing Ethernet network device. This is done with
      /sys interface.
      
      A userspace Soft RoCE library (librxe) provides user applications
      the ability to run with Soft RoCE devices.  The use of rxe verbs ins
      user space requires the inclusion of librxe as a device specifics
      plug-in to libibverbs. librxe is packaged separately.
      
      Architecture:
      
           +-----------------------------------------------------------+
           |                          Application                      |
           +-----------------------------------------------------------+
                                  +-----------------------------------+
                                  |             libibverbs            |
      User                        +-----------------------------------+
                                  +----------------+ +----------------+
                                  | librxe         | | HW RoCE lib    |
                                  +----------------+ +----------------+
      +---------------------------------------------------------------+
           +--------------+                           +------------+
           | Sockets      |                           | RDMA ULP   |
           +--------------+                           +------------+
           +--------------+                  +---------------------+
           | TCP/IP       |                  | ib_core             |
           +--------------+                  +---------------------+
                                   +------------+ +----------------+
      Kernel                       | ib_rxe     | | HW RoCE driver |
                                   +------------+ +----------------+
           +------------------------------------+
           | NIC driver                         |
           +------------------------------------+
      
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           +-----------------------------------------------------------+
           |                          Application                      |
           +-----------------------------------------------------------+
                                  +-----------------------------------+
                                  |             libibverbs            |
      User                        +-----------------------------------+
                                  +----------------+ +----------------+
                                  | librxe         | | HW RoCE lib    |
                                  +----------------+ +----------------+
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           +--------------+                           +------------+
           | Sockets      |                           | RDMA ULP   |
           +--------------+                           +------------+
           +--------------+                  +---------------------+
           | TCP/IP       |                  | ib_core             |
           +--------------+                  +---------------------+
                                   +------------+ +----------------+
      Kernel                       | ib_rxe     | | HW RoCE driver |
                                   +------------+ +----------------+
           +------------------------------------+
           | NIC driver                         |
           +------------------------------------+
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      Soft RoCE resources:
      
      [1[ https://github.com/SoftRoCE/librxe-dev librxe - source code in
      Github
      [2] https://github.com/SoftRoCE/rxe-dev/wiki/rxe-dev:-Home - Soft RoCE
      Wiki page
      [3] https://github.com/SoftRoCE/librxe-dev - Soft RoCE userspace library
      Signed-off-by: default avatarKamal Heib <kamalh@mellanox.com>
      Signed-off-by: default avatarAmir Vadai <amirv@mellanox.com>
      Signed-off-by: default avatarMoni Shoua <monis@mellanox.com>
      Reviewed-by: default avatarHaggai Eran <haggaie@mellanox.com>
      Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
      8700e3e7
    • Kamil Debski's avatar
      MAINTAINERS: update email and list of Samsung HW driver maintainers · 774e0362
      Kamil Debski authored
      Change my email address in the MAINTAINERS file.
      Add new maintainers of selected Samsung HW drivers.
      
      Link: http://lkml.kernel.org/r/1470060703-20423-1-git-send-email-k.debski@samsung.comSigned-off-by: default avatarKamil Debski <k.debski@samsung.com>
      Reviewed-by: default avatarJean Delvare <jdelvare@suse.de>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Guenter Roeck <linux@roeck-us.net>
      Cc: Kishon Vijay Abraham I <kishon@ti.com>
      Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
      Cc: Andrzej Hajda <a.hajda@samsung.com>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
      Cc: Kamil Debski <kamil@wypas.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      774e0362
  3. 02 Aug, 2016 3 commits
  4. 01 Aug, 2016 3 commits
  5. 27 Jul, 2016 1 commit
  6. 26 Jul, 2016 2 commits
  7. 25 Jul, 2016 2 commits
  8. 24 Jul, 2016 1 commit
  9. 22 Jul, 2016 2 commits
  10. 20 Jul, 2016 1 commit
  11. 19 Jul, 2016 1 commit
  12. 17 Jul, 2016 1 commit
  13. 15 Jul, 2016 2 commits
  14. 13 Jul, 2016 6 commits
  15. 12 Jul, 2016 3 commits
  16. 11 Jul, 2016 1 commit
  17. 08 Jul, 2016 2 commits
  18. 07 Jul, 2016 5 commits