Page MenuHomeFreeBSD

lagg: Further cleanup of the rr_limit option.

Authored by markj on Jan 8 2020, 7:20 PM.



Add an option flag so that arbitrary updates to a lagg's configuration
do not clear sc_stride. Preseve compatibility for old ifconfig
binaries. Update ifconfig to use the new flag and improve the casting
used when parsing the option parameter.

Modify the RR transmit function to avoid locklessly reading sc_stride
twice. Ensure that sc_stride is always 1 or greater.

Diff Detail

Lint OK
No Unit Test Coverage
Build Status
Buildable 28553
Build 26604: arc lint + arc unit

Event Timeline

markj created this revision.Jan 8 2020, 7:20 PM
hselasky accepted this revision.Jan 8 2020, 9:43 PM
This revision is now accepted and ready to land.Jan 8 2020, 9:43 PM
This revision was automatically updated to reflect the committed changes.