[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4CC5E354.80009@neli.hopto.org>
Date: Mon, 25 Oct 2010 22:06:44 +0200
From: Micha Nelissen <micha@...i.hopto.org>
To: "Bounine, Alexandre" <Alexandre.Bounine@....com>
CC: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org,
Matt Porter <mporter@...nel.crashing.org>,
Li Yang <leoli@...escale.com>,
Kumar Gala <galak@...nel.crashing.org>,
Thomas Moll <thomas.moll@...go.com>
Subject: Re: [PATCH -mm 0/2] RapidIO: Changes to handling of RIO switches
Bounine, Alexandre wrote:
> Micha Nelissen <micha@...i.hopto.org> wrote:
>> 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.
>
> OK taking away #2. But do not see how it justifies storing two values of
> destid.
I look at it this way: it prevents the need for another layer of
indirection: translating component tag to a destid.
> And you have just confirmed using CT for unique identification.
That's correct, but I never said (intended to say) I didn't.
> We
> simply have differences in interpretation of CT: you are using component
> tag to pass unique identification and I am using CT as a unique
> identification. I prefer not to assume any relationship between routing
> information and the component tag.
Why no relation? My experience is that during debugging it's useful to
have the destid directly at hand, it's just very practical. (Otherwise
any drawing of a random network would need two "identification" numbers
per drawn node: the component tag (true identification), and destid
since that's what everyone uses to identify a device, what needs to
programmed into the LUTs of a switch, identification in sysfs, etc.).
Micha
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists