Re: [PATCH -mm 0/2] RapidIO: Changes to handling of RIO switches
From: Micha Nelissen <hidden>
Date: 2010-10-25 16:13:35
Also in:
lkml
From: Micha Nelissen <hidden>
Date: 2010-10-25 16:13:35
Also in:
lkml
Bounine, Alexandre wrote:
Micha Nelissen [off-list ref] wrote:quoted
quoted
rid of rswitch->switchid and use component_tag directly forswitches).quoted
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