Date: Tue, 29 Jan 2019 17:23:41 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 230465] ixl: not working in netmap mode Message-ID: <bug-230465-7501-jCv25QyLQT@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-230465-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-230465-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230465 --- Comment #25 from Charles Goncalves <halfling@halfling.com.br> --- (In reply to Vincenzo Maffione from comment #23) Without hw.ixl.max_queues in /boot/loader.conf then # sysctl hw.ixl.max_queues hw.ixl.max_queues: 0 # dmesg | grep "netmap queues" ixl0: netmap queues/slots: TX 8/1024, RX 8/1024 ixl1: netmap queues/slots: TX 8/1024, RX 8/1024 ixl2: netmap queues/slots: TX 8/1024, RX 8/1024 ixl3: netmap queues/slots: TX 8/1024, RX 8/1024 # pkt-gen -i ixl0 -f tx 415.475609 main [2593] interface is ixl0 415.475652 main [2727] running on 1 cpus (have 8) 415.475874 extract_ip_range [468] range is 10.0.0.1:1234 to 10.0.0.1:1234 415.475891 extract_ip_range [468] range is 10.1.0.1:1234 to 10.1.0.1:1234 415.644068 main [2822] mapped 294020KB at 0x801600000 Sending on netmap:ixl0: 8 queues, 1 threads and 1 cpus. 10.0.0.1 -> 10.1.0.1 (00:00:00:00:00:00 -> ff:ff:ff:ff:ff:ff) 415.644158 main [2919] Sending 512 packets every 0.000000000 s 415.644202 start_threads [2274] Wait 2 secs for phy reset 417.645062 start_threads [2276] Ready... 417.645243 sender_body [1464] start, fd 3 main_fd 3 418.485366 sender_body [1538] poll error on 3 ring 0-7 418.708562 main_thread [2364] 7.702 Kpps (8.190 Kpkts 3.931 Mbps in 1063315 usec) 511.88 avg_batch 0 min_space 418.878363 main_thread [2391] ouch, thread 0 exited with error Sent 8190 packets 491400 bytes 16 events 60 bytes each in -1548782417.65 seconds. Speed: -0.000 pps Bandwidth: -0.003 bps (raw -0.004 bps). Average batch: 51= 1.88 pkts # tail -F /var/log/messages Jan 29 15:20:17 rt1 kernel: 417.657494 [1637] nm_txsync_prologue ixl0 TX1: fail 'kring->nr_hwcur >=3D n || kring->rhead >=3D n || kring->rtail >= =3D n || kring->nr_hwtail >=3D n' h 0 c 0 t -1843510785 rh 512 rc 512 rt -1843510785= hc 512 ht -1843510785 Jan 29 15:20:17 rt1 kernel: 417.715239 [1758] netmap_ring_reinit cal= led for ixl0 TX1 Jan 29 15:20:17 rt1 kernel: 417.732143 [1783] netmap_ring_reinit tot= al 1 errors Jan 29 15:20:17 rt1 kernel: 417.747738 [1787] netmap_ring_reinit ixl0 TX1 reinit, cur 0 -> 512 tail -1843510785 -> -1843510785 Jan 29 15:20:17 rt1 kernel: 417.775556 [1637] nm_txsync_prologue ixl0 TX2: fail 'kring->nr_hwcur >=3D n || kring->rhead >=3D n || kring->rtail >= =3D n || kring->nr_hwtail >=3D n' h 0 c 0 t -1841671681 rh 512 rc 512 rt -1841671681= hc 512 ht -1841671681 Jan 29 15:20:17 rt1 kernel: 417.833536 [1758] netmap_ring_reinit cal= led for ixl0 TX2 Jan 29 15:20:17 rt1 kernel: 417.850440 [1783] netmap_ring_reinit tot= al 1 errors Jan 29 15:20:17 rt1 kernel: 417.866031 [1787] netmap_ring_reinit ixl0 TX2 reinit, cur 0 -> 512 tail -1841671681 -> -1841671681 Jan 29 15:20:17 rt1 kernel: 417.893854 [1637] nm_txsync_prologue ixl0 TX3: fail 'kring->nr_hwcur >=3D n || kring->rhead >=3D n || kring->rtail >= =3D n || kring->nr_hwtail >=3D n' h 0 c 0 t -1839832577 rh 512 rc 512 rt -1839832577= hc 512 ht -1839832577 Jan 29 15:20:18 rt1 kernel: 417.951828 [1758] netmap_ring_reinit cal= led for ixl0 TX3 Jan 29 15:20:18 rt1 kernel: 417.968738 [1783] netmap_ring_reinit tot= al 1 errors Jan 29 15:20:18 rt1 kernel: 417.984330 [1787] netmap_ring_reinit ixl0 TX3 reinit, cur 0 -> 512 tail -1839832577 -> -1839832577 Jan 29 15:20:18 rt1 kernel: 418.012148 [1637] nm_txsync_prologue ixl0 TX4: fail 'kring->nr_hwcur >=3D n || kring->rhead >=3D n || kring->rtail >= =3D n || kring->nr_hwtail >=3D n' h 0 c 0 t -1837993473 rh 512 rc 512 rt -1837993473= hc 512 ht -1837993473 Jan 29 15:20:18 rt1 kernel: 418.070125 [1758] netmap_ring_reinit cal= led for ixl0 TX4 Jan 29 15:20:18 rt1 kernel: 418.087037 [1783] netmap_ring_reinit tot= al 1 errors Jan 29 15:20:18 rt1 kernel: 418.102626 [1787] netmap_ring_reinit ixl0 TX4 reinit, cur 0 -> 512 tail -1837993473 -> -1837993473 Jan 29 15:20:18 rt1 kernel: 418.130451 [1637] nm_txsync_prologue ixl0 TX5: fail 'kring->nr_hwcur >=3D n || kring->rhead >=3D n || kring->rtail >= =3D n ||=20 Jan 29 15:20:18 rt1 kernel: kring->nr_hwtail >=3D n' h 0 c 0 t -1836154369 = rh 512 rc 512 rt -1836154369 hc 512 ht -1836154369 Jan 29 15:20:18 rt1 kernel: 418.188425 [1758] netmap_ring_reinit cal= led for ixl0 TX5 Jan 29 15:20:18 rt1 kernel: 418.205330 [1783] netmap_ring_reinit tot= al 1 errors Jan 29 15:20:18 rt1 kernel: 418.220926 [1787] netmap_ring_reinit ixl0 TX5 reinit, cur 0 -> 512 tail -1836154369 -> -1836154369 Jan 29 15:20:18 rt1 kernel: 418.248752 [1637] nm_txsync_prologue ixl0 TX6: fail 'kring->nr_hwcur >=3D n || kring->rhead >=3D n || kring->rtail >= =3D n || kring->nr_hwtail >=3D n' h 0 c 0 t -1834315265 rh 512 rc 512 rt -1834315265= hc 512 ht -1834315265 Jan 29 15:20:18 rt1 kernel: 418.306721 [1758] netmap_ring_reinit cal= led for ixl0 TX6 Jan 29 15:20:18 rt1 kernel: 418.323624 [1783] netmap_ring_reinit tot= al 1 errors Jan 29 15:20:18 rt1 kernel: 418.339222 [1787] netmap_ring_reinit ixl0 TX6 reinit, cur 0 -> 512 tail -1834315265 -> -1834315265 Jan 29 15:20:18 rt1 kernel: 418.367043 [1637] nm_txsync_prologue ixl0 TX7: fail 'kring->nr_hwcur >=3D n || kring->rhead >=3D n || kring->rtail >= =3D n || kring->nr_hwtail >=3D n' h 0 c 0 t -1832476161 rh 512 rc 512 rt -1832476161= hc 512 ht -1832476161 Jan 29 15:20:18 rt1 kernel: 418.425019 [1758] netmap_ring_reinit cal= led for ixl0 TX7 Jan 29 15:20:18 rt1 kernel: 418.441929 [1783] netmap_ring_reinit tot= al 1 errors Jan 29 15:20:18 rt1 kernel: 418.457518 [1787] netmap_ring_reinit ixl0 TX7 reinit, cur 0 -> 512 tail -1832476161 -> -1832476161 --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230465-7501-jCv25QyLQT>