Skip to contentSkip to conversation

Preferred term for netdev master / slave

DISCUSSION Donald Hunter 3 participants 3 messages Dec 11, 2023 – Dec 12, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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!

#1 lore raw
Quoted 4 lines · Donald Hunter

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.

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 / subordinate

Thanks!

Thanks!

#2 lore raw
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-style I 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 / subordinate

Thanks!

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.