Re: problem with MPLS and TSO/GSO

2016-08-10 Thread Roopa Prabhu
On 8/8/16, 8:25 AM, Simon Horman wrote: > On Sun, Jul 31, 2016 at 12:07:10AM -0700, Roopa Prabhu wrote: >> On 7/27/16, 12:02 AM, zhuyj wrote: >>> On ubuntu16.04 server 64 bit >>> The attached script is run, the following will appear. >>> >>> Error: either "to" is duplicate, or "encap" is a garbage.

Re: problem with MPLS and TSO/GSO

2016-08-09 Thread David Ahern
On 7/25/16 10:39 AM, Lennert Buytenhek wrote: > Hi! > > I am seeing pretty horrible TCP transmit performance (anywhere between > 1 and 10 Mb/s, on a 10 Gb/s interface) when traffic is sent out over a > route that involves MPLS labeling, and this seems to be due to an > interaction between MPLS and

Re: problem with MPLS and TSO/GSO

2016-08-08 Thread David Ahern
On 7/25/16 10:39 AM, Lennert Buytenhek wrote: > Hi! > > I am seeing pretty horrible TCP transmit performance (anywhere between > 1 and 10 Mb/s, on a 10 Gb/s interface) when traffic is sent out over a > route that involves MPLS labeling, and this seems to be due to an > interaction between MPLS and

Re: problem with MPLS and TSO/GSO

2016-08-08 Thread Simon Horman
On Sun, Jul 31, 2016 at 12:07:10AM -0700, Roopa Prabhu wrote: > On 7/27/16, 12:02 AM, zhuyj wrote: > > On ubuntu16.04 server 64 bit > > The attached script is run, the following will appear. > > > > Error: either "to" is duplicate, or "encap" is a garbage. > > This maybe just because the iproute2

Re: problem with MPLS and TSO/GSO

2016-07-31 Thread Roopa Prabhu
On 7/27/16, 12:02 AM, zhuyj wrote: > On ubuntu16.04 server 64 bit > The attached script is run, the following will appear. > > Error: either "to" is duplicate, or "encap" is a garbage. This maybe just because the iproute2 version on ubuntu does not support the route encap attributes yet. [snip]

Re: problem with MPLS and TSO/GSO

2016-07-27 Thread Lennert Buytenhek
On Wed, Jul 27, 2016 at 03:02:24PM +0800, zhuyj wrote: > On ubuntu16.04 server 64 bit > The attached script is run, the following will appear. > > Error: either "to" is duplicate, or "encap" is a garbage. Looks like your installed iproute2 package doesn't grok MPLS.

problem with MPLS and TSO/GSO

2016-07-25 Thread Lennert Buytenhek
Hi! I am seeing pretty horrible TCP transmit performance (anywhere between 1 and 10 Mb/s, on a 10 Gb/s interface) when traffic is sent out over a route that involves MPLS labeling, and this seems to be due to an interaction between MPLS and TSO/GSO that causes all segmentable TCP frames that are M