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

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

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.