On Feb 2, 2010, at 16:54 , Hal Rosenstock wrote:

> On Tue, Feb 2, 2010 at 5:44 AM, Vladimir Sokolovsky
>> [snip]
>> Masked Fetch and Add (MFetchAdd)
>> The MFetchAdd Atomic operation extends the functionality of the standard IB
>> FetchAdd by
>> allowing the user to split the target into multiple fields of selectable
>> length. The atomic add is done
>> independently on each one of this fields. A bit set in the field_boundary
>> parameter specifies the
>> field boundaries. The pseudo code below describes the operation:


As discussed by private email, my take is that it is more important to support 
adjacent fields than a single-bit fetch-and-add. Hence, encoding the mask 
slightly different where a one-to-zero bit transition indicates break-of-carry, 
but mask-wise treated as a one, allows adjacent bit-fields to be added.

Just my two cents.


Håkon

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to