[panic] netmap(4) and if_lagg(4)

Vincenzo Maffione v.maffione at gmail.com
Thu May 25 16:21:16 UTC 2017


2017-05-25 18:09 GMT+02:00 Harry Schmalzbauer <freebsd at omnilan.de>:

> Bezüglich Vincenzo Maffione's Nachricht vom 25.05.2017 17:56 (localtime):
> > I see the bug is in FreeBSD 11. I attached the simple patch to fix it.
> > Can someone commit the patch to 11/stable?
> >
> > Harry: You should be able to workaround the bug by setting
> >
> > # sysctl dev.netmap.generic_rings=1
>
> I'll recompile with your patch, thanks a lot!
>
> > And yes, if_lagg(4) doesn't have native netmap support, like all the
> > meta-drivers (e.g. vlan, tunnels, etc.).
> > Point is that you should implement link aggregation in your application
> (in
> > user-space).
>
> Thanks for confirmation.
> My problem is that I can't pass frames to guests without vlan filtering
> first :-(
>

Then you need an ad-hoc userspace netmap application that does this job,
reading the tagged frames from the NIC, strip the tag and dispatch to the
proper VM.


>
> Focus is not on inter-VM-connection, but most efficient port usage _and_
> vm-interconnection. The more I learn the less I know what to do ;-)



> If I only had VF-capable hardware (actually VF-"supported" hardware,
> 82576 was SR-IOV enabled, but at the advent of 10GbE, SR-IOV support for
> older chips was removed - where initially implemented - and of course
> not implemented anywhere else).
>
> -harry
>
>


-- 
Vincenzo Maffione


More information about the freebsd-net mailing list