Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2017 17:10:11 +0100
From:      Harry Schmalzbauer <freebsd@omnilan.de>
To:        Vincent Olivier <vincent@up4.com>
Cc:        FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: tap on lagg ?
Message-ID:  <58D15063.7010002@omnilan.de>
In-Reply-To: <22E0CC61-1822-46CC-A43C-4B7A25844098@up4.com>
References:  <11A193E5-555F-4733-B192-49A5FEDCFDEA@up4.com> <66637AFA-D092-4EBB-B998-1BB2B2EE2CB4@up4.com> <1207dbb0-ec86-34fd-9a74-68d70b3b7892@osfux.nl> <41619106-86D6-40EF-B84E-DC98A1B54FCD@up4.com> <bcabffa1-0d86-f6cc-5f4e-fc91de149975@osfux.nl> <03551266-4EFD-4BAA-B200-932B62CCA988@up4.com> <58D1469E.30504@omnilan.de> <22E0CC61-1822-46CC-A43C-4B7A25844098@up4.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bezüglich Vincent Olivier's Nachricht vom 21.03.2017 16:51 (localtime):
> Hi, I can confirm that ping works but ssh and (I haven’t tried anything else, but I assume you are right) TCP as a whole doesn’t work.
> 
> From there, I guess that, since I haven’t changed the MTU on the 1G interfaces (only on the 10G ones which are isolated from the 1G network). this leaves offloading.
> 
> Should I disable it (which ones)? On all the physical interfaces or also on the lagg and maybe bridge?

You seem to have the following problem:
if_bridge(4) tries to disable TXCSUM on all members added.
But you add if_lagg(4), which doesn't pass those requests to it's
members, but simply ignores the request.
So you need to manually -txcsum (-txcsum6), e.g. in rc.conf when you set
them "up".

Unofrtunately I don't know how offloading is implemented generally, nor
how it works for if_igb(4), so I haven't thought about the reason yet,
why you need to disable TXCSUM.
Much more important, does it also affect TSO?
I can't tell, maybe someone with more knowledge can jump in.

-harry




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58D15063.7010002>