From nobody Mon Feb 26 22:04:09 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TkF566SBbz5CG5D for ; Mon, 26 Feb 2024 22:04:10 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TkF556WCzz4MD2 for ; Mon, 26 Feb 2024 22:04:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708985049; a=rsa-sha256; cv=none; b=pKx3hyMFMLp5vAa/Ly+2YqBZ/uZExX0Nlg1F6Z58AWwOvAj42SRboI0L76/QHfLd1/KFWZ LJ+9pH0kOaeLy2BvtIVz1p653ZbURWESQ3WCa2J1bnXi3KLKEuK+Q6V2ciZacA0AebOlft PawCyE4Wobv9io97LjEbbm09Z0/OAJwegqghB8Bg3FqxRfMIVbIt3W00webGdAthBG1LrR s1+4xIvOp3Uzz5tfdZIIn0vxOfyQhojb5iNvToAtOxyDLFdDb13zWLxiqmif1QXQp/csb8 GTjXZ5hyeL8MJXyvnLFGkmJyYFISlDjDwSOuWbTQ0wPS8SV0JfDptVU/xnKkhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708985049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=l6CcB2vFok0lI+HrkR4zwA1jq0eRLtEikulxTI+RU54=; b=pmE8kVdbqoLweRQtPf+m558aDPAaSq78kbNdwqshTjcyfHqV8gMUT+i9a5jJBB/YRva9Uc ax52RhRHOMm3L1V+Xqu4km3ijPRmclWZWaBfuLpEH0Zz6wDZG0k8LlRY2YWkzku+/kSd6a zBkhSDLGi2HLSKXj4qnlKMl1T+MKl4kfKkCCpE/eR9p+vT5NKfzv7MBr5idpRkJUwtMYAh TRu+EuLHe1V3JWGcIkSEV/VB1tkxSyoio74/9sSBurIAxLC4B7iWw0PYgI3em5QpwUTqJw 938BC8nVP2LoaOOfuu1uhEVimWJxyQ873xIA2mLnXsI6b/aqS/DXUYb+vrDLbw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TkF555Z7Gzm26 for ; Mon, 26 Feb 2024 22:04:09 +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 41QM49ow064555 for ; Mon, 26 Feb 2024 22:04:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41QM49XD064554 for bugs@FreeBSD.org; Mon, 26 Feb 2024 22:04:09 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 277340] X710-DA4 TX Queue ring_state STALLED without resetting to IDLE Date: Mon, 26 Feb 2024 22:04:09 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alex@hotelwifi.com 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 attachments.created 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277340 Bug ID: 277340 Summary: X710-DA4 TX Queue ring_state STALLED without resetting to IDLE Product: Base System Version: 13.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: alex@hotelwifi.com Created attachment 248769 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248769&action= =3Dedit Full dev.ixl.0 output Hello, DATA We are running FreeBSD 13.2-RELEASE-p9 #25 on top of several Dell R650 (Exa= mple Service Tag: 8FKQRY3). The system is running bhyve for other FreeBSD Virtual Machines. ISSUE Periodically, the networking will stop working on individual interfaces. Du= ring packet capture we can see that the networking card is receiving traffic, bu= t no traffic is being set out. During further investigation we found that ixl interface TX queue ring-state is getting into STALLED mode. [r07guestccb ~]$ sysctl dev.ixl | grep ring_state dev.ixl.5.iflib.txq0.ring_state: pidx_head: 0434 pidx_tail: 0434 cidx: 0434 state: IDLE dev.ixl.4.iflib.txq0.ring_state: pidx_head: 1777 pidx_tail: 1777 cidx: 1777 state: IDLE dev.ixl.3.iflib.txq0.ring_state: pidx_head: 0063 pidx_tail: 0063 cidx: 0063 state: IDLE dev.ixl.2.iflib.txq0.ring_state: pidx_head: 0000 pidx_tail: 0000 cidx: 0000 state: IDLE dev.ixl.1.iflib.txq0.ring_state: pidx_head: 0000 pidx_tail: 0000 cidx: 0000 state: IDLE dev.ixl.0.iflib.txq0.ring_state: pidx_head: 1885 pidx_tail: 1885 cidx: 1887 state: STALLED The documentation in IFLIB says this about stalls: r_stalls Number of consumer stalls in the MP ring for this queue. A stall occurs when an attempt to drain a non- empty ring fails. However, it doesn't specifically state what events can cause a stall - so we can start ruling those out or why it isn=E2=80=99t restarting. dev.ixl.0.iflib.txq0.ring_state: pidx_head: 1885 pidx_tail: 1885 cidx: 1887 state: STALLED dev.ixl.0.iflib.txq0.r_stalls: 1 dev.ixl.0.iflib.txq0.r_restarts: 0 --=20 You are receiving this mail because: You are the assignee for the bug.=