CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2019/09/30 00:25:01

Modified files:
        sys/dev/pci    : if_ixl.c 

Log message:
use the right values when figuring out which if_baudrate to use.

i was basically using ISSET(bitfield, shift) instead of
ISSET(bitfield, 1 << shift), so things didn't line up properly.

before this the baudrate would come out as 0, but lacp mode in
trunk(4) wants a non-zero if_baudrate value to help pick the best
aggregator to use. if the port reports 0, it doesn't get selected.
this probably explains why trunk(4) doesn't like doing lacp on
virtual ethernet interfaces too, but at least i can get a number
that actually means something on a hardware interface. alternatively,
use aggr(4), which doesn't care about the baudrate.

ok jmatthew@

Reply via email to