[dpdk-dev] [PATCH 10/15] examples: replace use of master with main

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


On 11-Sep-20 8:06 PM, Stephen Hemminger wrote:
> Change references to master/slave lcore to main/worker.
> For l2fwd, l3fwd and link_status examples.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
>   examples/l2fwd-cat/l2fwd-cat.c        |  2 +-
>   examples/l2fwd-crypto/main.c          |  6 +++---
>   examples/l2fwd-event/l2fwd_poll.c     |  2 +-
>   examples/l2fwd-event/main.c           |  2 +-
>   examples/l2fwd-jobstats/main.c        |  2 +-
>   examples/l2fwd-keepalive/main.c       |  2 +-
>   examples/l2fwd/main.c                 |  6 +++---
>   examples/l3fwd-acl/main.c             |  2 +-
>   examples/l3fwd-graph/main.c           | 14 +++++++-------
>   examples/l3fwd-power/main.c           | 16 ++++++++--------
>   examples/l3fwd/main.c                 |  2 +-
>   examples/link_status_interrupt/main.c |  6 +++---
>   12 files changed, 31 insertions(+), 31 deletions(-)

Missed updates in:

examples/l2fwd-event/l2fwd_event_generic.c
   75,12: 	/* Ignore Master core and service cores. */

examples/l2fwd-event/l2fwd_event_internal_port.c
   74,12: 	/* Ignore Master core. */

examples/l2fwd-jobstats/main.c
   1023,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {

examples/l2fwd-keepalive/main.c
   793,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {
   816,20: 	RTE_LCORE_FOREACH_SLAVE(lcore_id) {

With above fixed,

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list