eal: rename lcore master and slave
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 15 Oct 2020 22:57:19 +0000 (15:57 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 20 Oct 2020 11:17:08 +0000 (13:17 +0200)
commitcb056611a8ed9ab9024f3b91bf26e97255194514
tree698990e118ea15c3e10b66c18d7b4fe8c30eb03b
parent03031925811e0341618957521a1542fa9eb2e497
eal: rename lcore master and slave

Replace master lcore with main lcore and
replace slave lcore with worker lcore.

Keep the old functions and macros but mark them as deprecated
for this release.

The "--master-lcore" command line option is also deprecated
and any usage will print a warning and use "--main-lcore"
as replacement.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
171 files changed:
app/pdump/main.c
app/test-acl/main.c
app/test-bbdev/test_bbdev_perf.c
app/test-compress-perf/main.c
app/test-crypto-perf/main.c
app/test-eventdev/evt_options.c
app/test-eventdev/test_order_common.c
app/test-eventdev/test_perf_common.c
app/test-eventdev/test_pipeline_common.c
app/test-flow-perf/main.c
app/test-pipeline/main.c
app/test-pmd/cmdline.c
app/test-pmd/config.c
app/test-pmd/parameters.c
app/test-pmd/testpmd.c
app/test-sad/main.c
app/test/autotest_test_funcs.py
app/test/meson.build
app/test/test.c
app/test/test_atomic.c
app/test/test_barrier.c
app/test/test_compressdev_test_buffer.h
app/test/test_cryptodev.c
app/test/test_distributor.c
app/test/test_distributor_perf.c
app/test/test_eal_flags.c
app/test/test_efd.c
app/test/test_efd_perf.c
app/test/test_func_reentrancy.c
app/test/test_hash_multiwriter.c
app/test/test_hash_readwrite.c
app/test/test_kni.c
app/test/test_lpm_perf.c
app/test/test_malloc.c
app/test/test_mbuf.c
app/test/test_mcslock.c
app/test/test_mempool_perf.c
app/test/test_mp_secondary.c
app/test/test_pdump.c
app/test/test_per_lcore.c
app/test/test_pmd_perf.c
app/test/test_rcu_qsbr.c
app/test/test_rcu_qsbr_perf.c
app/test/test_ring_perf.c
app/test/test_ring_stress_impl.h
app/test/test_rwlock.c
app/test/test_service_cores.c
app/test/test_spinlock.c
app/test/test_stack.c
app/test/test_stack_perf.c
app/test/test_ticketlock.c
app/test/test_timer.c
app/test/test_timer_racecond.c
app/test/test_timer_secondary.c
app/test/test_trace_perf.c
doc/guides/contributing/coding_style.rst
doc/guides/faq/faq.rst
doc/guides/howto/debug_troubleshoot.rst
doc/guides/linux_gsg/eal_args.include.rst
doc/guides/linux_gsg/quick_start.rst
doc/guides/nics/bnxt.rst
doc/guides/prog_guide/env_abstraction_layer.rst
doc/guides/prog_guide/event_ethernet_rx_adapter.rst
doc/guides/prog_guide/glossary.rst
doc/guides/prog_guide/img/linuxapp_launch.svg
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_20_11.rst
doc/guides/sample_app_ug/bbdev_app.rst
doc/guides/sample_app_ug/ethtool.rst
doc/guides/sample_app_ug/hello_world.rst
doc/guides/sample_app_ug/ioat.rst
doc/guides/sample_app_ug/ip_pipeline.rst
doc/guides/sample_app_ug/keep_alive.rst
doc/guides/sample_app_ug/l2_forward_event.rst
doc/guides/sample_app_ug/l2_forward_real_virtual.rst
doc/guides/sample_app_ug/l3_forward_graph.rst
doc/guides/sample_app_ug/l3_forward_power_man.rst
doc/guides/sample_app_ug/link_status_intr.rst
doc/guides/sample_app_ug/multi_process.rst
doc/guides/sample_app_ug/packet_ordering.rst
doc/guides/sample_app_ug/performance_thread.rst
doc/guides/sample_app_ug/ptpclient.rst
doc/guides/sample_app_ug/qos_scheduler.rst
doc/guides/sample_app_ug/timer.rst
doc/guides/testpmd_app_ug/run_app.rst
doc/guides/testpmd_app_ug/testpmd_funcs.rst
drivers/bus/dpaa/dpaa_bus.c
drivers/event/dpaa2/dpaa2_eventdev_selftest.c
drivers/event/octeontx/ssovf_evdev_selftest.c
drivers/event/octeontx2/otx2_evdev_selftest.c
drivers/event/sw/sw_evdev_selftest.c
drivers/net/bnxt/bnxt_ring.c
drivers/net/mvpp2/mrvl_ethdev.c
drivers/net/qede/base/bcm_osal.c
drivers/net/softnic/rte_eth_softnic_internals.h
drivers/net/softnic/rte_eth_softnic_thread.c
examples/bbdev_app/main.c
examples/bond/main.c
examples/distributor/main.c
examples/ethtool/ethtool-app/main.c
examples/eventdev_pipeline/main.c
examples/flow_classify/flow_classify.c
examples/helloworld/main.c
examples/ioat/ioatfwd.c
examples/ip_fragmentation/main.c
examples/ip_pipeline/main.c
examples/ip_pipeline/thread.c
examples/ip_reassembly/main.c
examples/ipsec-secgw/event_helper.c
examples/ipsec-secgw/ipsec-secgw.c
examples/ipv4_multicast/main.c
examples/kni/main.c
examples/l2fwd-cat/l2fwd-cat.c
examples/l2fwd-crypto/main.c
examples/l2fwd-event/l2fwd_event_generic.c
examples/l2fwd-event/l2fwd_event_internal_port.c
examples/l2fwd-event/l2fwd_poll.c
examples/l2fwd-event/main.c
examples/l2fwd-jobstats/main.c
examples/l2fwd-keepalive/main.c
examples/l2fwd/main.c
examples/l3fwd-acl/main.c
examples/l3fwd-graph/main.c
examples/l3fwd-power/main.c
examples/l3fwd/main.c
examples/link_status_interrupt/main.c
examples/multi_process/client_server_mp/mp_server/main.c
examples/multi_process/simple_mp/main.c
examples/multi_process/symmetric_mp/main.c
examples/ntb/ntb_fwd.c
examples/packet_ordering/main.c
examples/performance-thread/l3fwd-thread/main.c
examples/performance-thread/pthread_shim/main.c
examples/pipeline/main.c
examples/pipeline/thread.c
examples/ptpclient/ptpclient.c
examples/qos_meter/main.c
examples/qos_sched/args.c
examples/qos_sched/cmdline.c
examples/qos_sched/main.c
examples/rxtx_callbacks/main.c
examples/server_node_efd/server/main.c
examples/skeleton/basicfwd.c
examples/tep_termination/main.c
examples/timer/main.c
examples/vhost/main.c
examples/vmdq/main.c
examples/vmdq_dcb/main.c
lib/librte_eal/common/eal_common_dynmem.c
lib/librte_eal/common/eal_common_launch.c
lib/librte_eal/common/eal_common_lcore.c
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/common/eal_options.h
lib/librte_eal/common/eal_private.h
lib/librte_eal/common/rte_random.c
lib/librte_eal/common/rte_service.c
lib/librte_eal/freebsd/eal.c
lib/librte_eal/freebsd/eal_thread.c
lib/librte_eal/include/rte_eal.h
lib/librte_eal/include/rte_eal_trace.h
lib/librte_eal/include/rte_launch.h
lib/librte_eal/include/rte_lcore.h
lib/librte_eal/linux/eal.c
lib/librte_eal/linux/eal_memory.c
lib/librte_eal/linux/eal_thread.c
lib/librte_eal/rte_eal_exports.def
lib/librte_eal/version.map
lib/librte_eal/windows/eal.c
lib/librte_eal/windows/eal_thread.c
lib/librte_kni/rte_kni.h
lib/librte_power/rte_power_empty_poll.c