Netmap bridge not working with 10G Ethernet ports

Rajesh Kumar rajfbsd at gmail.com
Wed Nov 25 13:18:51 UTC 2020


Hi Vincenzo,


On Tue, Nov 24, 2020 at 8:54 PM Vincenzo Maffione <vmaffione at freebsd.org>
wrote:

>
> Yeah, it's weird because axgbe also uses iflib(4). If the driver exposes
> NIC head/tail pointers (sysctl) it may be useful to check what happens
> there.
> It may be that the NIC is dropping these packets for some reason.
>

Looks like, "ifdi_promisc_set" routine of the driver is not getting
triggered properly.  Forcibly setting the promisc mode from driver is
solving the packet drop issue. Now I see the ARP reply packet.

axgbe has split header support, which causes trouble starting from ping
packets due to incompatibility with Iflib/Netmap and associated utilities.
I made some changes to the driver, Iflib and Netmap utilities and having
the netmap bridge working with axgbe now.

I am working on a clean fix for promisc mode setting and incompatibility
issue. Will submit the changes for review once done.

Thanks for your inputs and support.

Done in r367920.
>

Thank you.

Thanks,
Rajesh.


More information about the freebsd-net mailing list