Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2017 20:52:01 -0600
From:      Dustin Marquess <dmarquess@gmail.com>
To:        Ruben <mail@osfux.nl>
Cc:        FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: tap on lagg ?
Message-ID:  <CAJpsHY5b-oqvyXgiR9p-74=XeKB5-VmHs%2BkyoA2E=wOo8GuGWA@mail.gmail.com>
In-Reply-To: <1207dbb0-ec86-34fd-9a74-68d70b3b7892@osfux.nl>
References:  <11A193E5-555F-4733-B192-49A5FEDCFDEA@up4.com> <66637AFA-D092-4EBB-B998-1BB2B2EE2CB4@up4.com> <1207dbb0-ec86-34fd-9a74-68d70b3b7892@osfux.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 6, 2017 at 4:14 PM, Ruben <mail@osfux.nl> wrote:
> Hi Vincent,
>
>
>
>> BTW, I found this a couple of weeks ago and it has just been updated: ht=
tps://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D157182 <https://bugs.free=
bsd.org/bugzilla/show_bug.cgi?id=3D157182>
>>
>>
>>> Le 6 f=C3=A9vr. 2017 =C3=A0 11:11, Vincent Olivier <vincent@up4.com> a =
=C3=A9crit :
>>>
>>> Hi,
>>>
>>> Has anyone succeeded in having a bhyve VM tap interface on an aggregate=
 interface (lagg)? From what I have read until now, it seems to be a known =
problem, and my experience shows that it is still an issue with FreeBSD 11,=
 so I would like to know if it is because tap/bridging a lagg is not a reas=
onable thing to do anyway=E2=80=A6
>>>
>>> Regards,
>>>
>>> Vincent
>
> I have multiple machines on which 2 or more nics make up a LACP lagg
> with vlans on it. Those vlan interfaces are in bridges together with the
> tap interfaces that are in use by bhyve vms.
>
> Works as long as I "up" the nics in a specific fasion ( " -tso4 -lro
> -vlanhwtag " ) . This works on 10.3 and 11.0 as far as I'm aware and I
> have never experienced problems with it (Intel / AMD / em driver / bce
> driver, re driver , all kinds of combinations).
>
> I have no experience in comparable setups without the vlan "layer" though=
.

I've gotten it to work both with and without vlan just by using
-vlanhwtag.  Leaving lro & tso4 enabled works fine.  In fact,
everything works fine with vlanhwtag enabled until I throw epair into
the mix.  This is using cxgbe/cxl.

-Dustin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJpsHY5b-oqvyXgiR9p-74=XeKB5-VmHs%2BkyoA2E=wOo8GuGWA>