Commit Graph

54 Commits (master)

Author SHA1 Message Date
Vitaliy Filippov 3ed9c07ef9 Set TCP_NODELAY (disable Nagle) 2020-05-28 01:17:00 +03:00
Vitaliy Filippov 8164383425 Actually use -m (msg_size) parameter for TCP latency and B/W tests instead of hard-coded defaults (1 byte and 32K) 2020-05-28 01:14:54 +03:00
Mike Marciniszyn 118a571efb Fix rdmacm race
cm_open_server() does the synchronization send_mesg() prior
to doing the listen.  This sets up a race where the client can
initiate a connection prior to having the listen having been done.

Fix by moving the send_msg() call until after the rdma_listen().

Change-Id: I1d271c7d25801749a2ed138fadbf97efbbe51efd
Reviewed-by: Estela, Henry R <henry.r.estela@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
2018-11-14 08:47:33 -05:00
Henry Estela 83bc16e5fc Use the rdma_cm_id from CMINFO rather than from the event
in cm_close, the rdma_cm_id from dev->cm is used to close the connection
for both the server and the client. However, in cm_open_server the id
from the cm event is used. The pointer for the qp seems to change for
the event's id and causes a segfault in rdma_destroy_qp on the server
side.
2018-11-13 16:30:30 -08:00
Estela, Henry R d47019ddc4 Add check for error with read of /proc/stat
If read returns -1 in this case, -1 will be used as an array offset
afterwards.

Signed-off-by: Estela, Henry R <henry.r.estela@intel.com>
2018-11-13 16:30:27 -08:00
AnandBibhuti c706363815 Support for IPv6 address format in qperf tests (#13)
* Code changes to include support for IPv6 address

* Revert "Code changes to include support for IPv6 address"

This reverts commit b4182bcee16eea31ff7761b806b590e95bdbae32.

* qperf should accept both IPv4 and IPv6 addresses for test execution.
These code changes are done to include support for IPv6 address.

Reviewed-by: Ka-Cheong Poon <ka-cheong.poon@oracle.com>
2018-04-03 10:29:49 -07:00
Henry Estela 414e2616f5
Merge pull request #12 from SystemFabricWorks/issue_9
Modernize configure.ac
2017-12-29 10:40:06 -08:00
Henry Estela d67e7bb513
Merge pull request #10 from SystemFabricWorks/issue_4
Add compile to files removed by cleanup.
2017-12-26 10:11:16 -08:00
Brian T. Smith 0a1740c605 Modernize configure.ac
Fix Issue #9: configure.in needs modernization

  + Rename configure.in to configure.ac.
  + Use no-arg AC_INIT_AUTOMAKE.
2017-12-08 14:33:17 -06:00
Brian T. Smith d7dcd242db Add compile to files removed by cleanup.
Fixes #4 - cleanup does not remove compile script
2017-11-16 11:15:12 -06:00
Manish Regmi aa644b22ff Merge pull request #1 from mregmi/master
Bump the version to 0.4.10 for the new release
2017-07-19 09:34:25 -07:00
Manish Regmi 64d9741e6a Bump the version to 0.4.10 for the new release
Signed-off-by: Manish Regmi <manish.regmi@intel.com>
2017-07-12 10:03:53 -07:00
Dean Luick f4c12043f2 qperf: Add IBV_QP_CAP to ibv_query_qp call
Add IBV_QP_CAP to make sure the capabilities field is returned by the device.
According to the man page devices are allowed to abbreviate the data returned.
This ensures we get the capabilities at a minimum.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
2017-02-14 12:06:43 -05:00
Ram Amrani 37018ef6fd Destroy server's QP in CM mode.
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
2017-02-08 16:41:14 -05:00
Dean Luick fd1afd8968 Bump the version to 0.4.9
Signed-off-by: Dean Luick <dean.luick@intel.com>
2012-11-07 09:02:00 -08:00
Dean Luick c24f9c3a89 Remove unused variable warnings.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
2012-11-07 08:45:20 -08:00
Dean Luick 4dca70879b Fix the rate tables so they are not accessed outside their scope.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
2012-10-30 10:27:55 -07:00
Dean Luick 5a38ed67c4 Bump the version to 0.4.8
Signed-off-by: Dean Luick <dean.luick@intel.com>
2012-09-18 08:14:44 -07:00
Dean Luick 766b027d44 Correct the Source: line
Add BuildReqires: librdmacm-devel

Signed-off-by: Dean Luick <dean.luick@intel.com>
2012-09-18 08:04:49 -07:00
Dean Luick d5fe529aec Use AF_RDS - the RDS address family value -- if defined. If not
defined, obtain the value in the pre-kernel integration location
of /proc/sys/net/rds/pf_rds.  If that fails, use the current AF_RDS
value.

Signed-off-by: Dean Luick <dean.luick@intel.com>
2012-09-14 14:17:02 -07:00
Dean Luick f3f7001a24 Fix qperf to compile when the XRC enhancements are not present.
Bump the version to 0.4.7.
2012-08-03 09:56:48 -07:00
Johann George b81434ec09 Fix bug when running under SLES and other minor changes 2009-07-27 21:14:37 -07:00
Johann George f2e53352c5 Modified version number. 2009-06-25 08:32:57 -07:00
Johann George 18e1c1e8af Fix for issue with closing on Sinai 2009-05-26 08:39:19 -07:00
johann 12e0fa59a8 The QP contains references to the protection domain (PD), memory
regions (MR), address handles, completion queues (CQ), address
handles (AH), etc.
The QP should be destroyed before any other objects are destroyed
so that the referenced object is not busy.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
2009-05-12 18:43:47 -07:00
Johann George c86b501270 Improved timeout handling and other fixes 2009-03-22 02:16:15 -07:00
Johann George 9639237d36 Fixed atomics 2009-03-04 01:03:33 -08:00
Johann George af10c97d33 Several updates and bug fixes. 2009-02-05 22:07:04 -08:00
Johann George bee05d35b0 Added support for XRC, fixed bugs 2008-11-16 18:10:02 -08:00
Johann George (QLogic) b41f827234 Added support for RDMA Connection Manager 2008-02-24 14:05:27 -08:00
Johann George (QLogic) 6221aabd03 Minor changes to version detect code 2008-02-18 15:59:26 -08:00
Johann George (QLogic) 6181c2d627 Typo in documentation 2008-02-17 18:02:16 -08:00
Johann George (QLogic) 931cafe4c1 Fixed a bug with detecting version 2008-02-17 17:41:54 -08:00
Johann George (QLogic) 8ab8f5379c More clean up and minor bug fixes 2008-02-17 15:37:52 -08:00
Johann George (QLogic) 782a713d05 Changed README 2008-02-16 14:10:16 -08:00
Johann George (QLogic) d7a1736bc8 Fixed bug with --help. 2008-02-13 09:59:15 -08:00
Johann George (QLogic) 7b750d864b More changes to support OFED scripts 2008-02-03 14:10:07 -08:00
Johann George (QLogic) ae552d16cf For OFED 1.3 scripts 2008-02-03 10:47:38 -08:00
Johann George (QLogic) 1487918566 Added support for SLs 2008-02-02 19:03:19 -08:00
Johann George (QLogic) f6863fac0f Fix quit. 2008-01-23 19:21:15 -08:00
Johann George (QLogic) 13f836801f Fixed help 2008-01-22 13:23:15 -08:00
Johann George (QLogic) eb8ccc4f9b Testing git 2008-01-22 13:03:43 -08:00
Johann George 317ca959ec Allowed tests to utilize more options. 2008-01-12 22:16:46 -08:00
Johann George (QLogic) a512e78416 Added RDS support. 2008-01-09 15:22:48 -08:00
Johann George (QLogic) 9d41e2e152 Support for additional protocols. 2008-01-08 12:21:21 -08:00
Johann George (QLogic) ca68791bc0 More cleanup. 2007-11-04 00:31:17 -07:00
Johann George (QLogic) c1e2830a86 Fixed bug in autoconf/automake script 2007-10-31 13:21:45 -07:00
Johann George (QLogic) e09a385342 Entirely cosmetic 2007-10-29 00:12:58 -07:00
Johann George (QLogic) b6d82ba7d0 Better support for automake 2007-10-28 22:48:11 -07:00
Johann George (QLogic) 87ca4c59a9 Make scripts compatible with OFED. 2007-10-25 17:07:31 -07:00