Date: Tue, 14 Aug 2018 18:07:47 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 230465] ixl: not working in netmap mode Message-ID: <bug-230465-7501-FZ2RX9fGfB@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 #2 from Charles Goncalves <halfling@halfling.com.br> --- If I run pkt-gen with rate option then pkt-gen sends packets. Like this: pkg-gen -f tx -R 150000 If I change value greater than 150k i.e: 160000 I got same error: /pkt-gen -i ixl0 -f tx -R 160000=20 812.653021 main [2593] interface is ixl0 812.653078 main [2727] running on 1 cpus (have 8) 812.653279 extract_ip_range [468] range is 10.0.0.1:1234 to 10.0.0.1:1234 812.653296 extract_ip_range [468] range is 10.1.0.1:1234 to 10.1.0.1:1234 812.826944 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) 812.827043 main [2919] Sending 512 packets every 0.003200000 s 812.827085 start_threads [2274] Wait 2 secs for phy reset 814.836422 start_threads [2276] Ready... 814.836644 sender_body [1464] start, fd 3 main_fd 3 815.838007 main_thread [2364] 0.000 pps (0.000 pkts 0.000 bps in 1001364 us= ec) 0.00 avg_batch 0 min_space 816.134343 sender_body [1538] poll error on 3 ring 0-7 816.886366 main_thread [2364] 1.954 Kpps (2.048 Kpkts 983.040 Kbps in 10483= 59 usec) 341.33 avg_batch 99999 min_space 817.061069 main_thread [2391] ouch, thread 0 exited with error Sent 2048 packets 122880 bytes 6 events 60 bytes each in -1534269816.00 seconds. Speed: -0.000 pps Bandwidth: -0.001 bps (raw -0.001 bps). Average batch: 34= 1.33 pkts And kernel log: Aug 14 15:03:36 rt1 kernel: 816.016016 [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 275 c 275 t -278400513 rh 274 rc 274 rt -2784005= 13 hc 274 ht -278400513 Aug 14 15:03:36 rt1 kernel: 816.074020 [1758] netmap_ring_reinit cal= led for ixl0 TX1 Aug 14 15:03:36 rt1 kernel: 816.090925 [1783] netmap_ring_reinit tot= al 1 errors Aug 14 15:03:36 rt1 kernel: 816.106519 [1787] netmap_ring_reinit ixl0 TX1 reinit, cur 275 -> 274 tail -278400513 -> -278400513 These errors seem to be related to synchronization of HEAD/CUR/TAIL in netm= ap ring --=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-FZ2RX9fGfB>