Re: [PATCH v5 net-next 00/12] net: ethernet: ti: introduce new cpsw switchdev based driver

From
Tony Lindgren <tony@atomide.com>
Date
2019-11-11 17:08:45
Also in
linux-devicetree, linux-omap, lkml
Reply to
Grygorii Strashko, 2019-11-09
* Grygorii Strashko [off-list ref] [191109 15:16]:
Hi Tony,

On 24/10/2019 19:05, Tony Lindgren wrote:
quoted
Hi,

* Grygorii Strashko [off-list ref] [191024 10:10]:
quoted
This the RFC v5 which introduces new CPSW switchdev based driver which is
operating in dual-emac mode by default, thus working as 2 individual
network interfaces. The Switch mode can be enabled by configuring devlink driver
parameter "switch_mode" to 1/true:
	devlink dev param set platform/48484000.ethernet_switch \
	name switch_mode value 1 cmode runtime
Just wondering about the migration plan.. Is this a replacement
driver or used in addition to the old driver?
Sry, I've missed you mail.

As it's pretty big change the idea is to keep both drivers at least for sometime.
Step 1: add new driver and enable it on one platform. Do announcement.
Step 2: switch all one-port and dual mac drivers to the new driver
Step 3: switch all other platform to cpsw switchdev and deprecate old driver.
OK sounds good to me. So for the dts changes, we keep the old binding
and just add a new module there?

Or do you also have to disable some parts of the old dts?

Regards,

Tony
Thread (38 messages) 38 messages, 5 authors, last reply 2019-11-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help