netmap issue with Intel 82574L Network adapter



  • Does anyone know how to get netmap working with Intel 82574L network adapter? I cannot seem to get mine working. It works for a while and then drops the connections. I try to ping google.com and it works for some time, then intermittently it drops the connection.

    Doing a ifconfig em0 down; ifconfig em0 up makes it work for a couple of minutes and again it drops.

    I am running pfSense-2.3.2

    The follow NIC cards are mentioned as not working with netmap in the following post:
    https://forum.netgate.com/topic/112300/suricata-netmap-realtek

    Netmap / FreeBSD has issues with Intel i340, i350/v2, i210, i211, i217 ,i219, PRO/1000, 82575/82576/82579/82580 and Realtek RTL8168B NIC's.

    But 82574L is not mentioned, so was inquisitive to know.


  • Rebel Alliance Developer Netgate

    @srijannandi said in netmap issue with Intel 82574L Network adapter:

    I am running pfSense-2.3.2

    Upgrade to 2.4.4. That version is over 2 years old.



  • Has anyone got this working in 2.4.4...



  • It's currently running on a hardware which has an Intel I211 network adapter and netmap works smoothly. It's only with Intel 82574L, that netmap stops traffic. However, when I check the netmap(4) and em(4) man pages 82574L seems to be supported.

    SUPPORTED DEVICES
    netmap natively supports the following devices:
    On FreeBSD: em(4), igb(4), ixgbe(4), lem(4), re(4).

    HARDWARE
    The em driver supports Gigabit Ethernet adapters based on the Intel
    82540, 82541ER, 82541PI, 82542, 82543, 82544, 82545, 82546, 82546EB,
    82546GB, 82547, 82571, 82572, 82573, and 82574 controller chips



  • @srijannandi said in netmap issue with Intel 82574L Network adapter:

    It's currently running on a hardware which has an Intel I211 network adapter and netmap works smoothly. It's only with Intel 82574L, that netmap stops traffic. However, when I check the netmap(4) and em(4) man pages 82574L seems to be supported.

    SUPPORTED DEVICES
    netmap natively supports the following devices:
    On FreeBSD: em(4), igb(4), ixgbe(4), lem(4), re(4).

    HARDWARE
    The em driver supports Gigabit Ethernet adapters based on the Intel
    82540, 82541ER, 82541PI, 82542, 82543, 82544, 82545, 82546, 82546EB,
    82546GB, 82547, 82571, 82572, 82573, and 82574 controller chips

    The place to report NIC driver issues like this is upstream to FreeBSD itself. pfSense (and by extension, Suricata on pfSense) simply uses the NIC driver code provided within FreeBSD. It appears the Intel 82574L driver still has issues with netmap stability.



  • Thank you, @bmeeks. Let me take this up with FreeBSD then.



  • @srijannandi said in netmap issue with Intel 82574L Network adapter:

    Has anyone got this working in 2.4.4...

    Yes.

    Could you review /var/log/system.log and /var/log/suricata/suricata_[specific-to-your-interface]/suricata.log for netmap errors and report your findings?

    eg cat /var/log/system.log | grep netmap