lkml.org 
[lkml]   [2007]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectVIA Velocity and 802.1q VLAN support
Hi,

After a significant amout of archive searching, and code tweaking, I
am giving up and asking the list :)

I have a number of EPIA boards which need to operate in a mixed
tagged-VLAN and untagged-interface environment using their onboard
VIA-Velocity NICs. I am running a Debian ETCH 2.6.18 kernel, but have
managed to backport the latest 2.6.24-rc5 via-velocity driver fairly
simply. Sadly this does not seem to fix the problem.

Having added some debug kprintf, it appears as if the hardware VLAN
support is never enabled in this driver (vptr->vlgrp == NULL at all
times). I added a velocity_vlan_rx_register method, and enabled the
NETIF_F_HW_VLAN_RX feature, which did start to cause the appropriate
NIC registers to be set, but this simply stopped the inbound data
working entirely if a tagged vlan was created.

It manages to send packets both on the correct (tagged) vlan, and on
the untagged interface. The stock driver also receives packets on the
untagged interface okay, but inbound tagged packets never seem to make
it into the net subsystem.

I assume that the NIC is not allowing tagged packets into the driver
due to its built-in hardware acceleration/filtering :(

Is it inappropriate to beg for help and suggestions?

Thanks,
Steve


\
 
 \ /
  Last update: 2007-12-18 18:49    [W:0.038 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site