public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Vladimir Sokolovsky <vlad-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Sean Hefty <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Roland Dreier <rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>,
	linux-rdma <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH 0/2] Add support for enhanced atomic operations
Date: Sun, 14 Feb 2010 15:24:19 +0200	[thread overview]
Message-ID: <4B77F983.5040201@dev.mellanox.co.il> (raw)
In-Reply-To: <f0e08f231002110608y3a70c132r813d3472f82382d2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hal Rosenstock wrote:
> On Wed, Feb 3, 2010 at 3:01 AM, Vladimir Sokolovsky
> <vlad-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org> wrote:
>> Sean Hefty wrote:
>>>> Will Mellanox be adding this option to the IB spec rather than keep it
>>>> as vendor proprietary ?
>>> Along with that question, what is the use case for this feature?  The only
>>> benefit mentioned was saving a few bytes of memory, at the cost of
>>> carrying
>>> extra network headers.  Atomics are only 64-bits to begin with...
>>>
>>
>> For some applications the memory savings are very significant. One
>> example is fine grain lock implementations for huge data sets. In other
>> cases, the benefit is the ability to update multiple fields with a
>> single io operation.
> 
> What happens when the other end doesn't support this feature (new
> opcodes) ? How can that be determined remotely ? Is some CM related
> change also needed ?
> 
> -- Hal
> 

In this case the responder (the other end) will return a NAK-Invalid Request
to the requester.
There is no need to extend the CM protocol. This can be done as part of
application negotiation. Atomic is an optional feature and the CM is not
involved in negotiation of this. Application to application should decide
if they want and they can use atomic. The same should be done for extended
atomics.

Regards,
Vladimir
--
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

  parent reply	other threads:[~2010-02-14 13:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-01 15:59 [PATCH 0/2] Add support for enhanced atomic operations Vladimir Sokolovsky
     [not found] ` <4B66FA54.6030408-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2010-02-01 22:11   ` Sean Hefty
     [not found]     ` <52BD554704A742B18E3F2F8F2B00B9FE-Zpru7NauK7drdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2010-02-02 10:44       ` Vladimir Sokolovsky
     [not found]         ` <4B68020D.4080401-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2010-02-02 15:54           ` Hal Rosenstock
     [not found]             ` <f0e08f231002020754h482ba0f7xe35a78a72cc165e8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-02 16:13               ` Håkon Bugge
2010-02-03  0:02               ` Sean Hefty
     [not found]                 ` <F1F846D4754246DC862643839C4CB216-Zpru7NauK7drdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2010-02-03  8:01                   ` Vladimir Sokolovsky
     [not found]                     ` <4B692D67.5040006-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2010-02-11 14:08                       ` Hal Rosenstock
     [not found]                         ` <f0e08f231002110608y3a70c132r813d3472f82382d2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-14 13:24                           ` Vladimir Sokolovsky [this message]
2010-02-03  7:08               ` Tziporet Koren

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=4B77F983.5040201@dev.mellanox.co.il \
    --to=vlad-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
    --cc=hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@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