Date: Thu, 29 Jun 2017 08:44:27 -0700 From: Vincenzo Maffione <v.maffione@gmail.com> To: Paras Jha <dreadiscool@gmail.com> Cc: FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: Netmap with bonded interfaces Message-ID: <CA%2B_eA9jHD0=gkT8ORMNx8ppoCejh-ojA=ORexAzTp62iqpVFXQ@mail.gmail.com> In-Reply-To: <CAMs8r4N8Zw%2Br3v46sKQ_KZY-iAnSWy7q5GP4oAgvJJVwt4kwfQ@mail.gmail.com> References: <CAMs8r4O1w78R0-csa1BXy86oEUq0YbJZ15x_v%2Bbi-0U9OxGUxQ@mail.gmail.com> <CA%2B_eA9ifaA2LtJtOitBpRHqCT0uBy-TP1cggPxEDTjUVtDz90Q@mail.gmail.com> <CAMs8r4N8Zw%2Br3v46sKQ_KZY-iAnSWy7q5GP4oAgvJJVwt4kwfQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Bypass what? 2017-06-28 22:59 GMT-07:00 Paras Jha <dreadiscool@gmail.com>: > It's possible to bypass this by unloading and reloading the patched > network driver > > On Thu, Jun 29, 2017 at 12:39 AM, Vincenzo Maffione <v.maffione@gmail.com> > wrote: > >> Hi, >> It is an expected behaviour that you cannot open eth4 and eth5 if they >> are bond, as the device are being used by the lagg pseudo-driver. >> Since this driver does not have netmap support for the moment being, >> there is no way you can get the native mode performance if you use lagg. >> >> If you just need some failover in your application, you could just >> implement a simple failover mechanism in your application (e.g. the >> application opens both netmap:eth4 and netmap:eth5, and decides which one >> to use for transmission depending on which one is up...). >> >> Cheers, >> Vincenzo >> >> 2017-06-29 4:16 GMT+02:00 Paras Jha <dreadiscool@gmail.com>: >> >>> Hi all, >>> >>> I have a bonded interface bond0 which enslaves eth4 and eth5. When trying >>> to open the devices eth4 or eth5 via netmap, I get a "device in use" >>> error. >>> Opening the bond0 interface directly in netmap works, however it is in >>> emulated mode (as expected of a pseudointerface) >>> >>> What is the idiomatic way to proceed in such a situation, without >>> compromising on speed? >>> >>> Thanks >>> _______________________________________________ >>> freebsd-net@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>> >> >> >> >> -- >> Vincenzo Maffione >> > > -- Vincenzo Maffione
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B_eA9jHD0=gkT8ORMNx8ppoCejh-ojA=ORexAzTp62iqpVFXQ>