public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: "Bharath Ramesh" <bramesh-PjAqaU27lzQ@public.gmane.org>
To: 'frank zago' <fzago-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: RE: IB atomic operations
Date: Fri, 25 Feb 2011 11:04:10 -0500	[thread overview]
Message-ID: <00e401cbd505$a437bc60$eca73520$@edu> (raw)
In-Reply-To: <4D67D17C.7000405-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

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

I am not sure if the vendor err code is of any help but it is 138. I am also
using Mellanox ConnectX-2 QDR cards. 

Regards,

Bharath

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 4985 bytes --]

  parent reply	other threads:[~2011-02-25 16:04 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 [this message]
2011-02-25 16:12       ` frank zago
     [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='00e401cbd505$a437bc60$eca73520$@edu' \
    --to=bramesh-pjaqau27lzq@public.gmane.org \
    --cc=fzago-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@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