From owner-freebsd-net@freebsd.org Wed Jan 30 15:53:00 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 373C614C46E4 for ; Wed, 30 Jan 2019 15:53:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BAF7070AD5 for ; Wed, 30 Jan 2019 15:52:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7B52F14C46E0; Wed, 30 Jan 2019 15:52:59 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DE1614C46DD for ; Wed, 30 Jan 2019 15:52:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B19F970ACE for ; Wed, 30 Jan 2019 15:52:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0D1B31038 for ; Wed, 30 Jan 2019 15:52:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x0UFqvUt066534 for ; Wed, 30 Jan 2019 15:52:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x0UFqvxn066533 for net@FreeBSD.org; Wed, 30 Jan 2019 15:52:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 230465] ixl: not working in netmap mode Date: Wed, 30 Jan 2019 15:52:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: halfling@halfling.com.br X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2019 15:53:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230465 --- Comment #28 from Charles Goncalves --- (In reply to Charles Goncalves from comment #27) Hi! I test ixl on top of 12.0 and it works with pkt-gen # 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 Can't find hw.ixl.max_queues via sysctl on 12.0 # ./pkt-gen -i ixl0 -f tx 518.683898 main [2889] interface is ixl0 518.683944 main [3011] using default burst size: 512 518.683954 main [3019] running on 1 cpus (have 8) 518.684152 extract_ip_range [471] range is 10.0.0.1:1234 to 10.0.0.1:1234 518.684169 extract_ip_range [471] range is 10.1.0.1:1234 to 10.1.0.1:1234 518.684235 nm_open [856] overriding ARG1 0 518.684246 nm_open [860] overriding ARG2 0 518.684251 nm_open [864] overriding ARG3 0 518.684254 nm_open [868] overriding RING_CFG 518.684258 nm_open [877] overriding ifname ixl0 ringid 0x0 flags 0x8001 518.853577 main [3117] mapped 334980KB at 0x800e00000 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) 518.853734 main [3224] Sending 512 packets every 0.000000000 s 518.853833 start_threads [2549] Wait 2 secs for phy reset 520.979092 start_threads [2551] Ready... 520.979263 sender_body [1580] start, fd 3 main_fd 3 520.979543 sender_body [1638] frags 1 frag_size 60 521.010053 sender_body [1676] drop copy 521.981085 main_thread [2639] 15.143 Mpps (15.170 Mpkts 7.282 Gbps in 10018= 18 usec) 200.31 avg_batch 0 min_space 522.983084 main_thread [2639] 15.503 Mpps (15.534 Mpkts 7.456 Gbps in 10019= 99 usec) 189.22 avg_batch 99999 min_space ^C523.664717 sigint_h [562] received control-C on thread 0x800747000 523.664771 main_thread [2639] 15.501 Mpps (10.567 Mpkts 5.072 Gbps in 681687 usec) 195.10 avg_batch 99999 min_space 523.664853 sender_body [1718] flush tail 318 head 318 on thread 0x800747500 524.672164 main_thread [2639] 1.525 Kpps (1.536 Kpkts 737.280 Kbps in 10073= 93 usec) 192.00 avg_batch 99999 min_space Sent 41272863 packets 2476371780 bytes 212000 events 60 bytes each in 2.69 seconds. Speed: 15.369 Mpps Bandwidth: 7.377 Gbps (raw 7.377 Gbps). Average batch: 194.68 pkts --=20 You are receiving this mail because: You are on the CC list for the bug.=