|SUCCESS|dpdk|fa8f96a463| Intel-Testing

sys_stv at intel.com sys_stv at intel.com
Mon Mar 16 19:49:33 CET 2026


Test-Label: intel-Testing
Test-Status: SUCCESS
_Testing PASS_

DPDK git repo: dpdk
commit fa8f96a46398f262274d30f6ac2a096f2c5eb696
Author: Talluri Chaitanyababu <chaitanyababux.talluri at intel.com>
Date:   Thu Mar 12 10:36:15 2026 +0000

    app/testpmd: fix DCB forwarding TC mask and queue guard
    
    Update forwarding TC mask based on configured traffic classes to properly
    handle both 4 TC and 8 TC modes. The bitmask calculation (1u << nb_tcs) - 1
    correctly creates masks for all available traffic classes (0xF for 4 TCs,
    0xFF for 8 TCs).
    
    When the mask is not updated after a TC configuration change, it stays at
    the default 0xFF, which causes dcb_fwd_tc_update_dcb_info() to skip the
    compress logic entirely (early return when mask ==
    DEFAULT_DCB_FWD_TC_MASK).
    This can lead to inconsistent queue allocations.
    
    Additionally, the existing VMDQ pool guard in dcb_fwd_config_setup() only
    checks RX queue counts, missing the case where the TX port has zero queues
    for a given pool/TC combination. When nb_tx_queue is 0, the expression
    "j % nb_tx_queue" triggers a SIGFPE (integer division by zero).
    
    Fix this by:
    1. Updating dcb_fwd_tc_mask after port DCB reconfiguration using the
       user requested num_tcs value, so fwd_config_setup() sees the correct
       mask.
    2. Extending the existing pool guard to also check TX queue counts.
    3. Adding a defensive break after the division by dcb_fwd_tc_cores to
       catch integer truncation to zero.
    
    Fixes: 0ecbf93f5001 ("app/testpmd: add command to disable DCB")
    Cc: stable at dpdk.org
    
    Signed-off-by: Talluri Chaitanyababu <chaitanyababux.talluri at intel.com>
    Signed-off-by: Shaiq Wani <shaiq.wani at intel.com>

Testing Summary : 18 Case Done, 18 Successful, 0 Failures      

TestPlan:
	pf_smoke: http://git.dpdk.org/tools/dts/tree/test_plans/pf_smoke_test_plan.rst
	vf_smoke: http://git.dpdk.org/tools/dts/tree/test_plans/vf_smoke_test_plan.rst
	virtio_smoke: http://git.dpdk.org/tools/dts/tree/test_plans/virtio_smoke_test_plan.rst

TestSuite:
	pf_smoke: http://git.dpdk.org/tools/dts/tree/tests/TestSuite_pf_smoke.py
	vf_smoke: http://git.dpdk.org/tools/dts/tree/tests/TestSuite_vf_smoke.py
	virtio_smoke: http://git.dpdk.org/tools/dts/tree/tests/TestSuite_virtio_smoke.py


OS : Ubuntu 24.04.3 LTS       
Kernel : 6.8.0-71-generic         
GCC : 13.3.0-6ubuntu2~24.04        
NIC : Ethernet Controller XL710 for 40GbE QSFP+         
Target : x86_64-native-linuxapp-gcc      

	Test result details:
	+-------------+---------------------------+-------+
	| suite       | case                      | status|
	+-------------+---------------------------+-------+
	| asan_smoke  | test_rxtx_with_ASan_enable| passed|
	| pf_smoke    | test_pf_jumbo_frames      | passed|
	| pf_smoke    | test_pf_rss               | passed|
	| pf_smoke    | test_pf_tx_rx_queue       | passed|
	| vf_smoke    | test_vf_rss               | passed|
	| vf_smoke    | test_vf_tx_rx_queue       | passed|
	| vf_smoke    | test_vf_jumbo_frames      | n/a   |
	| virtio_smoke| test_virtio_loopback      | passed|
	| virtio_smoke| test_virtio_pvp           | passed|
	+-------------+---------------------------+-------+


OS : Ubuntu 24.04.3 LTS       
Kernel : 6.8.0-87-generic         
GCC : 13.3.0-6ubuntu2~24.04        
NIC : Ethernet Controller E810-C for SFP         
Target : x86_64-native-linuxapp-gcc      

	Test result details:
	+-------------+---------------------------+-------+
	| suite       | case                      | status|
	+-------------+---------------------------+-------+
	| asan_smoke  | test_rxtx_with_ASan_enable| passed|
	| pf_smoke    | test_pf_jumbo_frames      | passed|
	| pf_smoke    | test_pf_rss               | passed|
	| pf_smoke    | test_pf_tx_rx_queue       | passed|
	| vf_smoke    | test_vf_jumbo_frames      | passed|
	| vf_smoke    | test_vf_rss               | passed|
	| vf_smoke    | test_vf_tx_rx_queue       | passed|
	| virtio_smoke| test_virtio_loopback      | passed|
	| virtio_smoke| test_virtio_pvp           | passed|
	+-------------+---------------------------+-------+


DPDK STV team


More information about the test-report mailing list