Re: Question on switchdev
From: Murali Karicheri <hidden>
Date: 2016-03-10 15:03:11
From: Murali Karicheri <hidden>
Date: 2016-03-10 15:03:11
On 03/08/2016 07:39 PM, Andrew Lunn wrote:
quoted
Andrew,quoted
From the high level, it looks like netcp switch meets the specificationsof a DSA hardware. Can you point me to a specific implementation that I can use as an example to implement this for netcp?You need two parts: A tagging implementation, in net/dsa/tag_*.c. They are all pretty similar, and all pretty simple. A switch driver. driver/net/dsa/mv88e6060.c is the simplest. I would suggest your first submission implements similar features as to what this driver does. This is very minimalistic, but a good start. Once that is accepted, you can incrementally add more features. Andrew
Thanks Andrew! -- Murali Karicheri Linux Kernel, Keystone