datapath: Add module parameter to allow TSO with vlans.
authorJesse Gross <jesse@nicira.com>
Thu, 30 Dec 2010 20:28:10 +0000 (12:28 -0800)
committerJesse Gross <jesse@nicira.com>
Mon, 7 Feb 2011 21:49:01 +0000 (13:49 -0800)
commit3f6256afdcf7021b0ce85dfe0c4afb62b967bef4
treecef26c79d74f4b7d5d57afac03d6b6bc92f22e22
parent1c5b70c68a642b1fc56e9801ca438df59ead22e1
datapath: Add module parameter to allow TSO with vlans.

We currently perform GSO on packets before adding a vlan tag,
which is reliable but hurts performance.  Even NICs that support
TSO on vlan tagged packets typically expect vlan acceleration to
be used.  Before 2.6.37 we can't use vlan acceleration and must
place the tag in the packet itself, which is risky when used with
TSO.  However, if the driver is known to work with internally
tagged packets and TSO this exposes a module parameter to enable it.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
INSTALL.Linux
datapath/vport-netdev.c