[PATCH -mm 0/2] RapidIO: Changes to handling of RIO switches

Micha Nelissen micha at neli.hopto.org
Tue Oct 26 03:13:31 EST 2010


Bounine, Alexandre wrote:
> Micha Nelissen <micha at neli.hopto.org> wrote:
>>> rid of rswitch->switchid and use component_tag directly for
> switches).
>> I still prefer the destid as the single identification id.
> 
> In your patch you allocate individual destid for switches. This method
> has two problems:
> 1. The destid for the switch needs an additional mechanism to share it
> among processors in the RIO network,

? See comment for 2)

> 2. It takes ID value away from the pool of available IDs, what will

It does not take an ID away, it shares it with a connected endpoint to 
that switch. The tag uses one extra bit to identify the device as a 
switch instead of an endpoint. This provides the information to 
unambiguously identify a switch from an endpoint.

Micha


More information about the Linuxppc-dev mailing list