DPDK patches and discussions
 help / color / mirror / Atom feed
From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
To: dev@dpdk.org
Cc: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Subject: [PATCH v4 0/4] eal: small rte_common.h fixes and cleanup
Date: Sat, 27 Aug 2022 14:32:18 +0300	[thread overview]
Message-ID: <20220827113222.3951505-1-dmitry.kozliuk@gmail.com> (raw)
In-Reply-To: <20220825223355.410540-1-dmitry.kozliuk@gmail.com>

v4: Fix build on ARM and RISC-V (CI).

v3: Fix build (CI).

v2:
    * Extend and tidy up the macro unit test (Morten).
    * Remove unneeded includes from rte_common.h (Morten, Bruce).


Dmitry Kozlyuk (4):
  eal: fix pointer arithmetic with an expression argument
  eal: deduplicate roundup code
  eal: uninline rte_str_to_size
  eal: remove unneeded includes from a public header

 app/test-bbdev/main.c                         |  1 +
 app/test-bbdev/test_bbdev_perf.c              |  1 +
 app/test-bbdev/test_bbdev_vector.c            |  2 +
 .../comp_perf_test_cyclecount.c               |  2 +
 .../comp_perf_test_throughput.c               |  2 +
 .../comp_perf_test_verify.c                   |  2 +
 app/test-compress-perf/main.c                 |  1 +
 app/test-crypto-perf/cperf_options_parsing.c  |  1 +
 .../cperf_test_pmd_cyclecount.c               |  1 +
 app/test-crypto-perf/cperf_test_throughput.c  |  2 +
 .../cperf_test_vector_parsing.c               |  2 +
 app/test-crypto-perf/cperf_test_verify.c      |  2 +
 app/test-crypto-perf/main.c                   |  1 +
 app/test-eventdev/evt_main.c                  |  1 +
 app/test-eventdev/evt_options.c               |  1 +
 app/test-eventdev/parser.h                    |  1 +
 app/test-fib/main.c                           |  1 +
 app/test-flow-perf/actions_gen.c              |  1 +
 app/test-pmd/bpf_cmd.c                        |  2 +
 app/test-pmd/cmdline.c                        |  1 +
 app/test-pmd/cmdline_tm.c                     |  2 +
 app/test-pmd/config.c                         |  1 +
 app/test-sad/main.c                           |  1 +
 app/test/test.h                               |  2 +
 app/test/test_common.c                        | 58 +++++++++++++------
 drivers/baseband/la12xx/bbdev_la12xx.c        |  1 +
 drivers/baseband/null/bbdev_null.c            |  1 +
 .../baseband/turbo_sw/bbdev_turbo_software.c  |  1 +
 drivers/bus/vdev/vdev_params.c                |  1 +
 drivers/common/cnxk/cnxk_telemetry_nix.c      |  1 +
 drivers/common/cnxk/cnxk_telemetry_npa.c      |  1 +
 drivers/common/octeontx/octeontx_mbox.c       |  1 +
 drivers/crypto/bcmfs/bcmfs_device.c           |  1 +
 drivers/crypto/bcmfs/hw/bcmfs_rm_common.c     |  2 +
 drivers/crypto/scheduler/scheduler_pmd.c      |  3 +
 drivers/dma/skeleton/skeleton_dmadev.c        |  1 +
 drivers/event/dsw/dsw_event.c                 |  1 +
 drivers/event/octeontx/ssovf_evdev.c          |  1 +
 drivers/event/octeontx/ssovf_evdev_selftest.c |  2 +
 drivers/event/opdl/opdl_evdev.c               |  1 +
 drivers/event/opdl/opdl_test.c                |  1 +
 drivers/event/sw/sw_evdev.c                   |  1 +
 drivers/event/sw/sw_evdev_selftest.c          |  1 +
 drivers/net/af_packet/rte_eth_af_packet.c     |  1 +
 drivers/net/ark/ark_pktchkr.c                 |  1 +
 drivers/net/ark/ark_pktgen.c                  |  1 +
 drivers/net/atlantic/atl_hw_regs.h            |  1 +
 drivers/net/cnxk/cnxk_ethdev_sec_telemetry.c  |  2 +
 drivers/net/failsafe/failsafe_intr.c          |  1 +
 drivers/net/hns3/hns3_mp.c                    |  2 +
 drivers/net/i40e/base/i40e_adminq.h           |  2 +
 drivers/net/i40e/i40e_ethdev.c                |  1 +
 drivers/net/iavf/iavf_ethdev.c                |  1 +
 drivers/net/ice/ice_dcf_parent.c              |  1 +
 drivers/net/ice/ice_ddp_package.c             |  2 +
 drivers/net/ice/ice_ethdev.c                  |  1 +
 drivers/net/mlx4/mlx4_mp.c                    |  1 +
 drivers/net/null/rte_eth_null.c               |  2 +
 drivers/net/octeontx/base/octeontx_bgx.c      |  1 +
 drivers/net/octeontx/octeontx_ethdev.c        |  1 +
 drivers/net/octeontx_ep/otx2_ep_vf.c          |  2 +
 drivers/net/pcap/pcap_ethdev.c                |  1 +
 drivers/net/ring/rte_eth_ring.c               |  2 +
 drivers/net/softnic/parser.h                  |  1 +
 drivers/net/tap/rte_eth_tap.c                 |  1 +
 drivers/net/vhost/rte_eth_vhost.c             |  1 +
 drivers/net/virtio/virtio_ethdev.c            |  1 +
 drivers/net/virtio/virtio_user/vhost_kernel.c |  1 +
 drivers/net/virtio/virtio_user/vhost_user.c   |  1 +
 drivers/net/virtio/virtio_user/vhost_vdpa.c   |  1 +
 .../net/virtio/virtio_user/virtio_user_dev.c  |  1 +
 drivers/net/virtio/virtio_user_ethdev.c       |  1 +
 .../raw/ifpga/base/osdep_rte/osdep_generic.h  |  2 +
 drivers/raw/skeleton/skeleton_rawdev.c        |  1 +
 drivers/raw/skeleton/skeleton_rawdev_test.c   |  2 +
 examples/distributor/main.c                   |  1 +
 examples/dma/dmafwd.c                         |  1 +
 examples/ethtool/ethtool-app/ethapp.c         |  2 +
 examples/eventdev_pipeline/main.c             |  2 +
 .../pipeline_worker_generic.c                 |  2 +
 .../eventdev_pipeline/pipeline_worker_tx.c    |  2 +
 examples/fips_validation/fips_validation.c    |  2 +
 .../fips_validation/fips_validation_gcm.c     |  1 +
 examples/fips_validation/main.c               |  1 +
 examples/ip_pipeline/main.c                   |  1 +
 examples/ip_pipeline/parser.h                 |  1 +
 examples/ipsec-secgw/event_helper.c           |  2 +
 examples/ipsec-secgw/flow.c                   |  1 +
 examples/ipsec-secgw/parser.c                 |  1 +
 examples/ipsec-secgw/parser.h                 |  1 +
 examples/ipsec-secgw/rt.c                     |  1 +
 examples/ipsec-secgw/sa.c                     |  1 +
 examples/l3fwd-power/perf_core.c              |  2 +
 .../client_server_mp/mp_server/init.c         |  1 +
 examples/multi_process/simple_mp/main.c       |  1 +
 examples/ntb/ntb_fwd.c                        |  1 +
 examples/packet_ordering/main.c               |  1 +
 examples/pipeline/cli.c                       |  1 +
 examples/pipeline/main.c                      |  1 +
 examples/ptpclient/ptpclient.c                |  1 +
 examples/qos_meter/main.c                     |  1 +
 examples/qos_sched/init.c                     |  1 +
 examples/rxtx_callbacks/main.c                |  1 +
 examples/server_node_efd/server/init.c        |  1 +
 examples/skeleton/basicfwd.c                  |  1 +
 examples/vdpa/main.c                          |  1 +
 examples/vhost/main.c                         |  2 +
 examples/vhost/virtio_net.c                   |  1 +
 examples/vhost_blk/vhost_blk.c                |  1 +
 lib/bpf/bpf_jit_arm64.c                       |  1 +
 lib/bpf/bpf_validate.c                        |  1 +
 lib/compressdev/rte_compressdev_pmd.c         |  2 +
 lib/cryptodev/cryptodev_pmd.c                 |  1 +
 lib/distributor/rte_distributor.c             |  1 +
 lib/dmadev/rte_dmadev.c                       |  2 +
 lib/eal/arm/rte_power_intrinsics.c            |  2 +
 lib/eal/common/eal_common_debug.c             |  2 +
 lib/eal/common/eal_common_dev.c               |  1 +
 lib/eal/common/eal_common_devargs.c           |  1 +
 lib/eal/common/eal_common_dynmem.c            |  1 +
 lib/eal/common/eal_common_lcore.c             |  1 +
 lib/eal/common/eal_common_memalloc.c          |  1 +
 lib/eal/common/eal_common_string_fns.c        | 36 +++++++++++-
 lib/eal/common/eal_common_trace.c             |  1 +
 lib/eal/common/eal_common_trace_ctf.c         |  1 +
 lib/eal/common/hotplug_mp.c                   |  1 +
 lib/eal/common/malloc_mp.c                    |  1 +
 lib/eal/freebsd/eal.c                         |  1 +
 lib/eal/include/generic/rte_rwlock.h          |  2 +
 lib/eal/include/rte_common.h                  | 41 ++-----------
 lib/eal/linux/eal.c                           |  1 +
 lib/eal/linux/eal_alarm.c                     |  1 +
 lib/eal/linux/eal_dev.c                       |  1 +
 lib/eal/linux/eal_vfio_mp_sync.c              |  1 +
 lib/eal/ppc/rte_power_intrinsics.c            |  2 +
 lib/eal/riscv/rte_power_intrinsics.c          |  2 +
 lib/eal/unix/eal_unix_timer.c                 |  1 +
 lib/eal/version.map                           |  1 +
 lib/eal/windows/rte_thread.c                  |  2 +
 lib/efd/rte_efd.c                             |  2 +
 lib/ethdev/ethdev_driver.c                    |  2 +
 lib/ethdev/rte_class_eth.c                    |  1 +
 lib/ethdev/sff_telemetry.c                    |  2 +
 lib/eventdev/rte_event_eth_rx_adapter.c       |  2 +
 lib/eventdev/rte_event_timer_adapter.c        |  2 +
 lib/gpudev/gpudev.c                           |  2 +
 lib/graph/graph.c                             |  1 +
 lib/graph/graph_ops.c                         |  1 +
 lib/graph/graph_stats.c                       |  1 +
 lib/graph/node.c                              |  1 +
 lib/ipsec/ipsec_telemetry.c                   |  1 +
 lib/meter/rte_meter.c                         |  1 +
 lib/metrics/rte_metrics.c                     |  1 +
 lib/node/ethdev_ctrl.c                        |  2 +
 lib/pci/rte_pci.c                             |  1 +
 lib/pdump/rte_pdump.c                         |  2 +
 lib/pipeline/rte_swx_ctl.c                    |  1 +
 lib/port/rte_swx_port_fd.c                    |  1 +
 lib/port/rte_swx_port_ring.c                  |  1 +
 lib/power/power_cppc_cpufreq.c                |  2 +
 lib/power/rte_power.c                         |  2 +
 lib/power/rte_power_pmd_mgmt.c                |  2 +
 lib/sched/rte_pie.c                           |  1 +
 lib/security/rte_security.c                   |  3 +
 lib/telemetry/telemetry.c                     |  2 +
 lib/telemetry/telemetry_data.c                |  3 +
 lib/telemetry/telemetry_legacy.c              |  3 +-
 lib/vhost/vhost.h                             |  1 +
 168 files changed, 301 insertions(+), 56 deletions(-)

-- 
2.33.1


  parent reply	other threads:[~2022-08-27 11:32 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-21 20:50 [PATCH 0/3] " Dmitry Kozlyuk
2022-08-21 20:50 ` [PATCH 1/3] eal: fix pointer arithmetic with an expression argument Dmitry Kozlyuk
2022-08-22  7:14   ` Morten Brørup
2022-08-21 20:50 ` [PATCH 2/3] eal: uninline rte_str_to_size Dmitry Kozlyuk
2022-08-22  7:24   ` Morten Brørup
2022-08-22 14:06     ` Bruce Richardson
2022-08-21 20:50 ` [PATCH 3/3] eal: deduplicate roundup code Dmitry Kozlyuk
2022-08-22  7:25   ` Morten Brørup
2022-08-22 14:06 ` [PATCH 0/3] eal: small rte_common.h fixes and cleanup Bruce Richardson
2022-08-24  3:52 ` fengchengwen
2022-08-25 15:37 ` [PATCH v2 0/4] " Dmitry Kozlyuk
2022-08-25 15:37   ` [PATCH v2 1/4] eal: fix pointer arithmetic with an expression argument Dmitry Kozlyuk
2022-08-25 15:37   ` [PATCH v2 2/4] eal: deduplicate roundup code Dmitry Kozlyuk
2022-08-25 15:37   ` [PATCH v2 3/4] eal: uninline rte_str_to_size Dmitry Kozlyuk
2022-08-25 15:37   ` [PATCH v2 4/4] eal: remove unneeded includes from a public header Dmitry Kozlyuk
2022-08-25 22:33   ` [PATCH v3 0/4] eal: small rte_common.h fixes and cleanup Dmitry Kozlyuk
2022-08-25 22:33     ` [PATCH v3 1/4] eal: fix pointer arithmetic with an expression argument Dmitry Kozlyuk
2022-08-25 22:33     ` [PATCH v3 2/4] eal: deduplicate roundup code Dmitry Kozlyuk
2022-08-25 22:33     ` [PATCH v3 3/4] eal: uninline rte_str_to_size Dmitry Kozlyuk
2022-08-25 22:33     ` [PATCH v3 4/4] eal: remove unneeded includes from a public header Dmitry Kozlyuk
2022-08-27 11:32     ` Dmitry Kozlyuk [this message]
2022-08-27 11:32       ` [PATCH v4 1/4] eal: fix pointer arithmetic with an expression argument Dmitry Kozlyuk
2022-08-27 11:32       ` [PATCH v4 2/4] eal: deduplicate roundup code Dmitry Kozlyuk
2022-08-27 11:32       ` [PATCH v4 3/4] eal: uninline rte_str_to_size Dmitry Kozlyuk
2022-08-27 11:32       ` [PATCH v4 4/4] eal: remove unneeded includes from a public header Dmitry Kozlyuk
2022-08-29  8:29         ` Bruce Richardson
2022-09-21  9:27         ` David Marchand
2022-09-21 11:37         ` David Marchand
2022-09-21 13:30       ` [PATCH v4 0/4] eal: small rte_common.h fixes and cleanup 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=20220827113222.3951505-1-dmitry.kozliuk@gmail.com \
    --to=dmitry.kozliuk@gmail.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).