[dpdk-dev] [PATCH 15/15] examples: replace master lcore with main lcore

Burakov, Anatoly anatoly.burakov at intel.com
Mon Sep 14 17:26:33 CEST 2020


On 11-Sep-20 8:07 PM, Stephen Hemminger wrote:
> Replace use of the term master lcore with main lcore in
> the example programs.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
>   examples/bbdev_app/main.c              | 10 ++++----
>   examples/bond/main.c                   | 32 +++++++++++++-------------
>   examples/ethtool/ethtool-app/main.c    |  6 ++---
>   examples/flow_classify/flow_classify.c |  2 +-
>   examples/helloworld/main.c             |  4 ++--
>   examples/ioat/ioatfwd.c                |  6 ++---
>   examples/ip_fragmentation/main.c       |  2 +-
>   examples/ip_pipeline/main.c            |  2 +-
>   examples/ip_reassembly/main.c          |  2 +-
>   examples/ipv4_multicast/main.c         |  2 +-
>   examples/kni/main.c                    |  4 ++--
>   examples/ntb/ntb_fwd.c                 |  4 ++--
>   examples/packet_ordering/main.c        | 20 ++++++++--------
>   examples/ptpclient/ptpclient.c         |  4 ++--
>   examples/rxtx_callbacks/main.c         |  2 +-
>   examples/server_node_efd/server/main.c | 10 ++++----
>   examples/skeleton/basicfwd.c           |  2 +-
>   examples/timer/main.c                  |  6 ++---
>   examples/vmdq/main.c                   |  2 +-
>   examples/vmdq_dcb/main.c               |  4 ++--
>   20 files changed, 63 insertions(+), 63 deletions(-)

Missed instances:

examples/bbdev_app/main.c
   1148,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {
   1170,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {

examples/bond/main.c
   855,20: 	RTE_LCORE_FOREACH_SLAVE(worker_core_id) {

examples/ethtool/ethtool-app/main.c
   288,34: 	/* Assume there is an available slave.. */
   296,20: 	RTE_LCORE_FOREACH_SLAVE(id_core) {

examples/helloworld/main.c
   38,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {

examples/ip_fragmentation/main.c
   1076,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {

examples/ip_pipeline/thread.c
   35,4:  * Master thead: data plane thread context
   81,4:  * Master thread: data plane thread init
   108,20: 	RTE_LCORE_FOREACH_SLAVE(i) {
   140,6: 		/* Master thread records */
   182,4:  * Master thread & data plane threads: message passing
   216,4:  * Master thread
   559,4:  * Master thread & data plane threads: message passing
   733,4:  * Master thread

examples/ip_reassembly/main.c
   1202,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {

examples/ipv4_multicast/main.c
   805,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {

examples/kni/main.c
   1109,20: 	RTE_LCORE_FOREACH_SLAVE(i) {

examples/ntb/ntb_fwd.c
   165,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {
   681,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {
   700,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {
   768,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {
   829,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {

examples/packet_ordering/main.c
   773,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {

examples/timer/main.c
   113,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {

examples/vmdq/main.c
   657,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {

examples/vmdq_dcb/main.c
   704,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {

-- 
Thanks,
Anatoly


More information about the dev mailing list