[openib-general] ib_mad receive locking

Hal Rosenstock halr at voltaire.com
Sun Sep 12 17:30:55 PDT 2004


On Sun, 2004-09-12 at 12:07, Roland Dreier wrote:
> Yes, I think the locking should be pretty fine-grained.  We definitely
> don't want independent HCAs to serialize against each other, and it's
> probably good even for different ports on the same HCA to be independent.

Agreed. It is that "fine" grained already: the locking is per port for
receive currently. I was asking about even "finer" graininess (where the
receive lock would be per receive list (per QP) but this doesn't make
sense until there are multiple threads handling receive which is not the
case now.

-- Hal






More information about the general mailing list