Preferred term for netdev master / slave
Subsystems (2)
I'm working on updates to the YNL spec for RTLINK and per Documentation/process/coding-style I want to avoid any new use of master / slave.
Recommended replacements include:
'{primary,main} / {secondary,replica,subordinate}' '{initiator,requester} / {target,responder}' '{controller,host} / {device,worker,proxy}'
Is there an existing preference for what to use in the context of e.g. bridge master / slave?
If not, then how about one of:
primary / secondary
main / subordinate
Thanks!
Quoted 4 lines · Donald Hunter
I'm working on updates to the YNL spec for RTLINK and per
Documentation/process/coding-styleI want to avoid any new use of master / slave.
Quoted 9 lines
Recommended replacements include:
'{primary,main} / {secondary,replica,subordinate}' '{initiator,requester} / {target,responder}' '{controller,host} / {device,worker,proxy}'
Is there an existing preference for what to use in the context of e.g. bridge master / slave?
Hi Donald,
In other projects like NetworkManager, rust-netlink libraries.. the terms that are being used in the context of linux bridging are controller / port.
Quoted 7 lines
If not, then how about one of:
primary / secondary
main / subordinateThanks!
Thanks!
Quoted 23 lines · On Tue, 12 Dec 2023 10:57:05 +0100 "Fernando F. Mancera"…
Quoted 4 lines · Donald Hunter
I'm working on updates to the YNL spec for RTLINK and per
Documentation/process/coding-styleI want to avoid any new use of master / slave.Quoted 9 lines
Recommended replacements include:
'{primary,main} / {secondary,replica,subordinate}' '{initiator,requester} / {target,responder}' '{controller,host} / {device,worker,proxy}'
Is there an existing preference for what to use in the context of e.g. bridge master / slave?
Hi Donald,
In other projects like NetworkManager, rust-netlink libraries.. the terms that are being used in the context of linux bridging are controller / port.
Quoted 2 lines
If not, then how about one of:
Quoted 8 lines
Quoted 5 lines
primary / secondary
main / subordinateThanks!
Thanks!
For iproute2 my intention is to replace slave with member
and not use the term master and instead refer to the interface as bridge. Ditto for bonding.
This aligns with some other OS and implementations.