From: Stephen Hemminger <shemminger@linux-foundation.org>
To: Jaime Medrano <jaime.medrano@gmail.com>
Cc: bridge@lists.osdl.org
Subject: Re: [Bridge] [PATCH] Add vlan id to bridge forward database
Date: Mon, 17 Mar 2008 11:35:37 -0700 [thread overview]
Message-ID: <20080317113537.496d9347@extreme> (raw)
In-Reply-To: <20080128153914.GA5880@localhost>
On Mon, 28 Jan 2008 16:39:14 +0100
Jaime Medrano <jaime.medrano@gmail.com> wrote:
> I'm resending this mail since I got no answer.
>
> Is there any major problem in this?
>
> Stephen Hemminger wrote:
> >
> > What about the nested vlan case?
> >
>
> Below is a new patch that handles the double-tagging case. I'm not sure
> if it is worth a more generic case. ¿Are triple-tagging and so really used?
>
> > This is a user/kernel ABI change. Does it break old tools?
>
> New patch gets rid of the unused field but it still doesn't break old tools.
>
> Anyway, the user part is not really needed. I just think it could be useful.
>
> Regards,
> Jaime.
>
Minor stuff:
1. Please use shorter variable names, rather than:
unsigned short vlan_first_id;
I would choose:
u16 vlan1;
2. You probably can use skb->protocol rather than having to look at the packet
contents to check for 8021Q.
3. Don't use __constant_htons(), just use htons().
The macro is smart enough to handle the
constant case, and it reads better, without the __constant_prefix.
Major stuff:
1. This won't work with hardware accel VLAN receive. The tag is not put in
the skb?
next prev parent reply other threads:[~2008-03-17 18:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-17 16:13 [Bridge] [PATCH] Add vlan id to bridge forward database Jaime Medrano
2007-12-17 16:53 ` Stephen Hemminger
2007-12-18 9:05 ` Jaime Medrano
2008-01-28 15:39 ` Jaime Medrano
2008-01-28 20:29 ` [Bridge] " Benny Amorsen
2008-03-17 18:35 ` Stephen Hemminger [this message]
2008-04-02 9:30 ` [Bridge] " Jaime Medrano
2008-04-28 20:57 ` Stephen Hemminger
2008-04-29 8:24 ` Jaime Medrano
2008-04-29 12:43 ` Benny Amorsen
2008-04-29 15:18 ` Jaime Medrano
2008-04-29 23:16 ` richardvoigt
2008-04-30 2:25 ` Jonathan Thibault
-- strict thread matches above, loose matches on Subject: below --
2007-12-17 16:13 Jaime Medrano
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=20080317113537.496d9347@extreme \
--to=shemminger@linux-foundation.org \
--cc=bridge@lists.osdl.org \
--cc=jaime.medrano@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox