Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2019 15:52:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 230465] ixl: not working in netmap mode
Message-ID:  <bug-230465-7501-Un77MKwFBt@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 #28 from Charles Goncalves <halfling@halfling.com.br> ---
(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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230465-7501-Un77MKwFBt>