if_igb(4) describe some hw.igb tunables (rxd, txd, enable_aim, num_queues). I guess these were gone after iflib conversion. Another side effect, I am not able to control the LEDs via led(4). Tested on 12.1-RELEASE, device river i211. Reference: base r223676, base r228788.
Additional references: review D8299
Please see https://www.freebsd.org/cgi/man.cgi?query=iflib&sektion=4&manpath=freebsd-release-ports for a list of iflib sysctl variables.
(In reply to Jeff Pieper from comment #2) Does it mean that the section "LOADER TUNABLES" from if_igb(4) manual should be removed?
(In reply to Jose Luis Duran from comment #3) yes, can you submit a patch?
Created attachment 217603 [details] em.4: Remove non-applicable sections Update manual to reflect current state.
(In reply to Jose Luis Durhttps://bugs.freebsd.org/bugzilla/an from comment #5) Wait... I think I have to create a separate igb.4/if_igb.4 man page (revert base r350075), because if_em do have these tunables.
Created attachment 217604 [details] Remove LED-related sections Sorry, I was reading the on-line version of the man page and got confused.
Created attachment 224987 [details] Add back LED device node. Add `iflib_led_create` late during `attach_post()` (don't know where else to put it). I could not find any other device using `iflib_led_create` (I must be identifying NICs wrong). Test plan: # echo f2 > /dev/led/em0 LEDs blink. # echo 0 > /dev/led/em0 LEDs stop blinking.
https://reviews.freebsd.org/D32389, requires https://reviews.freebsd.org/D32388