Re: [PATCH 0/2] net: Set maximum receive packet size on veth interfaces

2017-05-11 Thread Cong Wang
On Tue, May 9, 2017 at 5:42 PM, Fredrik Markström wrote: > > Maybe I was unclear, the veth implementation drops all packers larger then the > configured MTU (on the receiving interface). > Most ethernet drivers accepts packets up to the ethernet MTU no matter the > configured MTU. As far as I can

Re: [PATCH 0/2] net: Set maximum receive packet size on veth interfaces

2017-05-09 Thread Fredrik Markström
On Tue, May 9, 2017 at 7:48 PM, David Miller wrote: > > From: Fredrik Markstrom > Date: Tue, 9 May 2017 14:44:36 +0200 > > > Currently veth drops all packets larger then the mtu set on the > > receiving end of the pair. This is inconsistent with most hardware > > ethernet drivers. > > False. > >

Re: [PATCH 0/2] net: Set maximum receive packet size on veth interfaces

2017-05-09 Thread David Miller
From: Fredrik Markstrom Date: Tue, 9 May 2017 14:44:36 +0200 > Currently veth drops all packets larger then the mtu set on the > receiving end of the pair. This is inconsistent with most hardware > ethernet drivers. False. In fact, many pieces of ethernet hardware a not physically capable of s

Re: [PATCH 0/2] net: Set maximum receive packet size on veth interfaces

2017-05-09 Thread Stephen Hemminger
On Tue, 9 May 2017 14:44:36 +0200 Fredrik Markstrom wrote: > Currently veth drops all packets larger then the mtu set on the receiving > end of the pair. This is inconsistent with most hardware ethernet drivers. There is no guarantee that packets larger than MTU + VLAN tag will be received by h

[PATCH 0/2] net: Set maximum receive packet size on veth interfaces

2017-05-09 Thread Fredrik Markstrom
Currently veth drops all packets larger then the mtu set on the receiving end of the pair. This is inconsistent with most hardware ethernet drivers. This patch set adds a new driver attribute to set the maximum size of received packet to make it possible to create configurations similar to those p