Page MenuHomeFreeBSD

lagg: Further cleanup of the rr_limit option.
ClosedPublic

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

Details

Summary

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

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

Event Timeline

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