[dpdk-dev] [PATCH v7 00/20] Replace terms master/slave
Thomas Monjalon
thomas at monjalon.net
Tue Oct 20 12:23:50 CEST 2020
16/10/2020 00:57, Stephen Hemminger:
> As announced in 20.08 release notes, the terms for lcore role
> will change in 20.11 release.
>
> This is a project wide patchset to terminolgy used for DPDK lcore.
> The term "master" referring to lcore is replaced with "main" and
> "slave" lcore is replaced with "worker" lcore.
>
> This is most visible in API for rte_get_master_lcore() which is
> replaced with rte_get_main_lcore(). And the macros for iterating
> over lcores are replaced as well.
>
> The first patch introduces a way to mark macro's as deprecated
> as well.
>
> Stephen Hemminger (20):
> doc/coding_style: add policy about master/slave
> eal: add macro to mark macros as deprecated
> eal: rename lcore word choices
> rte_power: replace rte_master_lcore with rte_main_lcore
> drivers: replace master lcore with main lcore
> net/memif: replace master/slave arguments with server/client
> doc: replace master lcore with main lcore
> app/test: replace uses of master/slave
> app/test-pmd: replace master lcore with main lcore
> app/test-eventdev: replace use of master lcore with main lcore
> app: replace references to master/slave
> examples: replace use of master with main
> examples/multi_process: replace references to master/slave
> examples/performance-thread: replace reference to master lcore
> examples/qos: replace references to master
> examples/ipsec-secgw: replace master lcore with main lcore
> examples/pipeline: fix master/slave usage
> examples: replace master lcore with main lcore
> drivers/octeontx2: replace master/slave wording
> drivers/failsafe: replace references to slave devices
A lot of patches have to be squashed to allow compilation.
Applied with adjustments, thanks
More information about the dev
mailing list