public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Séguier Régis" <rseguier@e-teleport•net>
To: Patrick McHardy <kaber@trash•net>
Cc: Kevin Shanahan <kmshanah@disenchant•net>, netdev@vger•kernel.org
Subject: Re: Problem with VLANs and via-velocity driver
Date: Fri, 13 Nov 2009 12:40:05 +0100	[thread overview]
Message-ID: <4AFD4595.1070904@e-teleport.net> (raw)
In-Reply-To: <4AFD3ED6.2040606@trash.net>

Patrick McHardy a écrit :
>
>>> There's some special-casing for VID 0 in velocity_init_cam_filter().
>>> Does "ip link add link eth0 type vlan id 0" make any difference?
>>> If not, does "ip link set eth0 promisc on"?
>>>   
>>>       
>> When we patch the driver to support multiple vlan, we decide to use the
>> vlan 0 to desactivate the vlan filtering.
>>     
>
> Why? The usual behaviour is to receive both tagged and untagged
> frames.
>   
We decide this with françois as an alternative to desactivate the NIC 
vlan filtering instead of creating a modul parameter.
The vlan id 0 need to be created but not necessary activate.

In september 2008, we had a discution about exactly the same problem.
You speak about the possibility of an ALLVLAN device flag.

I think i proposed a patch to desactivate NIC vlan filtering when we are 
in promisc mode but not used.
-- 
Régis Séguier

  reply	other threads:[~2009-11-13 11:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-13  3:32 Problem with VLANs and via-velocity driver Kevin Shanahan
2009-11-13  6:40 ` Patrick McHardy
2009-11-13 10:36   ` Séguier Régis
2009-11-13 11:11     ` Patrick McHardy
2009-11-13 11:40       ` Séguier Régis [this message]
2009-11-19 15:17         ` Patrick McHardy
2009-11-16  0:57   ` Kevin Shanahan
2009-11-19 15:18     ` Patrick McHardy
2010-02-10 16:43     ` Tiago Pierezan Camargo
2010-02-10 16:46       ` Patrick McHardy
2010-02-11 16:50         ` Tiago Pierezan Camargo
2010-02-11 16:59           ` Patrick McHardy

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=4AFD4595.1070904@e-teleport.net \
    --to=rseguier@e-teleport$(echo .)net \
    --cc=kaber@trash$(echo .)net \
    --cc=kmshanah@disenchant$(echo .)net \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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