netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] macvlan: disable LRO on lowerdev instead of a macvlan
@ 2013-11-08 13:40 Michal Kubecek
  2013-11-08 13:41 ` [PATCH net 1/2] macvlan: introduce IFF_MACVLAN flag and helper functions Michal Kubecek
  2013-11-08 13:41 ` [PATCH net 2/2] macvlan: disable LRO on lower device instead of macvlan Michal Kubecek
  0 siblings, 2 replies; 5+ messages in thread
From: Michal Kubecek @ 2013-11-08 13:40 UTC (permalink / raw)
  To: netdev; +Cc: David S. Miller, Patrick McHardy

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-08 15:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-08 13:40 [PATCH net 0/2] macvlan: disable LRO on lowerdev instead of a macvlan Michal Kubecek
2013-11-08 13:41 ` [PATCH net 1/2] macvlan: introduce IFF_MACVLAN flag and helper functions Michal Kubecek
2013-11-08 15:06   ` John Fastabend
2013-11-08 15:23     ` Michal Kubecek
2013-11-08 13:41 ` [PATCH net 2/2] macvlan: disable LRO on lower device instead of macvlan Michal Kubecek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).