summaryrefslogtreecommitdiffstats
path: root/net/packet
diff options
context:
space:
mode:
authorRoger Luethi <rl@hellgate.ch>2010-12-06 00:59:40 +0000
committerDavid S. Miller <davem@davemloft.net>2010-12-08 10:23:36 -0800
commit38f49e8801565674c424896c3dcb4228410b43a8 (patch)
tree5765289b26b9b7b4e06f0219d585312a9f78ae11 /net/packet
parent941666c2e3e0f9f6a1cb5808d02352d445bd702c (diff)
downloadlinux-38f49e8801565674c424896c3dcb4228410b43a8.tar.bz2
via-rhine: hardware VLAN support
This patch adds VLAN hardware support for Rhine chips. The driver uses up to 3 additional bytes of buffer space when extracting 802.1Q headers; PKT_BUF_SZ should still be sufficient. The initial code was provided by David Lv. I reworked it to use standard kernel facilities. Coding style clean up mostly follows via-velocity. Adapted to new interface for VLAN acceleration (per request of Jesse Gross). Signed-off-by: David Lv <DavidLv@viatech.com.cn> Signed-off-by: Roger Luethi <rl@hellgate.ch> drivers/net/via-rhine.c | 326 +++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 312 insertions(+), 14 deletions(-) Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions