Summary: | em(4) 12.0 regressions: Does not function after resume, hw.em.{txd,rxd} ignored | ||
---|---|---|---|
Product: | Base System | Reporter: | Marek Zarychta <zarychtam> |
Component: | kern | Assignee: | freebsd-net (Nobody) <net> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | erj |
Priority: | --- | Keywords: | IntelNetworking, needs-qa, performance, regression |
Version: | 12.0-STABLE | Flags: | koobs:
mfc-stable12?
|
Hardware: | amd64 | ||
OS: | Any |
Description
Marek Zarychta
2019-01-02 14:07:49 UTC
Thank you for the report Marek Might be worth testing the driver from net/intel-em-kmod, if nothing else than to establish/identify potential functional deltas between what base has and the upstream driver. (In reply to Marek Zarychta from comment #0) Hi; I can respond to a couple of these that aren't WoL-related: In 12, the em(4) driver uses the iflib framework, so the tunables have changed. To change the number of descriptors in the queues, use the "dev.em.0.iflib.override_ntxds" and "dev.em.0.iflib.override_nrxds" sysctls. These are marked as tunables, so you can also set these in /boot/loader.conf, and iflib should use these values when the driver is loaded. For "options EM_MULTIQUEUE", it appears that only really changed the driver for the 82574 adapter in 11, so that option wouldn't have applied to your i217 adapter. Regardless, that functionality has been turned on by default for MSI-X capable em cards (which 82574 is the only one so far), so the option isn't needed anymore. (In reply to Eric Joyner from comment #2) Thank you for the explanation and clarification. I must admit that "dev.em.0.iflib.override_ntxds" and "dev.em.0.iflib.override_nrxds" tunables work as "hw.em.rxd" and "hw.em.txd" used to. Indeed, this I217-LM wasn't using multiple queues while running 11-STABLE, but I build the same kernel for a few boxes with different em(4) NICs. Likely only one of them seems to be multiqueue capable. I am closing this because the most critical issue reported here was a duplicate o the bug 224059 which has been fixed. Knobs "dev.em.0.iflib.override_ntxds" and "dev.em.0.iflib.override_nrxds" superseding "hw.em.rxd" and "hw.em.txd" are still not properly documented in em(4) manual page, but this is a minor issue only. |