All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Murali Karicheri <m-karicheri2@ti.com>
Cc: jiri@resnulli.us, sfeldma@gmail.com, netdev@vger.kernel.org
Subject: Re: Question on switchdev
Date: Wed, 9 Mar 2016 01:39:19 +0100	[thread overview]
Message-ID: <20160309003919.GA31963@lunn.ch> (raw)
In-Reply-To: <56DE0A36.9090807@ti.com>

> 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

  reply	other threads:[~2016-03-09  0:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-29 21:43 Question on switchdev Murali Karicheri
2016-02-29 22:29 ` Andrew Lunn
2016-03-03 22:32   ` Murali Karicheri
2016-03-07 23:09     ` Murali Karicheri
2016-03-09  0:39       ` Andrew Lunn [this message]
2016-03-10 15:03         ` Murali Karicheri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160309003919.GA31963@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=jiri@resnulli.us \
    --cc=m-karicheri2@ti.com \
    --cc=netdev@vger.kernel.org \
    --cc=sfeldma@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.