From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Kubecek Subject: [PATCH net 0/2] macvlan: disable LRO on lowerdev instead of a macvlan Date: Fri, 8 Nov 2013 14:40:54 +0100 (CET) Message-ID: Cc: "David S. Miller" , Patrick McHardy To: netdev@vger.kernel.org Return-path: Received: from cantor2.suse.de ([195.135.220.15]:45937 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751118Ab3KHNkz (ORCPT ); Fri, 8 Nov 2013 08:40:55 -0500 Sender: netdev-owner@vger.kernel.org List-ID: A customer of ours encountered a problem with LRO on an ixgbe network card. Analysis showed that it was a known conflict of forwarding and LRO but the forwarding was enabled in an LXC container where only a macvlan was, not the ethernet device itself. I believe the solution is exactly the same as what we do for "normal" (802.1q) VLAN devices: if dev_disable_lro() is called for such device, LRO is disabled on the underlying "real" device instead. Michal Kubecek (2): macvlan: introduce IFF_MACVLAN flag and helper functions macvlan: disable LRO on lower device instead of macvlan drivers/net/macvlan.c | 2 +- include/linux/if_macvlan.h | 26 ++++++++++++++++++++++++++ include/uapi/linux/if.h | 1 + net/core/dev.c | 5 +++++ 4 files changed, 33 insertions(+), 1 deletion(-) -- 1.8.1.4