From: David Marchand <david.marchand@redhat.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: dev@dpdk.org
Subject: Re: [PATCH v5 1/3] eal: deprecate old coremask-based EAL parameters
Date: Mon, 23 Jun 2025 18:01:00 +0200 [thread overview]
Message-ID: <CAJFAV8zpV=KUDha1tknK0cgv0cboG0htvJZ1kujtx=EJ7hXQHw@mail.gmail.com> (raw)
In-Reply-To: <20250527152913.279011-2-bruce.richardson@intel.com>
On Tue, May 27, 2025 at 5:29 PM Bruce Richardson
<bruce.richardson@intel.com> wrote:
>
> As the number of cores/cpus on platforms has increased over the years,
> the use of coremasks rather than core-lists for identifying DPDK cores
> has become more and more unwieldy. At this point, let's deprecate the
> coremask-based EAL parameters for future removal, and point users to the
> core-list based versions instead.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
> doc/guides/eventdevs/dlb2.rst | 6 +++---
> doc/guides/faq/faq.rst | 8 +++-----
> doc/guides/linux_gsg/build_sample_apps.rst | 7 +++----
> doc/guides/linux_gsg/eal_args.include.rst | 8 ++------
> doc/guides/prog_guide/meson_ut.rst | 2 +-
> doc/guides/prog_guide/multi_proc_support.rst | 2 +-
> doc/guides/prog_guide/service_cores.rst | 8 ++++----
> doc/guides/rel_notes/deprecation.rst | 10 ++++++++++
> doc/guides/sample_app_ug/ip_frag.rst | 7 +------
> doc/guides/sample_app_ug/ip_reassembly.rst | 7 +------
> doc/guides/sample_app_ug/multi_process.rst | 14 +++++---------
> doc/guides/sample_app_ug/qos_scheduler.rst | 2 +-
> doc/guides/sample_app_ug/test_pipeline.rst | 2 +-
> doc/guides/tools/testbbdev.rst | 2 +-
> lib/eal/common/eal_common_options.c | 6 ++++++
> 15 files changed, 43 insertions(+), 48 deletions(-)
This patch will need some rebase.
I see you fixed a few docs, but there are quite some misses in
copy/pasted blocks:
doc/guides/bbdevs/acc100.rst: ./test-bbdev.py -e="-c 0xff0
-a${VF_PCI_ADDR}" -c validation -n 64 -b 32 -l 1 -v
./ldpc_dec_default.data
doc/guides/bbdevs/fpga_5gnr_fec.rst: ./test-bbdev.py -e="-c 0xff0
-a${VF_PCI_ADDR}" -c validation -n 64 -b 32 -l 1 -v
./ldpc_dec_default.data
doc/guides/bbdevs/fpga_5gnr_fec.rst: ./test-bbdev.py -e="-c 0xff0
-a${VF_PCI_ADDR}" -c validation -n 64 -b 32 -l 1 -v
./ldpc_dec_default.data
doc/guides/bbdevs/fpga_lte_fec.rst: ./test-bbdev.py -e="-c 0xff0
-a${VF_PCI_ADDR}" -c validation -n 64 -b 32 -l 1 -v
./turbo_dec_default.data
doc/guides/bbdevs/vrb1.rst: test-bbdev.py -e="-c 0xff0
-a${VF_PCI_ADDR}" -c validation -n 64 -b 64 -l 1 -v
./ldpc_dec_default.data
doc/guides/bbdevs/vrb2.rst: test-bbdev.py -e="-c 0xff0
-a${VF_PCI_ADDR}" -c validation -n 64 -b 64 -l 1 -v
./ldpc_dec_default.data
doc/guides/cryptodevs/mlx5.rst: dpdk-test -c 1 -n 1 -w
<dev>,class=crypto,wcs_file=<file_path>
doc/guides/cryptodevs/mlx5.rst: dpdk-test -c 1 -n 1 -w <dev>,class=crypto
doc/guides/cryptodevs/octeontx.rst: ./build/ipsec-secgw
--log-level=8 -c 0xff -- -P -p 0x3 -u 0x2 --config
doc/guides/howto/packet_capture_framework.rst: sudo
<build_dir>/app/dpdk-testpmd -c 0xf0 -n 4 -- -i
--port-topology=chained
doc/guides/mempool/cnxk.rst: echo "mempool_autotest" |
<build_dir>/app/test/dpdk-test -c 0xf0
--mbuf-pool-ops-name="cn10k_mempool_ops"
doc/guides/mempool/octeontx.rst: ./<build_dir>/app/test/dpdk-test
-c 0xf --base-virtaddr=0x100000000000 \
doc/guides/nics/cnxk.rst: ./<build_dir>/app/dpdk-testpmd -c 0xc
-a 0002:02:00.0 -- --portmask=0x1 --nb-cores=1 --port-topology=loop
--rxq=1 --txq=1
doc/guides/nics/cnxk.rst: ./dpdk-testpmd -c 3 -w
0002:02:00.0,switch_header=exdsa -- -i \
doc/guides/nics/cpfl.rst: dpdk-testpmd -c 0x3 -n 4 -a
0000:af:00.6,vport=[0-1],flow_parser="refpkg.json" -- -i
doc/guides/nics/dpaa.rst: ./<build_dir>/app/dpdk-testpmd -c 0xff -n 1 \
doc/guides/nics/dpaa2.rst: ./dpdk-testpmd -c 0xff -n 1 -- -i
--portmask=0x3 --nb-cores=1 --no-flush-rx
doc/guides/nics/dpaa2.rst: ./dpdk-testpmd -c 0xf -n 1 -- -i
--portmask 0x3 --nb-cores=1 --txq=4 --rxq=4
doc/guides/nics/fail_safe.rst: ./<build_dir>/app/dpdk-testpmd -c
0xff -n 4 \
doc/guides/nics/fail_safe.rst: ./<build_dir>/app/dpdk-testpmd -c
0xff -n 4 \
doc/guides/nics/fail_safe.rst: ./<build_dir>/app/dpdk-testpmd -c
0xff -n 4 -a ff:ff.f \
doc/guides/nics/fail_safe.rst: ./<build_dir>/app/dpdk-testpmd -c
0xff -n 4 \
doc/guides/nics/ice.rst: dpdk-testpmd -c 0xff -- -i
doc/guides/nics/ice.rst: dpdk-testpmd -c 0xff -- -i
doc/guides/nics/ice.rst: examples/dpdk-ptpclient -c f -n 3 -a
0000:ec:00.1 --force-max-simd-bitwidth=64 -- -T 1 -p 0x1 -c 1
doc/guides/nics/mvneta.rst: -c 3 -- -i --p 3 -a
doc/guides/nics/mvneta.rst: ./dpdk-testpmd
--vdev=net_mvneta,iface=eth0,iface=eth1 -c 3 -- \
doc/guides/nics/mvneta.rst: ./dpdk-l2fwd
--vdev=net_mvneta,iface=eth0,iface=eth1 -c 3 -- -T 1 -p 3
doc/guides/nics/mvpp2.rst: ./dpdk-testpmd
--vdev=eth_mvpp2,iface=eth0,iface=eth2 -c 7 -- \
doc/guides/nics/mvpp2.rst: -c 7 -- -i -a --disable-hw-vlan-strip
--rxq=3 --txq=3
doc/guides/nics/mvpp2.rst: ./dpdk-testpmd
--vdev=eth_mvpp2,iface=eth0,iface=eth2 -c 3 -- -i --p 3 -a
--disable-hw-vlan-strip
doc/guides/nics/mvpp2.rst: ./dpdk-testpmd
--vdev=eth_mvpp2,iface=eth0,iface=eth2 -c 6 -- -i -p 3 -a --txd 1024
--rxd 1024
doc/guides/nics/mvpp2.rst: ./dpdk-testpmd
--vdev=net_mrvl,iface=eth0,iface=eth2,cfg=./qos_config -c 7 -- \
doc/guides/nics/octeontx.rst: ./<build_dir>/app/dpdk-testpmd -c 700 \
doc/guides/nics/softnic.rst: ./dpdk-testpmd -c 0x7 -s 0x4
--vdev 'net_softnic0,firmware=<script
path>/firmware.cli,cpu_id=0,conn_port=8086' -- -i
doc/guides/nics/softnic.rst: ./<build_dir>/app/dpdk-testpmd -c
0x7 -s 0x4 -n 4 \
doc/guides/sample_app_ug/bbdev_app.rst: -c 0x38 --numa-mem=2,2
--file-prefix=bbdev -- -e 0x10 -d 0x20
doc/guides/sample_app_ug/ip_pipeline.rst: $
./<build_dir>/examples/dpdk-ip_pipeline -c 0x3 -- -s
examples/route_ecmp.cli
doc/guides/sample_app_ug/l2_forward_macsec.rst: -a 0002:06:00.0
-a 0002:07:00.0 -c 0x1E -- -p 0xf \
doc/guides/sample_app_ug/l2_forward_macsec.rst: -a 0002:06:00.0
-a 0002:07:00.0 -c 0x1E -- -p 0xf \
doc/guides/sample_app_ug/ntb.rst: ./<build_dir>/examples/dpdk-ntb
-c 0xf -n 6 -- -i
doc/guides/sample_app_ug/packet_ordering.rst:The -c EAL CPU_COREMASK
option has to contain at least 3 CPU cores.
doc/guides/sample_app_ug/pipeline.rst: $
./<build_dir>/examples/dpdk-pipeline -c 0x3 -- -s
examples/pipeline/examples/vxlan.cli
doc/guides/sample_app_ug/vdpa.rst: ./dpdk-vdpa -c 0x2 -n 4
--numa-mem 1024,1024 \
doc/guides/sample_app_ug/vmdq_dcb_forwarding.rst:multiple queues. When
run with 8 threads, that is, with the -c FF option, each thread
receives and forwards packets from 16 queues.
doc/guides/sample_app_ug/vmdq_forwarding.rst:multiple queues. When run
with 8 threads, that is, with the -c FF option, each thread receives
and forwards packets from 16 queues.
doc/guides/tools/dumpcap.rst: # <build_dir>/app/dpdk-dumpcap -i
0000:00:03.0 -c 6 -w /tmp/sample.pcapng
doc/guides/tools/graph.rst: ./dpdk-graph -c 0xff -a 0002:02:00.0 -a
0002:03:00.0 --
doc/guides/tools/graph.rst: ./dpdk-graph -c 0xff -a 0002:02:00.0 -a
0002:03:00.0 --
doc/guides/tools/graph.rst: ./dpdk-graph -c 0xff
--vdev=net_pcap0,rx_pcap=in_net_pcap0.pcap,tx_pcap=out_net_pcap1.pcap
doc/guides/tools/graph.rst: ./dpdk-graph -c 0xff
--vdev=net_pcap0,rx_pcap=in_net_pcap0.pcap,tx_pcap=out_net_pcap1.pcap
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0x1f -s 0x10 --vdev=event_sw0 --
\
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0x1f -s 0x10 --vdev=event_sw0 --
\
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0x1f --vdev=event_dsw0 -- \
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0x1f -- \
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0x1f -- \
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0xf -s 0x2 --vdev=event_sw0 -- \
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0xf -s 0x2 --vdev=event_sw0 -- \
doc/guides/tools/testeventdev.rst: sudo build/app/dpdk-test-eventdev
-c 0xf -s 0x2 --vdev=event_sw0 -- \
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0xfff1 \
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0x1f -s 0x2 \
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0xf -- \
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0xfff1 \
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0x1f -s 0x2 \
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0xf -s 0x8 --vdev=event_sw0 -- \
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0xf -s 0x8 --vdev=event_sw0 -- \
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0xf -- \
doc/guides/tools/testeventdev.rst: sudo
<build_dir>/app/dpdk-test-eventdev -c 0xf -- \
doc/guides/tools/testmldev.rst: sudo <build_dir>/app/dpdk-test-mldev
-c 0xf -a <PCI_ID> -- \
doc/guides/tools/testmldev.rst: sudo <build_dir>/app/dpdk-test-mldev
-c 0xf -a <PCI_ID> -- \
doc/guides/tools/testmldev.rst: sudo <build_dir>/app/dpdk-test-mldev
-c 0xf -a <PCI_ID> -- \
doc/guides/tools/testmldev.rst: sudo <build_dir>/app/dpdk-test-mldev
-c 0xf -a <PCI_ID> -- \
doc/guides/tools/testmldev.rst: sudo <build_dir>/app/dpdk-test-mldev
-c 0xf -a <PCI_ID> -- \
doc/guides/tools/testmldev.rst: sudo <build_dir>/app/dpdk-test-mldev
-c 0xf -a <PCI_ID> -- \
doc/guides/tools/testmldev.rst: sudo <build_dir>/app/dpdk-test-mldev
-c 0xf -a <PCI_ID> -- \
doc/guides/tools/testmldev.rst: sudo <build_dir>/app/dpdk-test-mldev
-c 0xf -a <PCI_ID> -- \
doc/guides/tools/testmldev.rst: sudo <build_dir>/app/dpdk-test-mldev
-c 0xf -a <PCI_ID> -- \
doc/guides/tools/testmldev.rst: sudo <build_dir>/app/dpdk-test-mldev
-c 0xf -a <PCI_ID> -- \
doc/guides/tools/testmldev.rst: sudo <build_dir>/app/dpdk-test-mldev
-c 0xf -a <PCI_ID> -- \
Otherwise, this change looks fine to me.
Thanks Bruce.
--
David Marchand
next prev parent reply other threads:[~2025-06-23 16:01 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-13 11:38 [RFC PATCH 0/3] allow easier use of high lcore-ids Bruce Richardson
2025-03-13 11:38 ` [RFC PATCH 1/3] eal: centralize core parameter parsing Bruce Richardson
2025-03-13 11:38 ` [RFC PATCH 2/3] eal: convert core masks and lists to core sets Bruce Richardson
2025-03-13 11:38 ` [RFC PATCH 3/3] eal: allow automatic mapping of high lcore ids Bruce Richardson
2025-03-24 17:30 ` [PATCH v2 0/3] allow easier use of high lcore-ids Bruce Richardson
2025-03-24 17:30 ` [PATCH v2 1/3] eal: centralize core parameter parsing Bruce Richardson
2025-04-07 6:58 ` David Marchand
2025-03-24 17:30 ` [PATCH v2 2/3] eal: convert core masks and lists to core sets Bruce Richardson
2025-04-07 6:59 ` David Marchand
2025-03-24 17:30 ` [PATCH v2 3/3] eal: allow automatic mapping of high lcore ids Bruce Richardson
2025-04-01 14:06 ` [PATCH v2 0/3] allow easier use of high lcore-ids Bruce Richardson
2025-04-07 7:04 ` David Marchand
2025-04-07 9:48 ` Bruce Richardson
2025-04-07 10:15 ` Morten Brørup
2025-04-07 10:40 ` Bruce Richardson
2025-04-07 11:32 ` Morten Brørup
2025-04-07 11:56 ` Bruce Richardson
2025-04-07 12:25 ` Morten Brørup
2025-04-07 12:41 ` Bruce Richardson
2025-04-07 13:18 ` Morten Brørup
2025-04-07 13:24 ` Bruce Richardson
2025-04-07 15:14 ` Stephen Hemminger
2025-04-07 15:38 ` Bruce Richardson
2025-05-02 15:11 ` [PATCH v3 0/4] rework and expand EAL lcore options Bruce Richardson
2025-05-02 15:11 ` [PATCH v3 1/4] eal: deprecate old coremask-based EAL parameters Bruce Richardson
2025-05-02 15:51 ` Stephen Hemminger
2025-05-02 16:00 ` Bruce Richardson
2025-05-03 6:09 ` Morten Brørup
2025-06-13 13:53 ` Bruce Richardson
2025-05-02 15:11 ` [PATCH v3 2/4] eal: merge corelist and core mapping options Bruce Richardson
2025-05-02 15:11 ` [PATCH v3 3/4] doc: provide examples of using lcores EAL parameter Bruce Richardson
2025-05-02 15:11 ` [PATCH v3 4/4] eal: add option for auto-mapping cpu ids to low lcore ids Bruce Richardson
2025-05-13 16:21 ` Bruce Richardson
2025-05-04 21:17 ` [PATCH v3 0/4] rework and expand EAL lcore options Patrick Robb
2025-05-13 16:17 ` [PATCH v4 0/3] lcore options cleanup Bruce Richardson
2025-05-13 16:17 ` [PATCH v4 1/3] eal: deprecate old coremask-based EAL parameters Bruce Richardson
2025-05-13 16:17 ` [PATCH v4 2/3] eal: merge corelist and core mapping options Bruce Richardson
2025-05-13 16:17 ` [PATCH v4 3/3] doc: provide examples of using lcores EAL parameter Bruce Richardson
2025-05-14 11:38 ` Morten Brørup
2025-05-14 12:14 ` Bruce Richardson
2025-05-27 15:31 ` Bruce Richardson
2025-05-15 15:11 ` [PATCH v4 0/3] lcore options cleanup Bruce Richardson
2025-05-27 15:29 ` [PATCH v5 " Bruce Richardson
2025-05-27 15:29 ` [PATCH v5 1/3] eal: deprecate old coremask-based EAL parameters Bruce Richardson
2025-05-27 15:34 ` Bruce Richardson
2025-06-23 16:01 ` David Marchand [this message]
2025-06-23 16:12 ` Bruce Richardson
2025-06-23 16:44 ` David Marchand
2025-05-27 15:29 ` [PATCH v5 2/3] eal: merge corelist and core mapping options Bruce Richardson
2025-05-27 15:29 ` [PATCH v5 3/3] doc: provide examples of using lcores EAL parameter Bruce Richardson
2025-06-08 21:12 ` [PATCH v5 0/3] lcore options cleanup Thomas Monjalon
2025-06-10 11:08 ` Varghese, Vipin
2025-06-13 13:51 ` Bruce Richardson
2025-06-23 16:01 ` David Marchand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJFAV8zpV=KUDha1tknK0cgv0cboG0htvJZ1kujtx=EJ7hXQHw@mail.gmail.com' \
--to=david.marchand@redhat.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).