Bug 915

Summary: [20.11][mlx5] segfault when changing number of rxqs
Product: DPDK Reporter: Ali Alnubani (alialnu)
Component: ethdevAssignee: dev
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: 20.11   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Ali Alnubani 2021-12-22 18:01:15 CET
$ build/app/dpdk-testpmd -n 4  -a 0000:00:07.0,dv_flow_en=1,rxqs_min_mprq=1,mprq_log_stride_num=11,mprq_log_stride_size=8,mprq_en=1  -a 0000:00:08.0,dv_flow_en=1,rxqs_min_mprq=1,mprq_log_stride_num=11,mprq_log_stride_size=8,mprq_en=1 -- --mbcache=512 -i  --txd=8192 --rxd=8192

> port stop all
> port config all rxq 4
> port start all

Result is a segfault with the following trace:

#0  0x0000555555f76c01 in mlx5_mr_update_mp ()
#1  0x00005555557ecbbf in mlx5_dev_start ()
#2  0x0000555555c5bfaf in rte_eth_dev_start ()
#3  0x0000555555b1aba6 in start_port.part ()
#4  0x0000555555c53f6f in cmdline_parse ()
#5  0x0000555555c52db4 in cmdline_valid_buffer ()
#6  0x0000555555c565eb in rdline_char_in ()
#7  0x0000555555c52e89 in cmdline_in ()
#8  0x0000555555c53050 in cmdline_interact ()
#9  0x0000555555894176 in main ()

OS: Ubuntu 20.04
NIC: ConnectX-5
MLNX_OFED: MLNX_OFED_LINUX-5.5-1.0.3.2
FW: 16.32.1010
Comment 1 Ali Alnubani 2021-12-22 18:12:54 CET
The issue reproduces
Comment 2 Ali Alnubani 2021-12-22 18:13:30 CET
(In reply to Ali Alnubani from comment #1)
> The issue reproduces

The issue reproduces in older 20.11 releases as well.