|SUCCESS|dpdk|51f41cc3f1| Intel-Testing

sys_stv at intel.com sys_stv at intel.com
Fri Jul 10 17:24:16 CEST 2026


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

DPDK git repo: dpdk
commit 51f41cc3f1830c008f669263ac17ed30960bdb39
Author: Zaiyu Wang <zaiyuwang at trustnetic.com>
Date:   Mon Jul 6 18:47:19 2026 +0800

    net/txgbe: validate lane number before use
    
    Coverity reports multiple issues (INTEGER_OVERFLOW and BAD_SHIFT)
    in the e56 backplane code. The root cause is that 'lane_num' is
    initialized to 0 and only set in the switch statement based on
    the link speed. The default case simply logs and breaks, leaving
    lane_num as 0 for unsupported speeds.
    
    This leads to unsigned underflow when evaluating 'lane_num - 1'
    in GENMASK(lane_num - 1, 0), and undefined behavior when the
    resulting mask is used in shift operations.
    
    Fix by returning -EINVAL immediately in the default case of
    txgbe_e56_cl72_training(), preventing any invalid speed from
    proceeding further. Also add error handling at the call site
    txgbe_handle_e56_bkp_an73_flow() to check the return value and
    propagate the error.
    
    For txgbe_e56_rxs_osc_init_for_temp_track_range(), no additional
    check is added because:
    1. It is called from txgbe_e56_cl72_training() after lane_num
       has been validated to one of the legal values (1, 2, 4, or 8).
    2. The other caller, txgbe_e56_set_phy_link_mode(), passes a
       fixed speed of 10 (lane_num = 1), which is also valid.
    
    Coverity issue: 504598, 504602, 504613
    Fixes: 234ce0d1fa9d ("net/txgbe: fix link stability for Amber-Lite backplane mode")
    Cc: stable at dpdk.org
    
    Signed-off-by: Zaiyu Wang <zaiyuwang at trustnetic.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.4 LTS       
Kernel : 6.8.0-71-generic         
GCC : 13.3.0-6ubuntu2~24.04.1        
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.4 LTS       
Kernel : 6.8.0-87-generic         
GCC : 13.3.0-6ubuntu2~24.04.1        
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