From owner-freebsd-bugs@freebsd.org Wed Aug 21 18:30:33 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 215D0D03CF for ; Wed, 21 Aug 2019 18:30:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46DGS871tcz4K0t for ; Wed, 21 Aug 2019 18:30:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id EF250D03CE; Wed, 21 Aug 2019 18:30:32 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EEDF2D03CD for ; Wed, 21 Aug 2019 18:30:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::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.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46DGS85yRWz4K0s for ; Wed, 21 Aug 2019 18:30:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AF8031FB40 for ; Wed, 21 Aug 2019 18:30:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x7LIUWDR053112 for ; Wed, 21 Aug 2019 18:30:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x7LIUWH7053111 for bugs@FreeBSD.org; Wed, 21 Aug 2019 18:30:32 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: bugs@FreeBSD.org Subject: [Bug 240023] netmap lb pointer out of bounds on ixgbe Date: Wed, 21 Aug 2019 18:30:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: maware@ucsc.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Aug 2019 18:30:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240023 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@FreeBSD.org Reporter: maware@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= .=20 This problem does not exist in 11.2 p9. This may be related to driver chang= es ~april 2019 for ixgbe. When this issue happens lb stops reporting any incrementing of packet counters.=20 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 || cu= r > 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 40= 94 rt 2 hc 4095 ht 2 042.321352 [1723] nm_rxsync_prologue ix2 RX10: fail 'cur < head || c= ur > 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 || cu= r > kring->nr_hwtail' h 3751 c 3750 t 3751 rh 3751 rc 3750 rt 3751 hc 3750 ht 3= 751 042.360195 [1723] nm_rxsync_prologue ix2 RX2: fail 'cur < head || cu= r > kring->nr_hwtail' h 2678 c 2677 t 2678 rh 2678 rc 2677 rt 2678 hc 2677 ht 2= 678 042.380046 [1723] nm_rxsync_prologue ix2 RX6: fail 'cur < head || cu= r > kring->nr_hwtail' h 3787 c 3786 t 3787 rh 3787 rc 3786 rt 3787 hc 3786 ht 3= 787 --=20 You are receiving this mail because: You are the assignee for the bug.=