|SUCCESS|dpdk|64f27886b8| intel-Functional

sys_stv at intel.com sys_stv at intel.com
Mon Nov 4 19:09:24 CET 2024


Test-Label: intel-Functional
Test-Status: SUCCESS
_Functional PASS_

DPDK git repo: dpdk
commit 64f27886b8bf127cd365a8a3ed5c05852a5ae81d
Author: David Marchand <david.marchand at redhat.com>
Date:   Sat Nov 2 10:38:16 2024 +0100

    eal/unix: optimize thread creation
    
    Setting the cpu affinity of the child thread from the parent thread is
    racy when using pthread_setaffinity_np, as the child thread may start
    running and initialize before affinity is set.
    
    On the other hand, setting the cpu affinity from the child thread itself
    may fail, so the parent thread waits for the child thread to report
    whether this call succeeded.
    
    This synchronisation point resulted in a significant slow down of
    rte_thread_create() (as seen in the lcores_autotest unit tests, in OBS
    for some ARM systems).
    
    Another option for setting cpu affinity is to use the not portable
    pthread_attr_setaffinity_np available in FreeBSD and glibc,
    but not available in musl.
    
    Fixes: b28c6196b132 ("eal/unix: fix thread creation")
    Cc: stable at dpdk.org
    
    Signed-off-by: David Marchand <david.marchand at redhat.com>
    Acked-by: Luca Boccassi <bluca at debian.org>
    Acked-by: Stephen Hemminger <stephen at networkplumber.org>
    Acked-by: Chengwen Feng <fengchengwen at huawei.com>

Smoke-Testing Summary : 31 Case Done, 31 Successful, 0 Failures      


OS : Ubuntu 22.04.2 LTS       
Kernel : 5.15.0-60-generic         
GCC : 11.3.0-1ubuntu1~22.04        
NIC : Ethernet Controller XL710 for 40GbE QSFP+         
Target : x86_64-native-linuxapp-gcc      

	Test result details:
	+-----------------+---------------------------------------------------+-------+
	| suite           | case                                              | status|
	+-----------------+---------------------------------------------------+-------+
	| checksum_offload| test_checksum_offload_with_vlan                   | passed|
	| checksum_offload| test_do_not_insert_checksum_on_the_transmit_packet| passed|
	| checksum_offload| test_hardware_checksum_check_ip_rx                | passed|
	| checksum_offload| test_hardware_checksum_check_ip_tx                | passed|
	| checksum_offload| test_hardware_checksum_check_l4_rx                | passed|
	| checksum_offload| test_hardware_checksum_check_l4_tx                | passed|
	| checksum_offload| test_insert_checksum_on_the_transmit_packet       | passed|
	| checksum_offload| test_rx_checksum_valid_flags                      | passed|
	| dual_vlan       | test_dual_vlan_priority_rxtx                      | passed|
	| dual_vlan       | test_vlan_filter_config                           | passed|
	| dual_vlan       | test_vlan_filter_table                            | passed|
	| dual_vlan       | test_vlan_insert_config                           | passed|
	| dual_vlan       | test_vlan_random_test                             | passed|
	| dual_vlan       | test_vlan_strip_config                            | passed|
	| dual_vlan       | test_vlan_synthetic_test                          | passed|
	| dual_vlan       | test_vlan_tpid_config                             | passed|
	| dual_vlan       | test_vlan_stripq_config                           | n/a   |
	| jumboframes     | test_jumboframes_bigger_jumbo                     | passed|
	| jumboframes     | test_jumboframes_jumbo_jumbo                      | passed|
	| jumboframes     | test_jumboframes_jumbo_nojumbo                    | passed|
	| jumboframes     | test_jumboframes_normal_jumbo                     | passed|
	| jumboframes     | test_jumboframes_normal_nojumbo                   | passed|
	| rxtx_offload    | test_rxoffload_port_all                           | passed|
	| rxtx_offload    | test_rxoffload_port_cmdline                       | passed|
	| rxtx_offload    | test_txoffload_port                               | passed|
	| rxtx_offload    | test_txoffload_port_all                           | passed|
	| rxtx_offload    | test_txoffload_port_checksum                      | passed|
	| rxtx_offload    | test_txoffload_port_cmdline                       | passed|
	| rxtx_offload    | test_txoffload_port_multi_segs                    | passed|
	| rxtx_offload    | test_txoffload_queue                              | passed|
	| rxtx_offload    | test_rxoffload_queue                              | n/a   |
	+-----------------+---------------------------------------------------+-------+


DPDK STV team


More information about the test-report mailing list