datapath: Disable LRO from userspace instead of the kernel.
authorJustin Pettit <jpettit@nicira.com>
Sat, 27 Aug 2011 06:34:40 +0000 (23:34 -0700)
committerJustin Pettit <jpettit@nicira.com>
Mon, 29 Aug 2011 04:30:58 +0000 (21:30 -0700)
commit24b019f808211a95078efd916064af0975ca5733
tree7797ea073ddd2e98b328f9b7996726e8ad028652
parente47bd51a7b2ae66b00c19cc86f7dcb1eeb4ad105
datapath: Disable LRO from userspace instead of the kernel.

Whenever a port is added to the datapath, LRO is automatically disabled.
In the future, we may want to enable LRO in some circumstances, so have
userspace disable LRO through the ethtool ioctls.

As part of this change, the MTU and LRO checks are moved to
netdev-vport's send(), which is where they're actually needed.

Feature #6810

Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/vport-netdev.c
datapath/vport.c
lib/dpif-linux.c