djwmarks / netmap

Automatically exported from code.google.com/p/netmap
1 stars 0 forks source link

kring error: hwcur 17 rcur 17 hwtail 18 head 18 cur 17 tail 18 #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello again!

I run netmap in my linux box with Intel 82599 but hit very strange issue:
/usr/src/netmap/examples/pkt-gen -i eth3 -f rx -p 8
068.342571 main [1624] interface is eth3
068.342807 extract_ip_range [275] range is 10.0.0.1:0 to 10.0.0.1:0
068.342812 extract_ip_range [275] range is 10.1.0.1:0 to 10.1.0.1:0
068.591115 main [1807] mapped 334980KB at 0x7f620e688000
Receiving from netmap:eth3: 8 queues, 8 threads and 1 cpus.
068.591150 main [1887] Wait 2 secs for phy reset
070.591210 main [1889] Ready...
070.591258 nm_open [457] overriding ifname eth3 ringid 0x0 flags 0x1
070.591326 nm_open [457] overriding ifname eth3 ringid 0x0 flags 0x1
070.591349 nm_open [457] overriding ifname eth3 ringid 0x0 flags 0x1
070.591369 nm_open [457] overriding ifname eth3 ringid 0x0 flags 0x1
070.591397 nm_open [457] overriding ifname eth3 ringid 0x0 flags 0x1
070.591424 nm_open [457] overriding ifname eth3 ringid 0x0 flags 0x1
070.591453 nm_open [457] overriding ifname eth3 ringid 0x0 flags 0x1
070.591481 nm_open [457] overriding ifname eth3 ringid 0x0 flags 0x1
071.592511 main_thread [1421] 130833 pps (130964 pkts in 1001004 usec)
072.593532 main_thread [1421] 121625 pps (121749 pkts in 1001020 usec)
073.594558 main_thread [1421] 124048 pps (124175 pkts in 1001027 usec)
074.595584 main_thread [1421] 128057 pps (128188 pkts in 1001026 usec)
075.596594 main_thread [1421] 128582 pps (128712 pkts in 1001010 usec)
076.597607 main_thread [1421] 126655 pps (126783 pkts in 1001013 usec)
077.598497 main_thread [1421] 132176 pps (132294 pkts in 1000890 usec)
078.599508 main_thread [1421] 131634 pps (131767 pkts in 1001010 usec)
079.600521 main_thread [1421] 128732 pps (128863 pkts in 1001014 usec)
080.601544 main_thread [1421] 133364 pps (133500 pkts in 1001023 usec)
081.604340 main_thread [1421] 127227 pps (127583 pkts in 1002796 usec)
082.605351 main_thread [1421] 137244 pps (137383 pkts in 1001011 usec)
083.606365 main_thread [1421] 142815 pps (142960 pkts in 1001013 usec)
084.607385 main_thread [1421] 125526 pps (125654 pkts in 1001021 usec)
085.608397 main_thread [1421] 0 pps (0 pkts in 1001012 usec)
086.609408 main_thread [1421] 0 pps (0 pkts in 1001010 usec)
087.610419 main_thread [1421] 0 pps (0 pkts in 1001011 usec)
088.611431 main_thread [1421] 0 pps (0 pkts in 1001013 usec)
089.612441 main_thread [1421] 0 pps (0 pkts in 1001010 usec)

As you can see from some moment all traffic was dropped (but will exists on 
interface).

And I got following messages in dmesg:
[391294.336358] 139.602658 [1398] netmap_ring_reinit        called for eth3
[391294.346908] 139.613234 [1373] nm_rxsync_prologue        kring error: hwcur 
255 rcur 255 hwtail 256 head 256 cur 255 tail 256
[391294.348009] 139.614342 [1398] netmap_ring_reinit        called for eth3
[391294.356373] 139.622726 [1373] nm_rxsync_prologue        kring error: hwcur 
446 rcur 446 hwtail 448 head 448 cur 446 tail 448
[391294.357458] 139.623817 [1398] netmap_ring_reinit        called for eth3
[391294.370475] 139.636871 [1373] nm_rxsync_prologue        kring error: hwcur 
245 rcur 244 hwtail 245 head 244 cur 244 tail 245
[391294.371550] 139.637950 [1398] netmap_ring_reinit        called for eth3
[391294.383473] 139.649904 [1398] netmap_ring_reinit        called for eth3
[391294.399922] 139.666403 [1398] netmap_ring_reinit        called for eth3
[391294.403495] 139.669983 [1398] netmap_ring_reinit        called for eth3
[391294.407691] 139.674194 [1398] netmap_ring_reinit        called for eth3
[391294.418766] 139.685300 [1398] netmap_ring_reinit        called for eth3
[391295.319042] 140.588149 [1373] nm_rxsync_prologue        kring error: hwcur 
185 rcur 185 hwtail 186 head 186 cur 185 tail 186
[391295.320174] 140.589287 [1398] netmap_ring_reinit        called for eth3
[391295.344051] 140.613228 [1373] nm_rxsync_prologue        kring error: hwcur 
273 rcur 273 hwtail 275 head 275 cur 273 tail 275
[391295.345158] 140.614342 [1398] netmap_ring_reinit        called for eth3
[391295.348072] 140.617259 [1373] nm_rxsync_prologue        kring error: hwcur 
119 rcur 119 hwtail 120 head 120 cur 119 tail 120
[391295.349180] 140.618376 [1398] netmap_ring_reinit        called for eth3
[391295.358263] 140.627483 [1373] nm_rxsync_prologue        kring error: hwcur 
121 rcur 121 hwtail 122 head 122 cur 121 tail 122
[391295.359375] 140.628600 [1398] netmap_ring_reinit        called for eth3
[391295.405420] 140.674772 [1373] nm_rxsync_prologue        kring error: hwcur 
260 rcur 260 hwtail 261 head 261 cur 260 tail 261
[391295.406509] 140.675869 [1398] netmap_ring_reinit        called for eth3
[391295.407519] 140.676881 [1398] netmap_ring_reinit        called for eth3
[391295.407850] 140.677212 [1398] netmap_ring_reinit        called for eth3
[391295.418148] 140.687541 [1398] netmap_ring_reinit        called for eth3
[391295.431216] 140.700645 [1398] netmap_ring_reinit        called for eth3
[391295.440787] 140.710242 [1398] netmap_ring_reinit        called for eth3
[391296.330430] 141.602426 [1373] nm_rxsync_prologue        kring error: hwcur 
408 rcur 408 hwtail 409 head 409 cur 408 tail 409
[391296.331513] 141.603518 [1398] netmap_ring_reinit        called for eth3
[391296.340486] 141.612515 [1373] nm_rxsync_prologue        kring error: hwcur 
372 rcur 372 hwtail 373 head 373 cur 372 tail 373
[391296.341551] 141.613585 [1398] netmap_ring_reinit        called for eth3
[391296.345355] 141.617389 [1373] nm_rxsync_prologue        kring error: hwcur 
434 rcur 434 hwtail 435 head 435 cur 434 tail 435
[391296.346690] 141.618737 [1398] netmap_ring_reinit        called for eth3
[391296.361698] 141.633785 [1373] nm_rxsync_prologue        kring error: hwcur 
118 rcur 118 hwtail 119 head 119 cur 118 tail 119
[391296.362781] 141.634876 [1398] netmap_ring_reinit        called for eth3
[391296.364596] 141.636694 [1373] nm_rxsync_prologue        kring error: hwcur 
229 rcur 229 hwtail 230 head 230 cur 229 tail 230
[391296.365658] 141.637760 [1398] netmap_ring_reinit        called for eth3
[391296.366671] 141.638775 [1398] netmap_ring_reinit        called for eth3
[391296.374807] 141.646933 [1398] netmap_ring_reinit        called for eth3
[391296.395417] 141.667602 [1398] netmap_ring_reinit        called for eth3
[391296.432846] 141.705138 [1398] netmap_ring_reinit        called for eth3
[391296.436222] 141.708524 [1398] netmap_ring_reinit        called for eth3
[391297.309841] 142.584641 [1373] nm_rxsync_prologue        kring error: hwcur 
445 rcur 445 hwtail 446 head 446 cur 445 tail 446
[391297.310885] 142.585691 [1398] netmap_ring_reinit        called for eth3
[391297.354334] 142.629261 [1373] nm_rxsync_prologue        kring error: hwcur 
58 rcur 58 hwtail 59 head 59 cur 58 tail 59
[391297.355512] 142.630444 [1398] netmap_ring_reinit        called for eth3
[391297.379930] 142.654931 [1373] nm_rxsync_prologue        kring error: hwcur 
171 rcur 171 hwtail 173 head 173 cur 171 tail 173
[391297.380997] 142.656002 [1398] netmap_ring_reinit        called for eth3
[391297.382836] 142.657843 [1373] nm_rxsync_prologue        kring error: hwcur 
405 rcur 405 hwtail 406 head 406 cur 405 tail 406
[391297.383946] 142.658959 [1398] netmap_ring_reinit        called for eth3
[391297.386143] 142.661159 [1373] nm_rxsync_prologue        kring error: hwcur 
17 rcur 17 hwtail 18 head 18 cur 17 tail 18
[391297.387224] 142.662248 [1398] netmap_ring_reinit        called for eth3
[391297.388722] 142.663749 [1398] netmap_ring_reinit        called for eth3
[391297.401513] 142.676577 [1398] netmap_ring_reinit        called for eth3
[391297.407089] 142.682168 [1398] netmap_ring_reinit        called for eth3
[391297.410863] 142.685951 [1398] netmap_ring_reinit        called for eth3
[391297.422376] 142.697499 [1398] netmap_ring_reinit        called for eth3

Original issue reported on code.google.com by pavel.odintsov on 29 Oct 2014 at 1:30