]> git.baikalelectronics.ru Git - kernel.git/commit
vlan: Enable software emulation for vlan accleration.
authorJesse Gross <jesse@nicira.com>
Wed, 20 Oct 2010 13:56:04 +0000 (13:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Oct 2010 08:26:52 +0000 (01:26 -0700)
commitf2761d98d9cbdc3f1a7fc9ce8b8119c7f5a1ad1e
treec9dd632ea640b1f56634de8a1f029dd88dea2599
parente37a1e891cde200a8e775a46bfe4c18f5364f2b1
vlan: Enable software emulation for vlan accleration.

Currently users of hardware vlan accleration need to know whether
the device supports it before generating packets.  However, vlan
acceleration will soon be available in a more flexible manner so
knowing ahead of time becomes much more difficult.  This adds
a software fallback path for vlan packets on devices without the
necessary offloading support, similar to other types of hardware
accleration.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c