On 03/20/2012 05:39 PM, parav.pan...@emulex.com wrote:
+struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *ibpd, int acc)
+{
+ struct ocrdma_mr *mr;
+
+ mr = ocrdma_alloc_lkey(ibpd, acc, 0, OCRDMA_ADDR_CHECK_DISABLE);
+ if (!mr)
+ return ERR_PTR(-ENOMEM);
(Resent becasue the first one got lost)
On 03/20/2012 05:39 PM, parav.pan...@emulex.com wrote:
+
+int ocrdma_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
+ struct ib_send_wr **bad_wr)
+{
+ int status = 0;
+ struct ocrdma_qp *qp = get_ocrdma_qp(ibqp);
+
On 03/20/2012 05:39 PM, parav.pan...@emulex.com wrote:
From: Parav Pandit parav.pan...@emulex.com
+
+int ocrdma_mbx_dealloc_lkey(struct ocrdma_dev *dev, int fr_mr, u32 lkey)
+{
+ int status = -ENOMEM;
+ struct ocrdma_dealloc_lkey *cmd;
+
+ cmd =
On 03/20/2012 05:39 PM, parav.pan...@emulex.com wrote:
+
+int ocrdma_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
+ struct ib_send_wr **bad_wr)
+{
+ int status = 0;
+ struct ocrdma_qp *qp = get_ocrdma_qp(ibqp);
+ struct ocrdma_hdr_wqe *hdr;
+
On 07/22/2011 01:47 PM, Bernard Metzler wrote:
+int siw_post_receive(struct ib_qp *ofa_qp, struct ib_recv_wr *wr,
+ struct ib_recv_wr **bad_wr)
+{
+ struct siw_wqe *wqe = NULL;
+ struct siw_qp *qp = siw_qp_ofa2siw(ofa_qp);
+ unsigned long flags;
+ int
Hi,
It seems that sq_sig_all is not properly set when creating the QP or
when querying it. The following programs creates a bunch of QP with
sq_sig_all set to 0 and then queries them. Often sq_sig_all is returned
to be 1.
I tested some other returned values and they seem correct.
I didn't see
On 05/09/2011 10:09 AM, frank zago wrote:
Hi,
Where is the perftest tree hosted ? The only place I know of
(http://git.openfabrics.org/git?p=~shamoya/perftest.git) hasn't been updated
in months, and the code differs a lot from what is in OFED 1.5.3.
Any idea ?
No one ?
The maintainer
On 05/17/2011 12:13 PM, Hefty, Sean wrote:
Where is the perftest tree hosted ? The only place I know of
(http://git.openfabrics.org/git?p=~shamoya/perftest.git) hasn't been
updated in months, and the code differs a lot from what is in OFED 1.5.3.
Any idea ?
No one ?
The maintainer is MIA
).
The git tree is in -
git://git.openfabrics.org/~shamoya/perftest.git
Thanks Ido.
I've attached a patch for the Makefile so it doesn't rebuild everything every
time someone types make.
Signed-off-by: Frank Zago fz...@systemfabricworks.com
There's also a typo in README: conatains - contains
On 05/17/2011 02:55 PM, i...@celticblues.com wrote:
Has this issue been confirmed or debunked?
AFAIK, this style of initialization is not supported by C++.
struct addrinfo hints = {
.ai_family = AF_UNSPEC,
.ai_socktype = SOCK_STREAM
};
If you
Hello Sean,
On 05/10/2011 06:17 PM, Hefty, Sean wrote:
This is an improved version of my previous patch to add XRC support to
RDMA CM.
I would still like to see support merged upstream and into mainline
libibverbs before applying this to my tree.
Agreed.
This version now support the
On 03/13/2011 08:08 PM, Alan Cook wrote:
Or Gerlitz ogerlitz@... writes:
Alan, you haven't specified if you app is user space or kernel space
based, I assume the former, I believe that it either just works or can
be just made to work... e.g maybe a minor error on your side, or maybe
On 02/25/2011 01:30 AM, Bharath Ramesh wrote:
Hi,
I am trying to use IB atomic operations, specifically fetch and add.
I tried a small example but I am unable to get it to work. The WC status is
IBV_WC_REM_INV_REQ_ERR. My sample code is as follows:
Did you register your memory with
On 02/25/2011 10:04 AM, Bharath Ramesh wrote:
-Original Message-
From: frank zago [mailto:fz...@systemfabricworks.com]
On 02/25/2011 01:30 AM, Bharath Ramesh wrote:
Hi,
I am trying to use IB atomic operations, specifically fetch and
add.
I tried a small example but I am unable
Sorry, I don't see what's wrong.
Frank.
--
To unsubscribe from this list: send the line unsubscribe linux-rdma in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello,
in write_bw_postlist.c, my_dest (and possibly rem_dest) must be initialized,
else the remote node may not be able to parse the connection string and the
test will fail to start.
The others test are doing that initialization.
Signed-off-by: Frank Zago fz...@systemfabricworks.com
diff
Hello,
This fixes a bug in 3 tests where the result of ibv_open_device is not checked.
I added a couple missing endlines too.
Frank.
diff --git a/COPYING b/COPYING
diff --git a/Makefile b/Makefile
diff --git a/README b/README
diff --git a/clock_test.c b/clock_test.c
diff --git a/get_clock.c
On 02/02/2011 12:19 PM, frank zago wrote:
Hello,
This fixes a bug in 3 tests where the result of ibv_open_device is not checked.
I added a couple missing endlines too.
Frank.
I forgot:
Signed-off-by: Frank Zago fz...@systemfabricworks.com
--
To unsubscribe from this list: send the line
On 08/11/2010 05:22 PM, Hefty, Sean wrote:
- The server side of the connection also needs an SRQ. It's not
obvious whether it's the application or rdma cm to create that SRQ.
And that SRQ number must be given to the client side, presumably in
the private data.
The desired mapping of XRC to
Hello Sean,
On 08/09/2010 03:53 PM, Hefty, Sean wrote:
This allow rdma ucm to establish an XRC connection between two nodes. Most
of the changes are related to modify_qp since the API is different
whether the QP is on the send or receive side.
To create an XRC receive QP, the cap.max_send_wr
On 08/10/2010 12:14 PM, Jason Gunthorpe wrote:
On Tue, Aug 10, 2010 at 09:59:50AM -0700, Hefty, Sean wrote:
The general parameters would be the same as for RC. Should we create a new
ai_flag ? or a new port space ?
There's a ai_qp_type field available. I think the RDMA TCP port
space
On 08/10/2010 12:14 PM, Jason Gunthorpe wrote:
On Tue, Aug 10, 2010 at 09:59:50AM -0700, Hefty, Sean wrote:
The general parameters would be the same as for RC. Should we create a new
ai_flag ? or a new port space ?
There's a ai_qp_type field available. I think the RDMA TCP port
space
Hello,
For a project we consider using RDMA CM to setup XRC connections.
Currently that combination is not supported. Has anyone done any work on
adding XRC support to RDMA CM ?
That's something we might also consider doing if not already available
somewhere. Is there any pitfall to be
Hello,
The development tree for a soft RDMA transport over Ethernet driver
(rxe) is available in the OFA git repository. This is a work in progress
but has enough functionality for people interested in looking at it to
be worth sharing. Going forward changes to the driver will be maintained
Always set ib_post_send()'s bad_wr when an error occurred.
Do not report success if an error occurred.
Signed-off-by: Frank Zago fz...@systemfabricworks.com
---
drivers/infiniband/hw/ehca/ehca_reqs.c | 26 +++---
1 file changed, 11 insertions(+), 15 deletions(-)
Index
Hello,
This series fixes a few bugs in several IB drivers regarding their
ib_post_send() and ib_post_recv() implementation.
Regards,
Frank.
--
To unsubscribe from this list: send the line unsubscribe linux-rdma in
the body of a message to majord...@vger.kernel.org
More majordomo info at
Always set ib_post_send()'s bad_wr.
Do not report success if an error occurred.
Signed-off-by: Frank Zago fz...@systemfabricworks.com
Index: linux-2.6.31/drivers/infiniband/hw/ehca/ehca_reqs.c
===
--- linux-2.6.31.orig/drivers
Hello,
This series fixes a few bugs in several IB drivers regarding their
ib_post_send() and ib_post_recv() implementation.
Regards,
Frank.
--
To unsubscribe from this list: send the line unsubscribe linux-rdma in
the body of a message to majord...@vger.kernel.org
More majordomo info at
Always set ib_post_send()'s bad_wr.
Signed-off-by: Frank Zago fz...@systemfabricworks.com
Index: linux-2.6.31/drivers/infiniband/hw/amso1100/c2_qp.c
===
--- linux-2.6.31.orig/drivers/infiniband/hw/amso1100/c2_qp.c 2009-11-23
20:22
Signed-off-by: Frank Zago fz...@systemfabricworks.com
Index: linux-2.6.31/drivers/infiniband/hw/ehca/ehca_reqs.c
===
--- linux-2.6.31.orig/drivers/infiniband/hw/ehca/ehca_reqs.c 2009-11-23
21:23:08.0 -0600
+++ linux-2.6.31
Always set ib_post_recv()'s bad_wr.
Signed-off-by: Frank Zago fz...@systemfabricworks.com
Index: linux-2.6.31/drivers/infiniband/hw/amso1100/c2_qp.c
===
--- linux-2.6.31.orig/drivers/infiniband/hw/amso1100/c2_qp.c 2009-11-23
21:26
Always set ib_post_recv()'s bad_wr.
Signed-off-by: Frank Zago fz...@systemfabricworks.com
Index: linux-2.6.31/drivers/infiniband/hw/nes/nes_verbs.c
===
--- linux-2.6.31.orig/drivers/infiniband/hw/nes/nes_verbs.c 2009-11-23
21:59
Alexander Schmidt wrote:
On Tue, 24 Nov 2009 11:36:46 -0600
frank zago fz...@systemfabricworks.com wrote:
Hi Frank,
Signed-off-by: Frank Zago fz...@systemfabricworks.com
Index: linux-2.6.31/drivers/infiniband/hw/ehca/ehca_reqs.c
Hello,
It seems ib_post_send() is implemented slightly differently in the
various hardware drivers (as in kernel 2.6.31). Here are the differences
I've noticed regarding the bad_wr parameter.
amso1100/c2_qp.c : c2_post_send()
* bails out and does not set bad_wr if the 1st check is bad.
34 matches
Mail list logo