Re: [patch net-next RFC 0/4] introduce infrastructure for support of switch chip datapath
From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2014-03-27 21:47:28
From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2014-03-27 21:47:28
On 03/27/14 16:01, Florian Fainelli wrote:
2014-03-27 12:58 GMT-07:00 Sergey Ryazanov [off-list ref]:quoted
2014-03-27 20:55 GMT+04:00 Jiri Pirko [off-list ref]:
quoted
Moreover, we need to know ports of switch chip, what are really wired to the connectors (e.g. five-port switch on the board with only three connectors).Well, DSA already does all of that for you and has Device Tree bindings too to instantiate per-port net_device, create the switch routing table in case switches are cascaded...
Just to be clear: routing here implies how the devices are interconnected (as opposed to L3 packet processing). Is that generic enough to be usable for different vendors or only specific to marvel? cheers, jamal