History log of /dpdk/app/ (Results 1 – 25 of 3969)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
21cab84f24-Jan-2025 Tyler Retzlaff <roretzla@linux.microsoft.com>

bitops: find first set bit

Provide toolchain abstraction for __builtin_ffs{,l,ll} gcc built-in
intrinsics.
Add associated unit tests.

Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
Si

bitops: find first set bit

Provide toolchain abstraction for __builtin_ffs{,l,ll} gcc built-in
intrinsics.
Add associated unit tests.

Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com>

show more ...


/dpdk/.mailmap
test/test_bitcount.c
/dpdk/doc/guides/nics/af_packet.rst
/dpdk/doc/guides/nics/features/axgbe.ini
/dpdk/doc/guides/nics/features/ngbe_vf.ini
/dpdk/doc/guides/nics/ngbe.rst
/dpdk/doc/guides/rel_notes/release_25_03.rst
/dpdk/drivers/common/cnxk/roc_bphy_cgx.c
/dpdk/drivers/common/idpf/idpf_common_rxtx_avx512.c
/dpdk/drivers/net/af_packet/rte_eth_af_packet.c
/dpdk/drivers/net/axgbe/axgbe_common.h
/dpdk/drivers/net/axgbe/axgbe_dev.c
/dpdk/drivers/net/axgbe/axgbe_ethdev.c
/dpdk/drivers/net/axgbe/axgbe_ethdev.h
/dpdk/drivers/net/axgbe/axgbe_rxtx.c
/dpdk/drivers/net/axgbe/axgbe_rxtx.h
/dpdk/drivers/net/bnx2x/ecore_reg.h
/dpdk/drivers/net/bnxt/bnxt_ethdev.c
/dpdk/drivers/net/bnxt/bnxt_txq.c
/dpdk/drivers/net/bnxt/tf_ulp/bnxt_ulp.c
/dpdk/drivers/net/bnxt/tf_ulp/bnxt_ulp_tf.c
/dpdk/drivers/net/bnxt/tf_ulp/bnxt_ulp_tfc.c
/dpdk/drivers/net/bnxt/tf_ulp/ulp_fc_mgr.c
/dpdk/drivers/net/bnxt/tf_ulp/ulp_ha_mgr.c
/dpdk/drivers/net/bonding/rte_eth_bond_8023ad.h
/dpdk/drivers/net/bonding/rte_eth_bond_pmd.c
/dpdk/drivers/net/cpfl/cpfl_rxtx_vec_common.h
/dpdk/drivers/net/dpaa2/dpaa2_rxtx.c
/dpdk/drivers/net/failsafe/failsafe.c
/dpdk/drivers/net/fm10k/fm10k_rxtx_vec.c
/dpdk/drivers/net/hinic/base/hinic_compat.h
/dpdk/drivers/net/hns3/hns3_dump.c
/dpdk/drivers/net/hns3/hns3_intr.c
/dpdk/drivers/net/hns3/hns3_intr.h
/dpdk/drivers/net/hns3/hns3_rxtx.c
/dpdk/drivers/net/hns3/hns3_rxtx_vec_neon.h
/dpdk/drivers/net/i40e/i40e_recycle_mbufs_vec_common.c
/dpdk/drivers/net/i40e/i40e_rxtx_common_avx.h
/dpdk/drivers/net/i40e/i40e_rxtx_vec_altivec.c
/dpdk/drivers/net/i40e/i40e_rxtx_vec_avx2.c
/dpdk/drivers/net/i40e/i40e_rxtx_vec_avx512.c
/dpdk/drivers/net/i40e/i40e_rxtx_vec_common.h
/dpdk/drivers/net/i40e/i40e_rxtx_vec_neon.c
/dpdk/drivers/net/i40e/i40e_rxtx_vec_sse.c
/dpdk/drivers/net/iavf/iavf_rxtx_vec_avx2.c
/dpdk/drivers/net/iavf/iavf_rxtx_vec_avx512.c
/dpdk/drivers/net/iavf/iavf_rxtx_vec_common.h
/dpdk/drivers/net/iavf/iavf_rxtx_vec_neon.c
/dpdk/drivers/net/iavf/iavf_rxtx_vec_sse.c
/dpdk/drivers/net/ice/ice_rxtx_common_avx.h
/dpdk/drivers/net/ice/ice_rxtx_vec_avx2.c
/dpdk/drivers/net/ice/ice_rxtx_vec_avx512.c
/dpdk/drivers/net/ice/ice_rxtx_vec_common.h
/dpdk/drivers/net/ice/ice_rxtx_vec_sse.c
/dpdk/drivers/net/idpf/idpf_rxtx_vec_common.h
/dpdk/drivers/net/ixgbe/ixgbe_recycle_mbufs_vec_common.c
/dpdk/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c
/dpdk/drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c
/dpdk/drivers/net/mlx5/mlx5_flow.c
/dpdk/drivers/net/mlx5/mlx5_flow.h
/dpdk/drivers/net/mlx5/mlx5_flow_hw.c
/dpdk/drivers/net/mlx5/mlx5_rxtx_vec.c
/dpdk/drivers/net/mlx5/mlx5_rxtx_vec_altivec.h
/dpdk/drivers/net/mlx5/mlx5_rxtx_vec_neon.h
/dpdk/drivers/net/mlx5/mlx5_rxtx_vec_sse.h
/dpdk/drivers/net/ngbe/base/meson.build
/dpdk/drivers/net/ngbe/base/ngbe.h
/dpdk/drivers/net/ngbe/base/ngbe_hw.c
/dpdk/drivers/net/ngbe/base/ngbe_mbx.c
/dpdk/drivers/net/ngbe/base/ngbe_mbx.h
/dpdk/drivers/net/ngbe/base/ngbe_type.h
/dpdk/drivers/net/ngbe/base/ngbe_vf.c
/dpdk/drivers/net/ngbe/base/ngbe_vf.h
/dpdk/drivers/net/ngbe/meson.build
/dpdk/drivers/net/ngbe/ngbe_ethdev.h
/dpdk/drivers/net/ngbe/ngbe_ethdev_vf.c
/dpdk/drivers/net/ngbe/ngbe_rxtx.c
/dpdk/drivers/net/ngbe/ngbe_rxtx_vec_neon.c
/dpdk/drivers/net/sfc/sfc_ethdev.c
/dpdk/drivers/net/sfc/sfc_repr.c
/dpdk/drivers/net/tap/tap_flow.c
/dpdk/drivers/net/txgbe/txgbe_rxtx_vec_neon.c
/dpdk/drivers/net/virtio/virtio_rxtx_simple.c
/dpdk/drivers/raw/ifpga/base/opae_intel_max10.c
/dpdk/drivers/raw/ifpga/base/opae_spi_transaction.c
/dpdk/examples/flow_filtering/snippets/snippet_match_ipv4.c
/dpdk/lib/eal/include/rte_bitops.h
/dpdk/lib/eal/include/rte_common.h
/dpdk/lib/eal/x86/include/rte_io.h
/dpdk/lib/vhost/socket.c
eb29e62513-Dec-2024 Stephen Hemminger <stephen@networkplumber.org>

test/bonding: fix active backup receive test

The test had incorrect assumptions about how active backup
should work. When in active backup mode, the secondary (not primary)
ports should be ignored.

test/bonding: fix active backup receive test

The test had incorrect assumptions about how active backup
should work. When in active backup mode, the secondary (not primary)
ports should be ignored. The test was always broken since initially
written but earlier bug was masking the part of the test which
tested non-primary ports.

Bugzilla ID: 1589
Fixes: 112ce3917674 ("test/bonding: fix loop on members")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Huisong Li <lihuisong@huawei.com>
Tested-by: Huisong Li <lihuisong@huawei.com>

show more ...

06e2856606-Dec-2024 Konstantin Ananyev <konstantin.ananyev@huawei.com>

test: add stress test suite

Add a new test suite which purpose is to run 'stress' tests:
main purpose is put a pressure to dpdk sync algorithms
to flag their misbehaving/slowdown/etc.
Right now it c

test: add stress test suite

Add a new test suite which purpose is to run 'stress' tests:
main purpose is put a pressure to dpdk sync algorithms
to flag their misbehaving/slowdown/etc.
Right now it consists from just 2 test-cases:
meson test --suite stress-tests --list
DPDK:stress-tests / ring_stress_autotest
DPDK:stress-tests / soring_stress_autotest

These tests are quite time consuming (~15 mins each),
that's another reason to put them into a separate test-suite.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@huawei.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>

show more ...

70581c3506-Dec-2024 Konstantin Ananyev <konstantin.ananyev@huawei.com>

test/ring: add unit tests for soring API

Add both functional and stess test-cases for soring API.
Stress test serves as both functional and performance test of soring
enqueue/dequeue/acquire/release

test/ring: add unit tests for soring API

Add both functional and stess test-cases for soring API.
Stress test serves as both functional and performance test of soring
enqueue/dequeue/acquire/release operations under high contention
(for both over committed and non-over committed scenarios).

Signed-off-by: Eimear Morrissey <eimear.morrissey@huawei.com>
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@huawei.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>

show more ...

700989f506-Dec-2024 Eimear Morrissey <eimear.morrissey@huawei.com>

ring: make dump function more verbose

The current rte_ring_dump function uses the generic rte_ring_headtail
structure to access head/tail positions. This is incorrect for the RTS
case where the head

ring: make dump function more verbose

The current rte_ring_dump function uses the generic rte_ring_headtail
structure to access head/tail positions. This is incorrect for the RTS
case where the head is stored in a different offset in the union of
structs. Switching to a separate function for each sync type allows
to dump correct head/tail values and extra metadata.

Signed-off-by: Eimear Morrissey <eimear.morrissey@huawei.com>
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@huawei.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>

show more ...

2cf3a8d306-Dec-2024 Konstantin Ananyev <konstantin.ananyev@huawei.com>

test/ring: fix init with custom number of lcores

ring_stress_autotest fails to initialize the ring when RTE_MAX_LCORE value
is not a number of 2.
There is a flaw in calculation required number of el

test/ring: fix init with custom number of lcores

ring_stress_autotest fails to initialize the ring when RTE_MAX_LCORE value
is not a number of 2.
There is a flaw in calculation required number of elements in the ring.
Fix it by aligning number of elements to next power of 2.

Fixes: bf28df24e915 ("test/ring: add contention stress test")
Cc: stable@dpdk.org

Reported-by: Phanendra Vukkisala <pvukkisala@marvell.com>
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@huawei.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>

show more ...

b5662e6d10-Jan-2025 Andre Muezerie <andremue@linux.microsoft.com>

test: replace packed attributes

MSVC struct packing is not compatible with GCC. Replace macro
__rte_packed with __rte_packed_begin to push existing pack value
and set packing to 1-byte and macro __r

test: replace packed attributes

MSVC struct packing is not compatible with GCC. Replace macro
__rte_packed with __rte_packed_begin to push existing pack value
and set packing to 1-byte and macro __rte_packed_end to restore
the pack value prior to the push.

Macro __rte_packed_end is deliberately utilized to trigger a
MSVC compiler warning if no existing packing has been pushed allowing
easy identification of locations where the __rte_packed_begin is
missing.

Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com>
Reviewed-by: Tyler Retzlaff <roretzla@linux.microsoft.com>

show more ...

ae2e4c4810-Jan-2025 Andre Muezerie <andremue@linux.microsoft.com>

app/testpmd: remove some packed attributes

Removed __rte_packed attribute from structure that is naturally
packed already.

Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com>


test-pmd/csumonly.c
/dpdk/devtools/checkpatches.sh
/dpdk/doc/guides/nics/ark.rst
/dpdk/doc/guides/prog_guide/packet_classif_access_ctrl.rst
/dpdk/drivers/baseband/acc/acc_common.h
/dpdk/drivers/baseband/fpga_5gnr_fec/agx100_pmd.h
/dpdk/drivers/baseband/fpga_5gnr_fec/fpga_5gnr_fec.h
/dpdk/drivers/baseband/fpga_5gnr_fec/vc_5gnr_pmd.h
/dpdk/drivers/baseband/fpga_lte_fec/fpga_lte_fec.c
/dpdk/drivers/baseband/la12xx/bbdev_la12xx_ipc.h
/dpdk/drivers/bus/cdx/cdx_logs.h
/dpdk/drivers/bus/dpaa/include/fman.h
/dpdk/drivers/bus/dpaa/include/fsl_bman.h
/dpdk/drivers/bus/dpaa/include/fsl_fman.h
/dpdk/drivers/bus/dpaa/include/fsl_qman.h
/dpdk/drivers/bus/dpaa/rte_dpaa_logs.h
/dpdk/drivers/bus/fslmc/fslmc_logs.h
/dpdk/drivers/bus/fslmc/qbman/include/compat.h
/dpdk/drivers/bus/ifpga/bus_ifpga_driver.h
/dpdk/drivers/bus/ifpga/ifpga_logs.h
/dpdk/drivers/bus/uacce/uacce.c
/dpdk/drivers/bus/vmbus/rte_vmbus_reg.h
/dpdk/drivers/common/cnxk/hw/sdp.h
/dpdk/drivers/common/cnxk/roc_npc.h
/dpdk/drivers/common/cnxk/roc_npc_mcam_dump.c
/dpdk/drivers/common/cnxk/roc_platform.h
/dpdk/drivers/common/dpaax/compat.h
/dpdk/drivers/common/dpaax/dpaax_logs.h
/dpdk/drivers/common/iavf/iavf_osdep.h
/dpdk/drivers/common/iavf/virtchnl_inline_ipsec.h
/dpdk/drivers/common/idpf/base/idpf_osdep.h
/dpdk/drivers/common/mlx5/mlx5_common_mr.h
/dpdk/drivers/common/mlx5/mlx5_common_utils.h
/dpdk/drivers/common/mlx5/mlx5_prm.h
/dpdk/drivers/common/qat/qat_adf/icp_qat_fw_la.h
/dpdk/drivers/common/qat/qat_common.h
/dpdk/drivers/compress/octeontx/otx_zip.h
/dpdk/drivers/compress/qat/qat_comp.h
/dpdk/drivers/compress/zlib/zlib_pmd_private.h
/dpdk/drivers/crypto/caam_jr/caam_jr.c
/dpdk/drivers/crypto/caam_jr/caam_jr_desc.h
/dpdk/drivers/crypto/caam_jr/caam_jr_hw_specific.h
/dpdk/drivers/crypto/caam_jr/caam_jr_log.h
/dpdk/drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h
/dpdk/drivers/crypto/dpaa_sec/dpaa_sec.h
/dpdk/drivers/crypto/dpaa_sec/dpaa_sec_log.h
/dpdk/drivers/crypto/ionic/ionic_crypto_if.h
/dpdk/drivers/crypto/mlx5/mlx5_crypto.h
/dpdk/drivers/crypto/mlx5/mlx5_crypto_gcm.c
/dpdk/drivers/crypto/qat/qat_sym.h
/dpdk/drivers/crypto/qat/qat_sym_session.h
/dpdk/drivers/crypto/virtio/virtio_logs.h
/dpdk/drivers/dma/dpaa/dpaa_qdma.h
/dpdk/drivers/dma/dpaa/dpaa_qdma_logs.h
/dpdk/drivers/dma/dpaa2/dpaa2_qdma.h
/dpdk/drivers/dma/dpaa2/dpaa2_qdma_logs.h
/dpdk/drivers/dma/idxd/idxd_internal.h
/dpdk/drivers/dma/ioat/ioat_hw_defs.h
/dpdk/drivers/dma/ioat/ioat_internal.h
/dpdk/drivers/event/dlb2/dlb2_log.h
/dpdk/drivers/event/dlb2/pf/base/dlb2_osdep.h
/dpdk/drivers/event/dpaa/dpaa_eventdev.h
/dpdk/drivers/event/dpaa2/dpaa2_eventdev_logs.h
/dpdk/drivers/event/dsw/dsw_evdev.h
/dpdk/drivers/event/octeontx/timvf_evdev.c
/dpdk/drivers/event/octeontx/timvf_evdev.h
/dpdk/drivers/event/sw/sw_evdev_log.h
/dpdk/drivers/mempool/dpaa/dpaa_mempool.h
/dpdk/drivers/mempool/dpaa2/dpaa2_hw_mempool_logs.h
/dpdk/drivers/mempool/octeontx/octeontx_fpavf.c
/dpdk/drivers/net/ark/ark_ddm.h
/dpdk/drivers/net/ark/ark_logs.h
/dpdk/drivers/net/ark/ark_pktchkr.h
/dpdk/drivers/net/ark/ark_pktdir.h
/dpdk/drivers/net/ark/ark_pktgen.h
/dpdk/drivers/net/ark/ark_udm.h
/dpdk/drivers/net/atlantic/hw_atl/hw_atl_utils.h
/dpdk/drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c
/dpdk/drivers/net/avp/rte_avp_common.h
/dpdk/drivers/net/bnxt/bnxt.h
/dpdk/drivers/net/bnxt/hsi_struct_def_dpdk.h
/dpdk/drivers/net/bnxt/tf_core/cfa_tcam_mgr.h
/dpdk/drivers/net/bnxt/tf_core/tf_resources.h
/dpdk/drivers/net/bnxt/tf_core/tfp.h
/dpdk/drivers/net/bnxt/tf_core/v3/tfc_mpc_table.c
/dpdk/drivers/net/bnxt/tf_ulp/bnxt_tf_common.h
/dpdk/drivers/net/bonding/rte_eth_bond_8023ad.h
/dpdk/drivers/net/cnxk/cn10k_rxtx.h
/dpdk/drivers/net/cnxk/cn20k_rxtx.h
/dpdk/drivers/net/cnxk/cn9k_ethdev.h
/dpdk/drivers/net/cnxk/cnxk_rep_msg.h
/dpdk/drivers/net/dpaa/dpaa_ethdev.h
/dpdk/drivers/net/dpaa/dpaa_rxtx.h
/dpdk/drivers/net/dpaa/fmlib/fm_ext.h
/dpdk/drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h
/dpdk/drivers/net/dpaa2/dpaa2_pmd_logs.h
/dpdk/drivers/net/dpaa2/dpaa2_recycle.c
/dpdk/drivers/net/e1000/base/e1000_osdep.h
/dpdk/drivers/net/ena/base/ena_plat_dpdk.h
/dpdk/drivers/net/enetc/enetc_logs.h
/dpdk/drivers/net/enetfec/enet_pmd_logs.h
/dpdk/drivers/net/enic/base/vnic_devcmd.h
/dpdk/drivers/net/enic/base/vnic_flowman.h
/dpdk/drivers/net/enic/enic_compat.h
/dpdk/drivers/net/fm10k/base/fm10k_osdep.h
/dpdk/drivers/net/gve/base/gve_osdep.h
/dpdk/drivers/net/hns3/hns3_logs.h
/dpdk/drivers/net/hns3/hns3_mbx.h
/dpdk/drivers/net/hns3/hns3_rxtx.h
/dpdk/drivers/net/i40e/base/i40e_osdep.h
/dpdk/drivers/net/iavf/iavf_ipsec_crypto.h
/dpdk/drivers/net/iavf/iavf_rxtx.c
/dpdk/drivers/net/ice/base/ice_osdep.h
/dpdk/drivers/net/igc/base/igc_osdep.h
/dpdk/drivers/net/ionic/ionic_if.h
/dpdk/drivers/net/ipn3ke/ipn3ke_logs.h
/dpdk/drivers/net/ixgbe/base/ixgbe_osdep.h
/dpdk/drivers/net/memif/memif.h
/dpdk/drivers/net/mlx4/mlx4_mr.h
/dpdk/drivers/net/mlx5/hws/mlx5dr.h
/dpdk/drivers/net/mlx5/mlx5.h
/dpdk/drivers/net/mlx5/mlx5_flow.h
/dpdk/drivers/net/mlx5/mlx5_hws_cnt.h
/dpdk/drivers/net/mlx5/mlx5_utils.h
/dpdk/drivers/net/netvsc/hn_nvs.h
/dpdk/drivers/net/netvsc/ndis.h
/dpdk/drivers/net/nfp/flower/nfp_flower_cmsg.h
/dpdk/drivers/net/nfp/flower/nfp_flower_flow.h
/dpdk/drivers/net/nfp/nfd3/nfp_nfd3.h
/dpdk/drivers/net/nfp/nfp_rxtx.h
/dpdk/drivers/net/nfp/nfpcore/nfp_nsp.c
/dpdk/drivers/net/ngbe/base/ngbe_osdep.h
/dpdk/drivers/net/ngbe/ngbe_logs.h
/dpdk/drivers/net/ntnic/dbsconfig/ntnic_dbsconfig.c
/dpdk/drivers/net/octeon_ep/otx_ep_mbox.h
/dpdk/drivers/net/octeontx/base/octeontx_pki_var.h
/dpdk/drivers/net/pfe/pfe_hif.h
/dpdk/drivers/net/pfe/pfe_logs.h
/dpdk/drivers/net/qede/qede_ethdev.h
/dpdk/drivers/net/qede/qede_logs.h
/dpdk/drivers/net/sfc/sfc_debug.h
/dpdk/drivers/net/txgbe/base/txgbe_osdep.h
/dpdk/drivers/net/txgbe/txgbe_logs.h
/dpdk/drivers/net/virtio/virtio.h
/dpdk/drivers/net/virtio/virtio_cvq.h
/dpdk/drivers/net/virtio/virtio_user/vhost_user.c
/dpdk/drivers/net/zxdh/zxdh_common.c
/dpdk/drivers/net/zxdh/zxdh_msg.h
/dpdk/drivers/net/zxdh/zxdh_pci.h
/dpdk/drivers/net/zxdh/zxdh_queue.h
/dpdk/drivers/net/zxdh/zxdh_rxtx.h
/dpdk/drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h
/dpdk/drivers/raw/ifpga/afu_pmd_n3000.h
/dpdk/drivers/raw/ifpga/base/opae_hw_api.h
/dpdk/drivers/raw/ifpga/base/opae_osdep.h
/dpdk/drivers/raw/ifpga/base/osdep_rte/osdep_generic.h
/dpdk/drivers/raw/ifpga/ifpga_rawdev.h
/dpdk/drivers/raw/skeleton/skeleton_rawdev.h
/dpdk/drivers/raw/skeleton/skeleton_rawdev_test.c
/dpdk/drivers/regex/cn9k/cn9k_regexdev.c
/dpdk/drivers/regex/mlx5/mlx5_rxp.h
/dpdk/drivers/vdpa/ifc/base/ifcvf.h
/dpdk/drivers/vdpa/ifc/base/ifcvf_osdep.h
/dpdk/drivers/vdpa/mlx5/mlx5_vdpa.h
/dpdk/lib/eal/common/eal_private.h
/dpdk/lib/eal/include/rte_common.h
/dpdk/lib/eal/include/rte_memory.h
/dpdk/lib/eal/include/rte_memzone.h
/dpdk/lib/eal/include/rte_trace_point.h
/dpdk/lib/eal/x86/include/rte_memcpy.h
/dpdk/lib/ipsec/crypto.h
/dpdk/lib/net/rte_arp.h
/dpdk/lib/net/rte_dtls.h
/dpdk/lib/net/rte_esp.h
/dpdk/lib/net/rte_geneve.h
/dpdk/lib/net/rte_gre.h
/dpdk/lib/net/rte_gtp.h
/dpdk/lib/net/rte_ib.h
/dpdk/lib/net/rte_icmp.h
/dpdk/lib/net/rte_ip4.h
/dpdk/lib/net/rte_ip6.h
/dpdk/lib/net/rte_l2tpv2.h
/dpdk/lib/net/rte_macsec.h
/dpdk/lib/net/rte_mpls.h
/dpdk/lib/net/rte_pdcp_hdr.h
/dpdk/lib/net/rte_ppp.h
/dpdk/lib/net/rte_sctp.h
/dpdk/lib/net/rte_tcp.h
/dpdk/lib/net/rte_tls.h
/dpdk/lib/net/rte_udp.h
/dpdk/lib/net/rte_vxlan.h
/dpdk/lib/pipeline/rte_table_action.c
/dpdk/lib/vhost/vhost_user.h
f7c9651c11-Dec-2024 Andre Muezerie <andremue@linux.microsoft.com>

app: use portable variadic macros

Many places are using a GCC extension related to variadic macros,
where a name prepends the ellipsis. This results in a warning like
the one below when compiling th

app: use portable variadic macros

Many places are using a GCC extension related to variadic macros,
where a name prepends the ellipsis. This results in a warning like
the one below when compiling the code with MSVC:

app\test-pmd\testpmd.h(1314): error C2608:
invalid token '...' in macro parameter list

Variadic macros became a standard part of the C language with C99.
GCC, Clang and MSVC handle them properly.

The fix is to remove the prefix name (args... becomes ...) and use
__VA_ARGS__.

Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com>

show more ...


/dpdk/.github/workflows/build.yml
/dpdk/.mailmap
/dpdk/ABI_VERSION
/dpdk/MAINTAINERS
/dpdk/VERSION
test-acl/main.c
test-eventdev/evt_common.h
test-mldev/ml_common.h
test-pmd/testpmd.h
/dpdk/buildtools/call-sphinx-build.py
/dpdk/devtools/build-dict.sh
/dpdk/devtools/git-log-fixes.sh
/dpdk/doc/api/meson.build
/dpdk/doc/guides/contributing/patches.rst
/dpdk/doc/guides/faq/faq.rst
/dpdk/doc/guides/howto/index.rst
/dpdk/doc/guides/howto/security.rst
/dpdk/doc/guides/nics/features.rst
/dpdk/doc/guides/nics/mlx5.rst
/dpdk/doc/guides/prog_guide/cryptodev_lib.rst
/dpdk/doc/guides/prog_guide/rte_security.rst
/dpdk/doc/guides/rel_notes/index.rst
/dpdk/doc/guides/rel_notes/release_24_11.rst
/dpdk/doc/guides/rel_notes/release_25_03.rst
/dpdk/doc/guides/sample_app_ug/cmd_line.rst
/dpdk/doc/guides/sample_app_ug/dma.rst
/dpdk/doc/guides/sample_app_ug/ethtool.rst
/dpdk/doc/guides/sample_app_ug/flow_filtering.rst
/dpdk/doc/guides/sample_app_ug/hello_world.rst
/dpdk/doc/guides/sample_app_ug/intro.rst
/dpdk/doc/guides/sample_app_ug/ip_frag.rst
/dpdk/doc/guides/sample_app_ug/ip_reassembly.rst
/dpdk/doc/guides/sample_app_ug/ipv4_multicast.rst
/dpdk/doc/guides/sample_app_ug/keep_alive.rst
/dpdk/doc/guides/sample_app_ug/l2_forward_cat.rst
/dpdk/doc/guides/sample_app_ug/l2_forward_crypto.rst
/dpdk/doc/guides/sample_app_ug/l2_forward_event.rst
/dpdk/doc/guides/sample_app_ug/l2_forward_job_stats.rst
/dpdk/doc/guides/sample_app_ug/l2_forward_macsec.rst
/dpdk/doc/guides/sample_app_ug/l2_forward_real_virtual.rst
/dpdk/doc/guides/sample_app_ug/l3_forward.rst
/dpdk/doc/guides/sample_app_ug/l3_forward_graph.rst
/dpdk/doc/guides/sample_app_ug/l3_forward_power_man.rst
/dpdk/doc/guides/sample_app_ug/link_status_intr.rst
/dpdk/doc/guides/sample_app_ug/multi_process.rst
/dpdk/doc/guides/sample_app_ug/ptpclient.rst
/dpdk/doc/guides/sample_app_ug/rxtx_callbacks.rst
/dpdk/doc/guides/sample_app_ug/server_node_efd.rst
/dpdk/doc/guides/sample_app_ug/skeleton.rst
/dpdk/drivers/net/ixgbe/ixgbe_ethdev.c
/dpdk/drivers/net/octeon_ep/cnxk_ep_rx_neon.c
/dpdk/drivers/net/octeon_ep/cnxk_ep_rx_sse.c
/dpdk/dts/framework/testbed_model/node.py
/dpdk/examples/ptpclient/ptpclient.c
/dpdk/lib/log/log.c
/dpdk/lib/vhost/virtio_net.c
/dpdk/usertools/dpdk-devbind.py
f81cdd7205-Feb-2024 Stephen Hemminger <stephen@networkplumber.org>

test/hash: replace use of term segregate

Change comment based on inclusive naming recommendations.

https://inclusivenaming.org/word-lists/tier-3/

Signed-off-by: Stephen Hemminger <stephen@networkp

test/hash: replace use of term segregate

Change comment based on inclusive naming recommendations.

https://inclusivenaming.org/word-lists/tier-3/

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>

show more ...

bccabd1505-Feb-2024 Stephen Hemminger <stephen@networkplumber.org>

test/red: remove use of word master

No need to use term master here.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>

554e802e20-Nov-2024 Stephen Hemminger <stephen@networkplumber.org>

test/cfgfile: add check for file removal

The test makes temporary files for parsing and then cleans up.
It was not checking the return value from the remove step
which makes Coverity unhappy.

Cover

test/cfgfile: add check for file removal

The test makes temporary files for parsing and then cleans up.
It was not checking the return value from the remove step
which makes Coverity unhappy.

Coverity issue: 451207, 451209, 451212, 451213
Coverity issue: 451215, 451217, 451222, 451225
Fixes: be22019a58c4 ("test: restore cfgfile tests")

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

show more ...

f86085ca21-Nov-2024 Stephen Hemminger <stephen@networkplumber.org>

app/testpmd: avoid potential outside of array reference

The order of comparison is wrong, and potentially allows
referencing past the array.

Link: https://pvs-studio.com/en/blog/posts/cpp/1179/
Fix

app/testpmd: avoid potential outside of array reference

The order of comparison is wrong, and potentially allows
referencing past the array.

Link: https://pvs-studio.com/en/blog/posts/cpp/1179/
Fixes: 3e3edab530a1 ("ethdev: add flow quota")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>

show more ...

4c2e746821-Nov-2024 Stephen Hemminger <stephen@networkplumber.org>

app/testpmd: remove redundant policy action condition

The loop over policy actions will always exit when it sees
the flow end action, so the next check is redundant.

Link: https://pvs-studio.com/en

app/testpmd: remove redundant policy action condition

The loop over policy actions will always exit when it sees
the flow end action, so the next check is redundant.

Link: https://pvs-studio.com/en/blog/posts/cpp/1179/
Fixes: f29fa2c59b85 ("app/testpmd: support policy actions per color")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>

show more ...

357f915e21-Nov-2024 Stephen Hemminger <stephen@networkplumber.org>

test/eal: fix lcore check

The expression for checking which lcore is enabled for 0-7
was wrong (missing case for 6).

Link: https://pvs-studio.com/en/blog/posts/cpp/1179/
Fixes: b0209034f2bb ("test/

test/eal: fix lcore check

The expression for checking which lcore is enabled for 0-7
was wrong (missing case for 6).

Link: https://pvs-studio.com/en/blog/posts/cpp/1179/
Fixes: b0209034f2bb ("test/eal: check number of cores before running subtests")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Aaron Conole <aconole@redhat.com>

show more ...

b3e64fe521-Nov-2024 Stephen Hemminger <stephen@networkplumber.org>

test/eal: fix loop coverage for alignment macros

The test loop was much shorter than desired because when
MAX_NUM is defined with out paren's the divide operator /
takes precedence over shift.

But

test/eal: fix loop coverage for alignment macros

The test loop was much shorter than desired because when
MAX_NUM is defined with out paren's the divide operator /
takes precedence over shift.

But when MAX_NUM is fixed, some tests take too long
and have to be modified to avoid running over full N^2
space of 1<<20.

Note: this is a very old bug, goes back to 2013.

Link: https://pvs-studio.com/en/blog/posts/cpp/1179/
Fixes: 1fb8b07ee511 ("app: add some tests")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>

show more ...

c6f484ad21-Nov-2024 Stephen Hemminger <stephen@networkplumber.org>

test/crypto: fix TLS zero length record check

The code was duplicating the same condition three times?
Reading the commit message, the intention was:

Add unit tests to verify the zero len TLS r

test/crypto: fix TLS zero length record check

The code was duplicating the same condition three times?
Reading the commit message, the intention was:

Add unit tests to verify the zero len TLS records. Zero len packets are
allowed when content type is app data while zero packet length with
other content type (such as handshake) would result in an error.

Link: https://pvs-studio.com/en/blog/posts/cpp/1179/
Fixes: 79a58624369a ("test/security: verify zero length TLS records")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Anoob Joseph <anoobj@marvell.com>

show more ...

8c08b10d21-Nov-2024 Stephen Hemminger <stephen@networkplumber.org>

test/event: avoid duplicate initialization

The event_dev_config initialization had duplicate assignments
to the same element. Change to use structure initialization
so that compiler will catch this

test/event: avoid duplicate initialization

The event_dev_config initialization had duplicate assignments
to the same element. Change to use structure initialization
so that compiler will catch this type of bug.

Link: https://pvs-studio.com/en/blog/posts/cpp/1179/
Fixes: f8f9d233ea0e ("test/eventdev: add unit tests")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>

show more ...

0151b80721-Nov-2024 Stephen Hemminger <stephen@networkplumber.org>

test/security: fix IPv6 extension loop

The parenthesis were in the wrong place so that comparison
took precedence over assignment in handling IPv6 extension
headers. Break up the loop condition to

test/security: fix IPv6 extension loop

The parenthesis were in the wrong place so that comparison
took precedence over assignment in handling IPv6 extension
headers. Break up the loop condition to avoid the problem.

Link: https://pvs-studio.com/en/blog/posts/cpp/1179/
Fixes: 15ccc647526e ("test/security: test inline reassembly with multi-segment")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>

show more ...

f7f8563221-Nov-2024 Stephen Hemminger <stephen@networkplumber.org>

test/bonding: fix MAC address comparison

The first argument of 'memcmp' function was equal to the second argument.
Therefore ASSERT would always be true.

Link: https://pvs-studio.com/en/blog/posts/

test/bonding: fix MAC address comparison

The first argument of 'memcmp' function was equal to the second argument.
Therefore ASSERT would always be true.

Link: https://pvs-studio.com/en/blog/posts/cpp/1179/
Fixes: 92073ef961ee ("bond: unit tests")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>

show more ...

112ce39121-Nov-2024 Stephen Hemminger <stephen@networkplumber.org>

test/bonding: fix loop on members

Do not use same variable for outer and inner loop in bonding test.
Since the loop is just freeing the resulting burst use bulk free.

Link: https://pvs-studio.com/e

test/bonding: fix loop on members

Do not use same variable for outer and inner loop in bonding test.
Since the loop is just freeing the resulting burst use bulk free.

Link: https://pvs-studio.com/en/blog/posts/cpp/1179/
Fixes: 92073ef961ee ("bond: unit tests")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>

show more ...

34847a7320-Nov-2024 Min Zhou <zhoumin@loongson.cn>

app/testpmd: reuse RSS config when configuring DCB

In the testpmd command, we have to stop the port firstly before configuring
the DCB. However, some PMDs may execute a hardware reset during the por

app/testpmd: reuse RSS config when configuring DCB

In the testpmd command, we have to stop the port firstly before configuring
the DCB. However, some PMDs may execute a hardware reset during the port
stop, such as ixgbe. Some kind of reset operations of PMD could clear the
configurations of RSS in the hardware register. This would cause the loss
of RSS configurations that were set during the testpmd initialization. As
a result, I find that I cannot enable RSS and DCB at the same time in the
testpmd command when using Intel 82599 NIC.

The patch uses rss conf from software instead of reading from the hardware
register when configuring DCB.

Signed-off-by: Min Zhou <zhoumin@loongson.cn>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>

show more ...

e2bce04b15-Aug-2024 Alex Chapman <alex.chapman@arm.com>

app/testpmd: add L4 port to verbose output

To help distinguish packets we want to add more identifiable
information and print port number for all packets.
This will make packet metadata more uniform

app/testpmd: add L4 port to verbose output

To help distinguish packets we want to add more identifiable
information and print port number for all packets.
This will make packet metadata more uniform as previously it
only printed port number for encapsulated packets.

Bugzilla ID: 1517

Signed-off-by: Alex Chapman <alex.chapman@arm.com>
Reviewed-by: Luca Vizzarro <luca.vizzarro@arm.com>
Reviewed-by: Paul Szczepanek <paul.szczepanek@arm.com>

show more ...


/dpdk/.mailmap
/dpdk/MAINTAINERS
/dpdk/VERSION
test-pmd/util.c
/dpdk/buildtools/call-sphinx-build.py
/dpdk/doc/api/dts/framework.config.rst
/dpdk/doc/api/dts/meson.build
/dpdk/doc/api/meson.build
/dpdk/doc/guides/conf.py
/dpdk/doc/guides/freebsd_gsg/build_dpdk.rst
/dpdk/doc/guides/linux_gsg/build_sample_apps.rst
/dpdk/doc/guides/nics/mlx5.rst
/dpdk/doc/guides/prog_guide/ethdev/flow_offload.rst
/dpdk/doc/guides/rawdevs/gdtc.rst
/dpdk/doc/guides/rawdevs/index.rst
/dpdk/doc/guides/sample_app_ug/flow_filtering.rst
/dpdk/doc/guides/tools/dts.rst
/dpdk/drivers/net/bnxt/bnxt_rxr.h
/dpdk/drivers/net/mlx5/hws/mlx5dr_action.c
/dpdk/drivers/net/mlx5/mlx5_rx.h
/dpdk/drivers/net/mlx5/mlx5_rxq.c
/dpdk/drivers/raw/gdtc/gdtc_rawdev.c
/dpdk/drivers/raw/gdtc/gdtc_rawdev.h
/dpdk/drivers/raw/gdtc/meson.build
/dpdk/drivers/raw/meson.build
/dpdk/dts/conf.yaml
/dpdk/dts/framework/config/__init__.py
/dpdk/dts/framework/config/conf_yaml_schema.json
/dpdk/dts/framework/exception.py
/dpdk/dts/framework/logger.py
/dpdk/dts/framework/params/eal.py
/dpdk/dts/framework/params/types.py
/dpdk/dts/framework/remote_session/dpdk_shell.py
/dpdk/dts/framework/remote_session/remote_session.py
/dpdk/dts/framework/remote_session/ssh_session.py
/dpdk/dts/framework/remote_session/testpmd_shell.py
/dpdk/dts/framework/runner.py
/dpdk/dts/framework/settings.py
/dpdk/dts/framework/test_result.py
/dpdk/dts/framework/test_suite.py
/dpdk/dts/framework/testbed_model/capability.py
/dpdk/dts/framework/testbed_model/linux_session.py
/dpdk/dts/framework/testbed_model/node.py
/dpdk/dts/framework/testbed_model/os_session.py
/dpdk/dts/framework/testbed_model/port.py
/dpdk/dts/framework/testbed_model/posix_session.py
/dpdk/dts/framework/testbed_model/sut_node.py
/dpdk/dts/framework/testbed_model/topology.py
/dpdk/dts/framework/testbed_model/traffic_generator/__init__.py
/dpdk/dts/framework/testbed_model/traffic_generator/scapy.py
/dpdk/dts/framework/testbed_model/traffic_generator/traffic_generator.py
/dpdk/dts/framework/utils.py
/dpdk/dts/poetry.lock
/dpdk/dts/pyproject.toml
/dpdk/dts/tests/TestSuite_blocklist.py
/dpdk/dts/tests/TestSuite_checksum_offload.py
/dpdk/dts/tests/TestSuite_dynamic_queue_conf.py
/dpdk/dts/tests/TestSuite_l2fwd.py
/dpdk/dts/tests/TestSuite_mac_filter.py
/dpdk/dts/tests/TestSuite_smoke_tests.py
/dpdk/dts/tests/TestSuite_vlan.py
/dpdk/examples/flow_filtering/Makefile
/dpdk/examples/flow_filtering/common.h
/dpdk/examples/flow_filtering/flow_skeleton.c
/dpdk/examples/flow_filtering/main.c
/dpdk/examples/flow_filtering/meson.build
/dpdk/examples/flow_filtering/snippets/snippet_match_gre.c
/dpdk/examples/flow_filtering/snippets/snippet_match_gre.h
/dpdk/examples/flow_filtering/snippets/snippet_match_ipv4.c
/dpdk/examples/flow_filtering/snippets/snippet_match_ipv4.h
/dpdk/examples/flow_filtering/snippets/snippet_match_mpls.c
/dpdk/examples/flow_filtering/snippets/snippet_match_mpls.h
/dpdk/kernel/freebsd/contigmem/contigmem.c
/dpdk/lib/vhost/meson.build
/dpdk/lib/vhost/vduse.c
/dpdk/lib/vhost/vduse.h
/dpdk/lib/vhost/virtio_net.c
ff92d10a20-Mar-2024 Vipin Varghese <vipin.varghese@amd.com>

app/dma-perf: clarify incorrect NUMA config

In case incorrect NUMA configuration, the current commit shares
1) either `source or destination numa is greater`
2) instead of `actual NUMA` it is `act

app/dma-perf: clarify incorrect NUMA config

In case incorrect NUMA configuration, the current commit shares
1) either `source or destination numa is greater`
2) instead of `actual NUMA` it is `acture NUMA`
3) uses `printf` instead of PRINT_ERR

current patch changes the above to
1) identify if source or|and destination is incorrect
2) fix wording to incorrect
3) use PRINT_ERR macro

Signed-off-by: Vipin Varghese <vipin.varghese@amd.com>

show more ...

098f949f18-Nov-2024 Danylo Vodopianov <dvo-plv@napatech.com>

app/testpmd: fix aged flow destroy

port_flow_destroy() function never assumed that rule array can be freed
when it's executing, and port_flow_aged() just violated that assumption.

In case of flow a

app/testpmd: fix aged flow destroy

port_flow_destroy() function never assumed that rule array can be freed
when it's executing, and port_flow_aged() just violated that assumption.

In case of flow async create failure, it tries to do a cleanup, but it
wrongly removes a 1st flow (with id 0). pf->id is not set at this
moment and it always is 0, thus 1st flow is removed. A local copy of
flow->id must be used to call of port_flow_destroy() to avoid access
and processing of flow->id after the flow is removed.

Fixes: de956d5ecf08 ("app/testpmd: support age shared action context")
Cc: stable@dpdk.org

Signed-off-by: Danylo Vodopianov <dvo-plv@napatech.com>
Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>

show more ...

12345678910>>...159