Date: Tue, 10 Apr 2018 11:32:20 +0200 From: Vincenzo Maffione <v.maffione@gmail.com> To: Ralston Champagnie <9rgeoc@gmail.com> Cc: "freebsd-net@freebsd.org" <net@freebsd.org>, Matthew Macy <mmacy@nextbsd.org> Subject: Re: Support for Dual NIC Message-ID: <CA%2B_eA9ggyR4BNnM=mSVkhiRimGF14n8_Ki9UXaOR=aUkx==zYg@mail.gmail.com> In-Reply-To: <CAM_1nP3--4Eunr=o9tN3dFmrL0gr0Cydr3AxXSNJPxmDaTZk8g@mail.gmail.com> References: <CAM_1nP3--4Eunr=o9tN3dFmrL0gr0Cydr3AxXSNJPxmDaTZk8g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, In general, if a driver (e.g. ixgbe) supports DEV_NETMAP, then all the NIC models sharing the same driver will have native netmap support. Netmap simply does not know about the specific models. If you are really seeing an issue, it may be related to the recent iflib refactoring, which now collects driver functionalities common to Intel 1G drivers (em, lem, igb, ...). And iflib has support for netmap, so that the same netmap functions are reused by all the 1G drivers. >From my understanding, both 82575 (dual) and 82576 (quad) are served by igb, so they should be supported. One way to check if netmap kicks is to inspect the log for lines like these: """" net eth0: netmap queues/slots: TX 1/256, RX 1/256 net eth1: netmap queues/slots: TX 1/256, RX 1/256 """" Maybe Matt wants to add something related to iflib. The log you are seeing is a sanity check: it seems you are seeing packets larger than 1500 bytes in the host rings. Are you using jumbo frames with the netmap "bridge" program? Cheers, Vincenzo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B_eA9ggyR4BNnM=mSVkhiRimGF14n8_Ki9UXaOR=aUkx==zYg>