public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nicklas Bondesson <nicklas.bondesson@pakompetens.se>
To: linux-kernel@vger.kernel.org
Subject: Mixing tagged and untagged vlans using via-velocity driver
Date: Thu, 24 May 2007 16:27:40 +0200	[thread overview]
Message-ID: <4655A0DC.2070600@pakompetens.se> (raw)

I am trying to setup two vlans (one tagged and one untagged) using the 
native via-velocity driver in kernel 2.6.21.1 on a single nic (VIA 
VT6122 Gigabit).

I can set it up tagged or untagged without any problems, but not both at 
the same time. Is this even possible with this driver?

To enable vlan5 tagging on the nic I have tried the following:

alias eth1 via_velocity
options eth1 enable_tagging=1 VID_setting=5

At this point I can communicate with vlan5. When I try to bring up a 
virtual interface using vconfig it seems to inherit the vlan5 tagging, 
thus making it impossible to communicate with an untagged vlan.

I have also tried the other way around. If I skip "enable_tagging=1 
VID_setting=5", I can communicate with a non tagged vlan. If I bring up 
a new virtual interface (tagged vlan5) using vconfig it does not work.

Could it have something to do with the fact that this card supports vlan 
hw accelleration and upsets vconfig?

I'm stuck. If anyone could shed some light on this it would be greatly 
appreciated.

Nicklas

                 reply	other threads:[~2007-05-24 14:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4655A0DC.2070600@pakompetens.se \
    --to=nicklas.bondesson@pakompetens.se \
    --cc=linux-kernel@vger.kernel.org \
    /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