OpenBSD Journal

LACP mode removed from trunk(4)

Contributed by rueda on from the nett-loss-of-netlock dept.

David Gwynne (dlg@) has removed LACP mode from the trunk(4) network driver. The commit message explains the reasoning:

CVSROOT:	/cvs
Module name:	src
Changes by:	dlg@cvs.openbsd.org	2026/01/11 21:38:15

Modified files:
	share/man/man4 : trunk.4 
	sys/conf       : files 
	sys/net        : if_trunk.c 

Log message:
remove lacp support from trunk(4)

lacp is better supported by aggr(4). users of lacp in trunk(4)
should migrate to aggr(4).

trunk(4) and the lacp support inside it is one of the last chunks
of code that still requires the netlock in the ethernet stack. the
last time i tried to fix this i ended up writing aggr(4), and nothing
about this code has improved since then. the other protos such as
failover and loadbalance are trivial in comparison and will be easy
to improve in the future.

discussed with and no objections from many

David also added an entry to the "Following current" FAQ with additional details and an example of migration to aggr(4).


Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]