datapath: Disable large receive offload.
authorJesse Gross <jesse@nicira.com>
Fri, 19 Feb 2010 21:54:19 +0000 (16:54 -0500)
committerJesse Gross <jesse@nicira.com>
Fri, 5 Mar 2010 21:31:26 +0000 (16:31 -0500)
commit2de320799d5b7981b17d1e46e5a07b86158e5ada
tree21dae38edb46b0b342db89c97ef4f9b22188aed8
parent635c9298b91d0942aca39ba1f0d7ea5805ab618e
datapath: Disable large receive offload.

LRO can play fast and loose with the packets that it merges, which
isn't very polite when you are bridging packets for other operating
systems.  This disables LRO on any underlying devices that are added
to the datapath, which is the same as what the bridge does.

Note that this does not disable GRO, which has a more strict set of
rules about what is merged and is therefore safe for bridging.  Both
are typically done in software anyways.
datapath/datapath.c
datapath/linux-2.6/Modules.mk
datapath/linux-2.6/compat-2.6/dev-openvswitch.c [new file with mode: 0644]
datapath/linux-2.6/compat-2.6/include/linux/netdevice.h
datapath/linux-2.6/compat-2.6/include/linux/skbuff.h
datapath/linux-2.6/compat-2.6/skbuff-openvswitch.c [new file with mode: 0644]