[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160309003919.GA31963@lunn.ch>
Date: Wed, 9 Mar 2016 01:39:19 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Murali Karicheri <m-karicheri2@...com>
Cc: jiri@...nulli.us, sfeldma@...il.com, netdev@...r.kernel.org
Subject: Re: Question on switchdev
> Andrew,
>
> >From the high level, it looks like netcp switch meets the specifications
> of 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
Powered by blists - more mailing lists