From nobody Thu May 19 09:43:21 2022 X-Original-To: net@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 5E4B21B305CB for ; Thu, 19 May 2022 09:43:22 +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 4L3lKQ1QW7z54qh for ; Thu, 19 May 2022 09:43:22 +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.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 11C5C1B80D for ; Thu, 19 May 2022 09:43:22 +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 24J9hMgK042936 for ; Thu, 19 May 2022 09:43:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24J9hMYN042935 for net@FreeBSD.org; Thu, 19 May 2022 09:43:22 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: net@FreeBSD.org Subject: [Bug 245981] bnxt(4): BCM57414 / BCM57416 not initializing: bnxt0: Unable to allocate device TX queue / queue memory Date: Thu, 19 May 2022 09:43:21 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sandy@rbrd.io X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? maintainer-feedback- mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652953402; 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: in-reply-to:in-reply-to:references:references; bh=wEPj5pTDydcwx3MvRhmBM1x3r615LvWrTcQ/bwt4T2g=; b=Zh4AM7nwo0tEuhYGAJlDW0n0xVreDSemnFzUAVSgHYJuAbd0HwiahxKkouqdOdQ8jyUTjs dhlMAztPcGGGUY8dlciyCXt9+zvB6b6L80HTnaRe9DR9K7RUrhSwNkA8oovnPlx7L8nFVt uKLsEprHyc/iRm7ZO1WaJqDOkYvc7YkoQsyDRXqLH7oifrmKJnHwFncdEBxzjRSjHiWGPH WxvgJBMu0vppChu3wMOZgKikT1QryiIOY4J9FlhpoE23Uh4b6uFmn7vM5YxCFDfcf5/m5p 88mg6vZJ4FjWPvjK/ZgOLp9C1Y5TrJEN9amal8GWusCrmZniSJB0AHVMS6SCNQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652953402; a=rsa-sha256; cv=none; b=W+CpvuvxP34Vc7MACZyk2qKF3bMTbRW8m/axyJJMbqkeQy0crCcQjWQHRPJV1vGDeLMjIP Tz1zZpw4dJAmm3C3DYiw+h1QJLD1x/YGwv+fFtGvJiw2vDbOnPBZrBnswMQo64ea0BqFpr /jnXN7rL6HYlGvvY4R15S0iFO3k+FWJt9HFt9mjgNtGs4D4yIuRdIUkdnOIBGQRgHq15fQ dtB9a5O6kEYXxkGBZX81ibcorf7knPxePXwCFUKcTeONfMSTya6auNPjSigal9NLXUyn6a DOhWQ9jCxs/Vmxrq6rUpKmLt6Z4B52vQrm86Ub2enP8r5tsLeQoMuC+qquo/zQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245981 SJ changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sandy@rbrd.io --- Comment #24 from SJ --- Experiencing issues with the BCM57416 on new hardware, with a fresh install= of FreeBSD 13.0. Firmware version shipped with card: 22.00.07.60 % uname -a FreeBSD foo 13.0-RELEASE-p11 FreeBSD 13.0-RELEASE-p11=20 On running `kldload /boot/kernel/if_bnxt.ko`, the following appears in /var/log/messages: May 19 10:37:17 foo kernel: bnxt0: mem 0xb8a10000-0xb8a1ffff,0xb8900000-0xb89fffff,0xb8a22000-0xb8a23fff at device= 0.0 numa-domain 0 on pci9 May 19 10:37:17 foo kernel: bnxt0: Using 256 TX descriptors and= 256 RX descriptors May 19 10:37:17 foo kernel: bnxt0: Using 0 RX queues 0 TX queues May 19 10:37:17 foo kernel: bnxt0: Using MSI-X interrupts with 1 vectors May 19 10:37:17 foo kernel: bnxt0: iflib_dma_alloc_align: bus_dma_tag_create failed: 22 May 19 10:37:17 foo kernel: bnxt0: Unable to allocate device TX queue May 19 10:37:17 foo kernel: bnxt0: Unable to allocate queue mem= ory May 19 10:37:17 foo kernel: device_attach: bnxt0 attach returne= d 22 May 19 10:37:17 foo kernel: bnxt0: mem 0xb8a00000-0xb8a0ffff,0xb8800000-0xb88fffff,0xb8a20000-0xb8a21fff at device= 0.1 numa-domain 0 on pci9 May 19 10:37:17 foo kernel: bnxt0: Using 256 TX descriptors and= 256 RX descriptors May 19 10:37:17 foo kernel: bnxt0: Using 0 RX queues 0 TX queues May 19 10:37:17 foo kernel: bnxt0: Using MSI-X interrupts with 1 vectors May 19 10:37:17 foo kernel: bnxt0: iflib_dma_alloc_align: bus_dma_tag_create failed: 22 May 19 10:37:17 foo kernel: bnxt0: Unable to allocate device TX queue May 19 10:37:17 foo kernel: bnxt0: Unable to allocate queue mem= ory May 19 10:37:17 foo kernel: device_attach: bnxt0 attach returne= d 22 % pciconf -l -BbcevV ... vendor =3D 'Broadcom Inc. and subsidiaries' device =3D 'BCM57416 NetXtreme-E Dual-Media 10G RDMA Ethernet Contr= oller' class =3D network subclass =3D ethernet bar [10] =3D type Prefetchable Memory, range 64, base 0xb8a10000, size 65536, enabled bar [18] =3D type Prefetchable Memory, range 64, base 0xb8900000, size 1048576, enabled bar [20] =3D type Prefetchable Memory, range 64, base 0xb8a22000, size 8192, enabled cap 01[48] =3D powerspec 3 supports D0 D3 current D0 cap 03[50] =3D VPD cap 05[58] =3D MSI supports 8 messages, 64 bit=20 cap 11[a0] =3D MSI-X supports 74 messages Table in map 0x20[0x0], PBA in map 0x20[0x4a0] cap 10[ac] =3D PCI-Express 2 endpoint max data 256(512) FLR RO NS max read 512 link x8(x8) speed 8.0(8.0) ClockPM disabled ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 1 corrected ecap 0003[13c] =3D Serial 1 f4ee08fffe25fabd ecap 0004[150] =3D Power Budgeting 1 ecap 0002[160] =3D VC 1 max VC0 ecap 000b[180] =3D Vendor [1] ID 0000 Rev 0 Length 32 ecap 0018[1b0] =3D LTR 1 ecap 000e[1b8] =3D ARI 1 ecap 0017[230] =3D TPH Requester 1 ecap 0019[300] =3D PCIe Sec 1 lane errors 0 ecap 001f[200] =3D Precision Time Measurement 1 PCI-e errors =3D Correctable Error Detected Unsupported Request Detected Corrected =3D Advisory Non-Fatal Error VPD ident =3D 'Broadcom Adv. Dual 10GBASE-T Ethernet' VPD ro PN =3D 'BCM957416' VPD ro MN =3D '1028' VPD ro V0 =3D 'FFV22.00.07.60' VPD ro V1 =3D 'DSV1028VPDR.VER2.1' VPD ro V2 =3D 'NPY2' VPD ro V3 =3D 'PMT1' VPD ro V4 =3D 'NMVBroadcom Corp' VPD ro V5 =3D 'DTINIC' VPD ro V6 =3D 'DCM1001FFFFFF1202FFFFFF1403FFFFFF1604FFFFFF1805FFFFFF1A06FFFFFF1C07FFFFFF1= E08FFFFFF2101FFFFFF2302FFFFFF2503FFFFFF2704FFFFFF2905FFFFFF2B06FFFFFF2D07FF= FFFF2F08FFFFFF' VPD ro V7 =3D 'L1D0' none89@pci0:94:0:1: class=3D0x020000 rev=3D0x01 hdr=3D0x00 vendor=3D0x1= 4e4 device=3D0x16d8 subvendor=3D0x1028 subdevice=3D0x1fea vendor =3D 'Broadcom Inc. and subsidiaries' device =3D 'BCM57416 NetXtreme-E Dual-Media 10G RDMA Ethernet Contr= oller' class =3D network subclass =3D ethernet bar [10] =3D type Prefetchable Memory, range 64, base 0xb8a00000, size 65536, enabled bar [18] =3D type Prefetchable Memory, range 64, base 0xb8800000, size 1048576, enabled bar [20] =3D type Prefetchable Memory, range 64, base 0xb8a20000, size 8192, enabled cap 01[48] =3D powerspec 3 supports D0 D3 current D0 cap 03[50] =3D VPD cap 05[58] =3D MSI supports 8 messages, 64 bit=20 cap 11[a0] =3D MSI-X supports 74 messages Table in map 0x20[0x0], PBA in map 0x20[0x4a0] cap 10[ac] =3D PCI-Express 2 endpoint max data 256(512) FLR RO NS max read 512 link x8(x8) speed 8.0(8.0) ClockPM disabled ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 1 corrected ecap 0003[13c] =3D Serial 1 f4ee08fffe25fabd ecap 0004[150] =3D Power Budgeting 1 ecap 000b[180] =3D Vendor [1] ID 0000 Rev 0 Length 32 ecap 000e[1b8] =3D ARI 1 ecap 0017[230] =3D TPH Requester 1 PCI-e errors =3D Correctable Error Detected Unsupported Request Detected Corrected =3D Advisory Non-Fatal Error VPD ident =3D 'Broadcom Adv. Dual 10GBASE-T Ethernet' VPD ro PN =3D 'BCM957416' VPD ro MN =3D '1028' VPD ro V0 =3D 'FFV22.00.07.60' VPD ro V1 =3D 'DSV1028VPDR.VER2.1' VPD ro V2 =3D 'NPY2' VPD ro V3 =3D 'PMT1' VPD ro V4 =3D 'NMVBroadcom Corp' VPD ro V5 =3D 'DTINIC' VPD ro V6 =3D 'DCM1001FFFFFF1202FFFFFF1403FFFFFF1604FFFFFF1805FFFFFF1A06FFFFFF1C07FFFFFF1= E08FFFFFF2101FFFFFF2302FFFFFF2503FFFFFF2704FFFFFF2905FFFFFF2B06FFFFFF2D07FF= FFFF2F08FFFFFF' VPD ro V7 =3D 'L1D0' --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=