Date: Tue, 18 May 2021 14:20:49 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 230465] ixl: not working in netmap mode Message-ID: <bug-230465-227-ye6qWX5zjY@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-230465-227@https.bugs.freebsd.org/bugzilla/> References: <bug-230465-227@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 slw@zxy.spb.ru changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |slw@zxy.spb.ru --- Comment #43 from slw@zxy.spb.ru --- (In reply to Vincenzo Maffione from comment #42) Looks like netmap don't worked: # /usr/obj/usr/src/amd64.amd64/tools/tools/netmap/pkt-gen -i ixl1 -f tx 321.990539 main [2921] interface is ixl1 321.990568 main [3044] using default burst size: 512 321.990573 main [3052] running on 1 cpus (have 24) 321.990640 extract_ip_range [476] range is 10.0.0.1:1234 to 10.0.0.1:1234 321.990645 extract_ip_range [476] range is 10.1.0.1:1234 to 10.1.0.1:1234 Sending on netmap:ixl1: 5 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) 322.096770 main [3255] Sending 512 packets every 0.000000000 s 322.096813 start_threads [2580] Wait 2 secs for phy reset 324.222299 start_threads [2582] Ready... 324.222365 sender_body [1599] start, fd 3 main_fd 3 324.222392 sender_body [1657] frags 1 frag_size 60 324.234391 sender_body [1695] drop copy 325.285776 main_thread [2671] 2.794 Mpps (2.971 Mpkts 1.341 Gbps in 1063411 usec) 15.05 avg_batch 0 min_space 326.348859 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1063084 us= ec) 0.00 avg_batch 99999 min_space 326.472386 sender_body [1682] poll error on queue 0: timeout 327.411859 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1063000 us= ec) 0.00 avg_batch 99999 min_space 328.473456 sender_body [1682] poll error on queue 0: timeout 328.474874 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1063015 us= ec) 0.00 avg_batch 99999 min_space 329.537820 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1062945 us= ec) 0.00 avg_batch 99999 min_space 330.474386 sender_body [1682] poll error on queue 0: timeout 330.600771 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1062951 us= ec) 0.00 avg_batch 99999 min_space 331.663860 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1063090 us= ec) 0.00 avg_batch 99999 min_space 332.475381 sender_body [1682] poll error on queue 0: timeout 332.726861 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1063001 us= ec) 0.00 avg_batch 99999 min_space ^C333.671467 sigint_h [573] received control-C on thread 0x800a12000 333.671475 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 944614 use= c) 0.00 avg_batch 99999 min_space 334.476434 sender_body [1737] flush tail 576 head 576 on thread 0x800a12700 334.734834 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1063359 us= ec) 0.00 avg_batch 99999 min_space Sent 2971392 packets 178283520 bytes 197414 events 60 bytes each in 10.25 seconds. Speed: 289.777 Kpps Bandwidth: 139.093 Mbps (raw 139.093 Mbps). Average bat= ch: 15.05 pkts Additional, in my application I am see logical errors from kernel: I a send 3 packets in ring 0, c/h/t is 3/3/2047 do NIOCTXSYNC, c/h/t is 3/3/0 do not send any packets, just do NIOCTXSYNC, c/h/t is 3/3/3 now! i.e. like TX ring is full and stalled. Any transmission staled after this. 13-stable. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230465-227-ye6qWX5zjY>