From: frank zago <fzago-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
To: Bharath Ramesh <bramesh-PjAqaU27lzQ@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: IB atomic operations
Date: Fri, 25 Feb 2011 10:12:34 -0600 [thread overview]
Message-ID: <4D67D4F2.4040404@systemfabricworks.com> (raw)
In-Reply-To: <00e401cbd505$a437bc60$eca73520$@edu>
On 02/25/2011 10:04 AM, Bharath Ramesh wrote:
>> -----Original Message-----
>> From: frank zago [mailto:fzago-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org]
>>
>> 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 IBV_ACCESS_REMOTE_ATOMIC ?
>
> I have registered both the remote and local data with
> IBV_ACCESS_LOCAL_WRITE | IBV_ACCESS_REMOTE_ATOMIC | IBV_ACCESS_REMOTE_READ |
> IBV_ACCESS_REMOTE_WRITE
>
Do you create your QPs with RDMA CM or do you transition them by hand ? In the later case there is a couple flags to set.
Frank.
--
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
next prev parent reply other threads:[~2011-02-25 16:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-25 7:30 IB atomic operations Bharath Ramesh
2011-02-25 15:57 ` frank zago
[not found] ` <4D67D17C.7000405-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
2011-02-25 16:04 ` Bharath Ramesh
2011-02-25 16:12 ` frank zago [this message]
[not found] ` <4D67D4F2.4040404-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
2011-02-25 16:32 ` Bharath Ramesh
2011-02-25 16:59 ` frank zago
[not found] ` <4D67E006.8000705-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
2011-02-25 17:29 ` Bharath Ramesh
2011-02-25 18:30 ` Bharath Ramesh
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=4D67D4F2.4040404@systemfabricworks.com \
--to=fzago-klaocwyjdxkshymvu7je4pqqe7ycjdx5@public.gmane.org \
--cc=bramesh-PjAqaU27lzQ@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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