[Bug 240023] netmap lb pointer out of bounds on ixgbe

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 21 18:30:33 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240023

            Bug ID: 240023
           Summary: netmap lb pointer out of bounds on ixgbe
           Product: Base System
           Version: 11.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: maware at ucsc.edu

when using the lb utility for packet flows the rings appear to go out of
bounds. System is using a 82599 based Intel adapter (ixgbe). tried with both
bro 2.6.3 and bro 2.6.2. Netmap plugin tried from zkg and built from source. 
This problem does not exist in 11.2 p9. This may be related to driver changes
~april 2019 for ixgbe. When this issue happens lb stops reporting any
incrementing of packet counters. 

Command issues to start lb: lb -i ix2 -p 20 -o 30



042.269723 [1721] nm_rxsync_prologue        ix2 RX13: fail 'head <
kring->nr_hwcur || head > kring->nr_hwtail' h 1442 c 1442 t 1443 rh 1442 rc
1442 rt 1443 hc 1443 ht 1443
042.269754 [1766] netmap_ring_reinit        called for ix2 RX13
042.282035 [1721] nm_rxsync_prologue        ix2 RX13: fail 'head <
kring->nr_hwcur || head > kring->nr_hwtail' h 1826 c 1826 t 1827 rh 1826 rc
1826 rt 1827 hc 1827 ht 1827
042.282065 [1766] netmap_ring_reinit        called for ix2 RX13
042.286129 [1721] nm_rxsync_prologue        ix2 RX8: fail 'head <
kring->nr_hwcur || head > kring->nr_hwtail' h 2801 c 2801 t 2804 rh 2801 rc
2801 rt 2804 hc 2804 ht 2804
042.286155 [1766] netmap_ring_reinit        called for ix2 RX8
042.301701 [1721] nm_rxsync_prologue        ix2 RX5: fail 'head <
kring->nr_hwcur || head > kring->nr_hwtail' h 3990 c 3990 t 3988 rh 3990 rc
3990 rt 3988 hc 3987 ht 3988
042.301729 [1766] netmap_ring_reinit        called for ix2 RX5
042.304510 [1721] nm_rxsync_prologue        ix2 RX11: fail 'head <
kring->nr_hwcur || head > kring->nr_hwtail' h 302 c 302 t 304 rh 302 rc 302 rt
304 hc 304 ht 304
042.304533 [1766] netmap_ring_reinit        called for ix2 RX11
042.304558 [1766] netmap_ring_reinit        called for ix2 RX15
042.307984 [1766] netmap_ring_reinit        called for ix2 RX6
042.308521 [1766] netmap_ring_reinit        called for ix2 RX7
042.313627 [1766] netmap_ring_reinit        called for ix2 RX6
042.314349 [1766] netmap_ring_reinit        called for ix2 RX1
042.317253 [1723] nm_rxsync_prologue        ix2 RX5: fail 'cur < head || cur >
kring->nr_hwtail' h 273 c 272 t 273 rh 273 rc 272 rt 273 hc 272 ht 273
042.319884 [1726] nm_rxsync_prologue        ix2 RX4: fail 'head <
kring->nr_hwcur && head > kring->nr_hwtail' h 4094 c 4094 t 2 rh 4094 rc 4094
rt 2 hc 4095 ht 2
042.321352 [1723] nm_rxsync_prologue        ix2 RX10: fail 'cur < head || cur >
kring->nr_hwtail' h 432 c 431 t 432 rh 432 rc 431 rt 432 hc 431 ht 432
042.321993 [1723] nm_rxsync_prologue        ix2 RX1: fail 'cur < head || cur >
kring->nr_hwtail' h 3751 c 3750 t 3751 rh 3751 rc 3750 rt 3751 hc 3750 ht 3751
042.360195 [1723] nm_rxsync_prologue        ix2 RX2: fail 'cur < head || cur >
kring->nr_hwtail' h 2678 c 2677 t 2678 rh 2678 rc 2677 rt 2678 hc 2677 ht 2678
042.380046 [1723] nm_rxsync_prologue        ix2 RX6: fail 'cur < head || cur >
kring->nr_hwtail' h 3787 c 3786 t 3787 rh 3787 rc 3786 rt 3787 hc 3786 ht 3787

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list