[Bug 230465] ixl: not working in netmap mode
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Aug 14 18:07:49 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230465
--- Comment #2 from Charles Goncalves <halfling at 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
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 usec)
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 1048359
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: 341.33
pkts
And kernel log:
Aug 14 15:03:36 rt1 kernel: 816.016016 [1637] nm_txsync_prologue ixl0
TX1: fail 'kring->nr_hwcur >= n || kring->rhead >= n || kring->rtail >= n ||
kring->nr_hwtail >= n' h 275 c 275 t -278400513 rh 274 rc 274 rt -278400513 hc
274 ht -278400513
Aug 14 15:03:36 rt1 kernel: 816.074020 [1758] netmap_ring_reinit called
for ixl0 TX1
Aug 14 15:03:36 rt1 kernel: 816.090925 [1783] netmap_ring_reinit total 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 netmap
ring
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-net
mailing list