From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1050F606A31A for ; Wed, 2 Dec 2026 01:12:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=nLA2TLbI Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47083402DA; Wed, 2 Dec 2026 02:12:00 +0100 (CET) Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) by mails.dpdk.org (Postfix) with ESMTPS id 75EAD402D5 for ; Wed, 2 Dec 2026 02:11:58 +0100 (CET) Received: by mail-pg1-f181.google.com with SMTP id 41be03b00d2f7-cd62c570b5dso8304617a12.2 for ; Tue, 01 Dec 2026 17:11:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1796173916; x=1796778716; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=stB3oQvnr21dy0lLm2nQv9OPETuYPgZCohjMQCigCAA=; b=nLA2TLbIWMvMYyJaBuCNqOcXSOiGO8Bn22z/jLt3XqK8wCypU7ncpys45rNwu7tFGF H0cIGkW/VTLIlk/PV9d4si3Y5E2cRVrouAQ2GIWZvQWp+Cqwiy0oMlX8CS5sdMNq8GrE otVEq+9MvikXQLjjUJEkKw0pqv/odbSzWQioaTF+5PL+YhGcvXiZYD2aR6Mc0hBptaZi wIwwSgLfnbLhelusnM2beVSQ7oty6UEkrSYFkLYD7GOoJwFfpyEUutZ49X9k2i2NxDgM xmYfgWLlpSDvukxGxzAmy4ZYc4s9tqZK0ZDA2PpIVXKGF8HX6ri41CLErSxVLYx9rbwA nB/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796173916; x=1796778716; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=stB3oQvnr21dy0lLm2nQv9OPETuYPgZCohjMQCigCAA=; b=JVgW9pd2Cie9OqPnKJl8Lo0cFFWp1TiEiyL5Kl+X3qrvWENOQOOY2eHwkuj87rMuF5 5k0cvS5MB5wd5VfjBVgggUNoKogwdfW5WXBfMi//ZIqqfibuuOU9ICA4nyN2cAOylFbv GhTlqxTVnPxWJsZxW+fPaPnhy+gx25waEeIjCNhI909KxL7s0OG7DJ9hhVRFvKZhN3mk QIPq9BwA0RsF89zTWGoYCZWTTZeyXDawPFe/tvimJ/ep/CmsnQaIxogVgrIXNiOvBr02 IUAs7LSFS+3vyIXsArCUhG/0z6DkFXlhikTjOJuFTNVlq1aWV3Z92JF+G4e5uYUhjrXt URyw== X-Gm-Message-State: APuU4Z/BUDGxISXryRgWdRyFbjoDTXy2C028M1T9RC37eB5vP6M+JDNx Nz+2y0PciXyPiefGcTWZBGoKzRpIWiNErBdXpf17YXk+eByERAqVsGmQ6a3wk5YVY3suVPssTyT tB4zWSBE= X-Gm-Gg: AZFdTZdryJNrrHjpqndktxXMu22SYhVO4V0TF9AG192eNeu2Sn3xF9XcO9hogUjAqYw siH5S0OtpK7Ls4LLfb1ObFqxc/N6+khTKmRI6AmZFgSwwusJhGHLjU0lt2bngxV7JRS4297LJIZ lLPT2SExTYWNn+o1j5k/Ux6CMRnX8845fWYusWEJy3gzswvINjfWa3Ft4SNc24njyNzS+K5PdBf YChqQY/MPlr84KM2djTpizlbQantEiAoc3y1LtUWrkDNADJMDoNZHjnw2pqGJL5daVyzno5aS0h DPIuMOkIUMGE2Vd7G55l75RGDapAKDdafliAq6wPTZ9cdvvp6I1Q766JZyTtpjcjue1q7JevbOb UDSfOWwelcN6jBhqK8bXcHHG5mk0PfK1TTJgmY8HzyOA01fX7h4if+jlALahCeqdjWwZCjPM+Dw 8XijJrqLo22NksH22r/vwozuPixGvtW0NpWwZZBAru+pyims1MKv+htG666b6Of3YH3UeN05x3i PS7o34tex14Ox5s0asfueB0xUBwLxNWjZVd1EhowYj05upTSZgpIRPQQMvWdBmO3LHiZkImtS0/ RgpDLHul4NLS9BenB4CSzhUbj8mupIqctE49FLe5lltvBC7fjL7TSKLOY0U5ZKD02uSm X-Received: by 2002:a17:90b:180e:b0:3a4:f8da:2478 with SMTP id 98e67ed59e1d1-3b41c9e4a2dmr41038805a91.29.1796173916314; Tue, 01 Dec 2026 17:11:56 -0800 (PST) Received: from phoenix.lan (204-195-112-43.wavecable.com. [204.195.112.43]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-cdec1168866sm11120980a12.25.2026.12.01.17.11.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 17:11:55 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 0/6] provide a complete set of BSD list macros Date: Tue, 1 Dec 2026 17:05:00 -0800 Message-ID: <20261202011153.3255223-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260917172116.660120-1-stephen@networkplumber.org> References: <20260917172116.660120-1-stephen@networkplumber.org> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 DPDK uses the BSD macros everywhere, but what is available depends on the platform: - FreeBSD has the full set - Linux glibc has a subset, - musl and Windows have no such header. The big gap is _FOREACH_SAFE, which glibc lacks (it is available in the BSD version in another package), so it can't be used in common code. Workarounds have spread: - RTE_TAILQ_FOREACH_SAFE in rte_tailq.h - nine files with private copies of LIST_, SLIST_ or TAILQ_FOREACH_SAFE. - Windows has its own copy. Take the FreeBSD header, clean it up and put in DPDK as rte_queue.h. Drop all the workarounds. The wrappers stay as deprecated aliases until 27.11. There is one big patch which does tree wide conversion of sys/queue.h to rte_queue.h. sys/queue.h and rte_queue.h overlap and are conflicting headers. Use the same guard #ifdef to avoid any redefiniton issues in user code. The final patch add check to checkpatches to prevent new use of sys/queue.h. v2: - rebase and incorporate review comments Stephen Hemminger (6): net/bnxt: fix use after free when freeing filters eal: add rte_queue.h with full set of list macros build: use rte_queue.h instead of sys/queue.h build: remove private FOREACH_SAFE definitions eal: deprecate RTE_TAILQ and RTE_STAILQ macro wrappers devtools: forbid direct use of sys/queue.h app/dumpcap/main.c | 2 +- app/proc-info/main.c | 2 +- app/test-bbdev/main.h | 2 +- app/test-cmdline/cmdline_test.c | 2 +- app/test-eventdev/evt_test.c | 2 +- app/test-eventdev/evt_test.h | 2 +- app/test-mldev/ml_test.h | 2 +- app/test-pmd/5tswap.c | 2 +- app/test-pmd/cmdline.c | 2 +- app/test-pmd/config.c | 2 +- app/test-pmd/csumonly.c | 2 +- app/test-pmd/flowgen.c | 2 +- app/test-pmd/hairpin.c | 2 +- app/test-pmd/icmpecho.c | 2 +- app/test-pmd/iofwd.c | 2 +- app/test-pmd/macfwd.c | 2 +- app/test-pmd/macswap.c | 2 +- app/test-pmd/noisy_vnf.c | 2 +- app/test-pmd/parameters.c | 2 +- app/test-pmd/rxonly.c | 2 +- app/test-pmd/testpmd.c | 2 +- app/test-pmd/testpmd.h | 2 +- app/test-pmd/txonly.c | 2 +- app/test/commands.c | 2 +- app/test/test.c | 2 +- app/test/test.h | 2 +- app/test/test_atomic.c | 2 +- app/test/test_cmdline_lib.c | 2 +- app/test/test_func_reentrancy.c | 2 +- app/test/test_hash.c | 2 +- app/test/test_hash_functions.c | 2 +- app/test/test_link_bonding.c | 2 +- app/test/test_link_bonding_mode4.c | 2 +- app/test/test_link_bonding_rssconf.c | 2 +- app/test/test_logs.c | 2 +- app/test/test_malloc.c | 2 +- app/test/test_mbuf.c | 2 +- app/test/test_mcslock.c | 2 +- app/test/test_mempool.c | 2 +- app/test/test_mempool_perf.c | 2 +- app/test/test_memzone.c | 2 +- app/test/test_mp_secondary.c | 2 +- app/test/test_per_lcore.c | 2 +- app/test/test_pflock.c | 2 +- app/test/test_ring.c | 2 +- app/test/test_rwlock.c | 2 +- app/test/test_soring.c | 2 +- app/test/test_spinlock.c | 2 +- app/test/test_tailq.c | 2 +- app/test/test_ticketlock.c | 2 +- app/test/test_timer.c | 2 +- devtools/checkpatches.sh | 9 + doc/guides/contributing/coding_style.rst | 5 +- doc/guides/rel_notes/deprecation.rst | 8 + doc/guides/rel_notes/release_27_03.rst | 17 ++ drivers/bus/auxiliary/auxiliary_common.c | 2 +- drivers/bus/auxiliary/private.h | 2 +- drivers/bus/cdx/cdx_vfio.c | 1 + drivers/bus/dpaa/dpaa_bus.c | 2 +- drivers/bus/fslmc/bus_fslmc_driver.h | 3 +- drivers/bus/fslmc/fslmc_bus.c | 6 +- drivers/bus/fslmc/fslmc_vfio.c | 8 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 9 +- drivers/bus/fslmc/private.h | 4 +- drivers/bus/ifpga/ifpga_bus.c | 2 +- drivers/bus/pci/bsd/pci.c | 2 +- drivers/bus/pci/pci_common.c | 3 +- drivers/bus/pci/pci_params.c | 2 +- drivers/bus/pci/windows/pci.c | 2 +- drivers/bus/pci/windows/pci_netuio.c | 2 +- drivers/bus/platform/platform.c | 2 +- drivers/bus/vdev/vdev.c | 5 +- drivers/bus/vmbus/linux/vmbus_bus.c | 2 +- drivers/bus/vmbus/vmbus_bufring.c | 2 +- drivers/bus/vmbus/vmbus_channel.c | 2 +- drivers/bus/vmbus/vmbus_common.c | 3 +- drivers/common/cnxk/roc_bphy_irq.c | 1 - drivers/common/cnxk/roc_npc.h | 2 - drivers/common/cnxk/roc_platform.c | 2 +- drivers/common/cnxk/roc_platform.h | 4 +- drivers/common/mlx5/mlx5_common_mr.h | 2 +- drivers/common/sxe2/sxe2_osal.h | 8 +- drivers/crypto/bcmfs/bcmfs_device.c | 2 +- drivers/crypto/bcmfs/bcmfs_device.h | 2 +- drivers/crypto/ccp/ccp_crypto.c | 2 +- drivers/crypto/ccp/ccp_dev.c | 2 +- drivers/event/dlb2/dlb2_selftest.c | 2 +- drivers/event/dlb2/pf/base/dlb2_osdep_list.h | 2 +- drivers/event/opdl/opdl_test.c | 2 +- drivers/event/sw/sw_evdev_selftest.c | 2 +- drivers/mempool/dpaa/dpaa_mempool.c | 2 +- drivers/net/axgbe/axgbe_common.h | 2 +- drivers/net/bnx2x/bnx2x_ethdev.h | 2 +- drivers/net/bnxt/bnxt.h | 2 +- drivers/net/bnxt/bnxt_filter.c | 8 +- drivers/net/bnxt/bnxt_flow.c | 3 +- drivers/net/bnxt/bnxt_vnic.h | 2 +- drivers/net/bnxt/tf_ulp/bnxt_ulp.c | 6 +- drivers/net/bnxt/tf_ulp/bnxt_ulp.h | 2 +- drivers/net/bnxt/tf_ulp/bnxt_ulp_meter.c | 3 +- drivers/net/bnxt/tf_ulp/bnxt_ulp_tf.c | 1 - drivers/net/bnxt/tf_ulp/bnxt_ulp_tfc.c | 1 - drivers/net/bnxt/tf_ulp/bnxt_ulp_utils.h | 1 - drivers/net/bonding/eth_bond_private.h | 2 +- drivers/net/bonding/rte_eth_bond_flow.c | 5 +- drivers/net/cnxk/cnxk_eswitch_flow.c | 2 +- drivers/net/cnxk/cnxk_ethdev.c | 6 +- drivers/net/cnxk/cnxk_ethdev.h | 2 +- drivers/net/cnxk/cnxk_ethdev_sec_telemetry.c | 8 +- drivers/net/cxgbe/base/t4_hw.c | 1 - drivers/net/cxgbe/cxgbe_ethdev.c | 3 +- drivers/net/cxgbe/cxgbe_main.c | 3 +- drivers/net/cxgbe/sge.c | 3 +- drivers/net/dpaa/dpaa_ethdev.c | 1 - drivers/net/dpaa/dpaa_rxtx.c | 1 - drivers/net/dpaa2/dpaa2_flow.c | 3 +- drivers/net/dpaa2/dpaa2_mux.c | 3 +- drivers/net/dpaa2/dpaa2_ptp.c | 2 +- drivers/net/enic/enic.h | 2 +- drivers/net/failsafe/failsafe_flow.c | 5 +- drivers/net/failsafe/failsafe_private.h | 2 +- drivers/net/hns3/hns3_tm.h | 2 +- drivers/net/intel/common/flow_engine.h | 7 +- drivers/net/intel/cpfl/cpfl_flow.c | 10 +- drivers/net/intel/cpfl/cpfl_flow_engine_fxp.c | 3 +- drivers/net/intel/e1000/e1000_ethdev.h | 2 +- drivers/net/intel/e1000/em_ethdev.c | 2 +- drivers/net/intel/e1000/em_rxtx.c | 2 +- drivers/net/intel/e1000/igb_ethdev.c | 2 +- drivers/net/intel/e1000/igb_flow.c | 2 +- drivers/net/intel/e1000/igb_rxtx.c | 2 +- drivers/net/intel/i40e/i40e_ethdev.c | 12 +- drivers/net/intel/i40e/i40e_ethdev.h | 2 +- drivers/net/intel/i40e/i40e_fdir.c | 4 +- drivers/net/intel/i40e/i40e_flow.c | 3 +- drivers/net/intel/i40e/i40e_pf.c | 2 +- drivers/net/intel/i40e/i40e_rxtx.c | 2 +- drivers/net/intel/i40e/rte_pmd_i40e.c | 8 +- drivers/net/intel/iavf/iavf.h | 2 +- drivers/net/intel/iavf/iavf_ethdev.c | 2 +- drivers/net/intel/iavf/iavf_fdir.c | 3 +- drivers/net/intel/iavf/iavf_fsub.c | 3 +- drivers/net/intel/iavf/iavf_generic_flow.c | 19 +- drivers/net/intel/iavf/iavf_hash.c | 3 +- drivers/net/intel/iavf/iavf_rxtx.c | 2 +- drivers/net/intel/iavf/iavf_vchnl.c | 8 +- drivers/net/intel/ice/ice_acl_filter.c | 3 +- drivers/net/intel/ice/ice_dcf.c | 2 +- drivers/net/intel/ice/ice_dcf_ethdev.c | 2 +- drivers/net/intel/ice/ice_diagnose.c | 2 +- drivers/net/intel/ice/ice_ethdev.c | 10 +- drivers/net/intel/ice/ice_generic_flow.c | 11 +- drivers/net/intel/ice/ice_hash.c | 3 +- drivers/net/intel/ice/ice_osdep.h | 4 +- drivers/net/intel/ice/ice_switch_filter.c | 3 +- drivers/net/intel/idpf/idpf_osdep.h | 9 +- drivers/net/intel/ipn3ke/ipn3ke_ethdev.h | 2 +- drivers/net/intel/ipn3ke/ipn3ke_flow.c | 5 +- drivers/net/intel/ixgbe/ixgbe_ethdev.c | 2 +- drivers/net/intel/ixgbe/ixgbe_ethdev.h | 2 +- drivers/net/intel/ixgbe/ixgbe_fdir.c | 2 +- drivers/net/intel/ixgbe/ixgbe_flow.c | 5 +- drivers/net/intel/ixgbe/ixgbe_rxtx.c | 2 +- drivers/net/memif/memif_socket.h | 2 +- drivers/net/memif/rte_eth_memif.h | 2 +- drivers/net/mlx4/mlx4.h | 2 +- drivers/net/mlx4/mlx4_flow.c | 2 +- drivers/net/mlx4/mlx4_flow.h | 2 +- drivers/net/mlx4/mlx4_mr.h | 2 +- drivers/net/mlx4/mlx4_rxtx.h | 2 +- drivers/net/mlx5/hws/mlx5dr_internal.h | 2 +- drivers/net/mlx5/linux/mlx5_verbs.c | 2 +- drivers/net/mlx5/mlx5.h | 2 +- drivers/net/mlx5/mlx5_devx.c | 2 +- drivers/net/mlx5/mlx5_driver_event.c | 2 +- drivers/net/mlx5/mlx5_flow.c | 2 +- drivers/net/mlx5/mlx5_flow.h | 2 +- drivers/net/mlx5/mlx5_flow_dv.c | 5 +- drivers/net/mlx5/mlx5_flow_meter.c | 4 +- drivers/net/mlx5/mlx5_flow_verbs.c | 2 +- drivers/net/mlx5/mlx5_rx.h | 2 +- drivers/net/mlx5/mlx5_rxq.c | 2 +- drivers/net/mlx5/mlx5_rxtx.h | 2 +- drivers/net/mlx5/mlx5_tx.h | 2 +- drivers/net/nbl/nbl_common/nbl_userdev.c | 4 +- drivers/net/nbl/nbl_include/nbl_include.h | 1 - drivers/net/netvsc/hn_ethdev.c | 8 +- drivers/net/nfb/nfb_ethdev.c | 5 +- drivers/net/nfp/nfp_mtr.c | 8 +- drivers/net/ngbe/ngbe_ethdev_vf.c | 2 +- drivers/net/ngbe/ngbe_rxtx.c | 2 +- drivers/net/ntnic/ntnic_ethdev.c | 2 +- drivers/net/qede/qede_ethdev.h | 2 +- drivers/net/qede/qede_filter.c | 8 +- drivers/net/sfc/sfc_dp.c | 2 +- drivers/net/sfc/sfc_dp.h | 2 +- drivers/net/sfc/sfc_flow.c | 6 +- drivers/net/sfc/sfc_flow.h | 2 +- drivers/net/sfc/sfc_flow_rss.c | 2 +- drivers/net/sfc/sfc_flow_rss.h | 2 +- .../net/softnic/rte_eth_softnic_internals.h | 2 +- drivers/net/softnic/rte_eth_softnic_swq.c | 4 +- drivers/net/sxe2/sxe2_dump.c | 6 +- drivers/net/sxe2/sxe2_ethdev.c | 2 +- drivers/net/sxe2/sxe2_filter.c | 24 +- drivers/net/sxe2/sxe2_flow.c | 2 +- drivers/net/sxe2/sxe2_flow_define.h | 2 +- drivers/net/sxe2/sxe2_switchdev.c | 2 +- drivers/net/sxe2/sxe2_vsi.c | 4 +- drivers/net/tap/rte_eth_tap.h | 2 +- drivers/net/tap/tap_flow.c | 2 +- drivers/net/thunderx/base/nicvf_bsvf.h | 2 +- drivers/net/thunderx/nicvf_ethdev.c | 3 +- drivers/net/txgbe/txgbe_ethdev_vf.c | 2 +- drivers/net/txgbe/txgbe_fdir.c | 2 +- drivers/net/txgbe/txgbe_flow.c | 2 +- drivers/net/txgbe/txgbe_rxtx.c | 2 +- drivers/net/vdev_netvsc/vdev_netvsc.c | 2 +- drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 +- drivers/net/vmxnet3/vmxnet3_rxtx.c | 2 +- drivers/net/zxdh/zxdh_flow.c | 5 +- drivers/net/zxdh/zxdh_flow.h | 2 +- drivers/net/zxdh/zxdh_mtr.c | 6 +- drivers/net/zxdh/zxdh_mtr.h | 2 +- drivers/raw/ifpga/base/opae_hw_api.h | 2 +- drivers/raw/ifpga/base/opae_intel_max10.c | 8 +- drivers/vdpa/mlx5/mlx5_vdpa.h | 2 +- drivers/vdpa/mlx5/mlx5_vdpa_cthread.c | 2 +- drivers/vdpa/sfc/sfc_vdpa.c | 2 +- drivers/vdpa/sfc/sfc_vdpa.h | 2 +- examples/bbdev_app/main.c | 2 +- examples/bond/main.c | 2 +- examples/cmdline/main.c | 2 +- examples/cmdline/parse_obj_list.h | 2 +- examples/flow_filtering/main.c | 2 +- examples/helloworld/main.c | 2 +- examples/ip_fragmentation/main.c | 2 +- examples/ip_reassembly/main.c | 2 +- examples/ipsec-secgw/ipsec-secgw.c | 2 +- examples/ipv4_multicast/main.c | 2 +- examples/l2fwd-crypto/main.c | 2 +- examples/l2fwd-event/l2fwd_common.h | 2 +- examples/l2fwd-keepalive/ka-agent/main.c | 2 +- examples/l2fwd-keepalive/main.c | 2 +- examples/l2fwd-macsec/main.c | 2 +- examples/l2fwd/main.c | 2 +- examples/l3fwd-graph/main.c | 2 +- examples/l3fwd-power/main.c | 2 +- examples/l3fwd/l3fwd_em.c | 2 +- examples/l3fwd/l3fwd_lpm.c | 2 +- examples/l3fwd/main.c | 2 +- examples/link_status_interrupt/main.c | 2 +- .../client_server_mp/mp_client/client.c | 2 +- .../client_server_mp/mp_server/init.c | 2 +- .../client_server_mp/mp_server/main.c | 2 +- examples/multi_process/hotplug_mp/main.c | 2 +- examples/multi_process/simple_mp/main.c | 2 +- examples/multi_process/symmetric_mp/main.c | 2 +- examples/server_node_efd/efd_node/node.c | 2 +- examples/server_node_efd/efd_server/init.c | 2 +- examples/server_node_efd/efd_server/main.c | 2 +- examples/service_cores/main.c | 2 +- examples/timer/main.c | 2 +- examples/vhost/main.h | 2 +- examples/vm_power_manager/channel_manager.c | 11 +- examples/vm_power_manager/channel_monitor.c | 2 +- examples/vm_power_manager/main.c | 2 +- examples/vmdq/main.c | 2 +- examples/vmdq_dcb/main.c | 2 +- lib/acl/rte_acl_osdep.h | 2 +- lib/bbdev/rte_bbdev.c | 2 +- lib/bbdev/rte_bbdev.h | 2 +- lib/bpf/bpf_load_elf.c | 2 +- lib/bpf/bpf_pkt.c | 2 +- lib/bpf/bpf_validate_debug.c | 9 +- lib/cryptodev/cryptodev_pmd.c | 2 +- lib/cryptodev/cryptodev_pmd.h | 2 +- lib/cryptodev/rte_cryptodev.c | 2 +- lib/cryptodev/rte_cryptodev.h | 2 +- lib/distributor/rte_distributor.c | 2 +- lib/distributor/rte_distributor_single.c | 2 +- lib/eal/common/eal_common_bus.c | 2 +- lib/eal/common/eal_common_class.c | 2 +- lib/eal/common/eal_common_dev.c | 2 +- lib/eal/common/eal_common_devargs.c | 6 +- lib/eal/common/eal_common_options.c | 5 +- lib/eal/common/eal_common_proc.c | 2 +- lib/eal/common/eal_common_tailqs.c | 2 +- lib/eal/common/eal_common_trace.c | 2 +- lib/eal/common/eal_private.h | 2 +- lib/eal/common/malloc_elem.c | 2 +- lib/eal/common/malloc_heap.c | 2 +- lib/eal/common/malloc_heap.h | 2 +- lib/eal/common/rte_malloc.c | 2 +- lib/eal/freebsd/eal.c | 2 +- lib/eal/freebsd/eal_interrupts.c | 2 +- lib/eal/freebsd/eal_thread.c | 2 +- lib/eal/freebsd/include/rte_os.h | 20 +- lib/eal/include/bus_driver.h | 10 +- lib/eal/include/dev_driver.h | 4 +- lib/eal/include/meson.build | 1 + lib/eal/include/rte_class.h | 4 +- lib/eal/include/rte_devargs.h | 2 +- .../sys/queue.h => include/rte_queue.h} | 235 ++++-------------- lib/eal/include/rte_tailq.h | 27 +- lib/eal/linux/eal_alarm.c | 2 +- lib/eal/linux/eal_interrupts.c | 2 +- lib/eal/linux/include/rte_os.h | 20 +- lib/eal/windows/eal_alarm.c | 2 +- lib/eal/windows/include/rte_os.h | 53 ++-- lib/efd/rte_efd.c | 4 +- lib/ethdev/ethdev_private.h | 2 +- lib/ethdev/rte_ethdev.c | 2 +- lib/ethdev/rte_ethdev_core.h | 2 +- lib/eventdev/rte_event_vector_adapter.c | 4 +- lib/fib/rte_fib.c | 2 +- lib/fib/rte_fib6.c | 2 +- lib/gpudev/gpudev.c | 7 +- lib/gpudev/gpudev_driver.h | 2 +- lib/graph/graph_private.h | 2 +- lib/hash/rte_cuckoo_hash.c | 2 +- lib/hash/rte_fbk_hash.c | 2 +- lib/hash/rte_thash.c | 2 +- lib/ip_frag/ip_frag_common.h | 3 +- lib/ip_frag/ip_reassembly.h | 4 +- lib/ip_frag/rte_ip_frag_common.c | 2 +- lib/log/log.c | 2 +- lib/lpm/rte_lpm.c | 2 +- lib/lpm/rte_lpm6.c | 2 +- lib/mbuf/rte_mbuf_dyn.c | 2 +- lib/mempool/rte_mempool.c | 6 +- lib/mempool/rte_mempool.h | 8 +- lib/pipeline/rte_swx_ctl.c | 2 +- lib/pipeline/rte_swx_pipeline_internal.h | 2 +- lib/pmu/pmu.c | 5 +- lib/power/power_cpufreq.h | 2 +- lib/power/power_uncore_ops.h | 2 +- lib/power/rte_power_cpufreq.c | 8 +- lib/power/rte_power_uncore.c | 7 +- lib/reorder/rte_reorder.c | 2 +- lib/rib/rte_rib.c | 2 +- lib/rib/rte_rib6.c | 2 +- lib/ring/rte_ring.c | 2 +- lib/stack/rte_stack.c | 2 +- lib/table/rte_swx_table.h | 4 +- lib/table/rte_swx_table_selector.h | 4 +- lib/vhost/fd_man.h | 2 +- lib/vhost/iotlb.c | 16 +- lib/vhost/socket.c | 2 +- lib/vhost/vdpa.c | 5 +- lib/vhost/vdpa_driver.h | 2 +- lib/vhost/vhost.h | 2 +- 352 files changed, 615 insertions(+), 783 deletions(-) rename lib/eal/{windows/include/sys/queue.h => include/rte_queue.h} (76%) -- 2.53.0