[dpdk-dev] [PATCH v3 00/17] Replace terms master/slave

Stephen Hemminger stephen at networkplumber.org
Tue Sep 15 17:58:17 CEST 2020


On Tue, 15 Sep 2020 08:10:57 -0700
Stephen Hemminger <stephen at networkplumber.org> wrote:

> 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.
> 
> Note: this patch will fail checkpatch because current versions
> of checkpatch flag use of master/slave as an error. Also,
> until the whole patch series is applied, the build will generate
> non-fatal warnings.
> 
> v3
>    - incorporate still more places where master/slave was still used
> 
> v2
>    - fix more places found by Anatoly and grep
>    - add coding style update
>    - add memif changes
> 

I have some whitespace fixes for v4 pending.
Will put any other comments in there.


More information about the dev mailing list