From nobody Mon May 27 20:51:25 2024 X-Original-To: freebsd-current@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 4Vp79S6y5dz5Lwdj for ; Mon, 27 May 2024 20:51:40 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vp79S1hy8z4ryM for ; Mon, 27 May 2024 20:51:40 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-578517c7ae9so119893a12.3 for ; Mon, 27 May 2024 13:51:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1716843098; x=1717447898; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ds3JSoUsi+dRVoIPaCi3gQBg04LeBh3x3E6SUjUVICs=; b=lXdSs8ID+1seuxWaY9yW8WOqmzJ4hHGkJSl2ww7cr6RTr65aCa5CgblP4SZxBOQjTO UAE4k8OH353LECaHvgkcUuPZ0YOR5K3aljsJuNA4qkS6KxsFOLOWNG+TnuhHVjHQjiXq 2uAarb6LqmDIha8PpDGEeYh0zAzMIo+ywcopkz1ET+Zj6VZ7ZumgxufaZig+GbVJBWVL 9glJUxkzCtq8Ir6nz9tQPB5o3v6j97cYMWrpX47fUd583tA+Glt9XLIY0aEATrbnKBtM d6j8RWCVlUlB3UXVrcFY4midbVKgh2OhzIYDfeDWVk5ud//8Be5MYni6QfbD0MPmTXd5 kaMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716843098; x=1717447898; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ds3JSoUsi+dRVoIPaCi3gQBg04LeBh3x3E6SUjUVICs=; b=N0PefQQfklf8DNV4sZQOqctObB4SP85/QsKS7NiWSkzhq0F81hLJgMPIu1JYASk23y RhgVhiH1w/2nj7N+X8vIKaD1qBYPx54tUx75BEiHsWjSpWfxUevJXDnY73Ji/yzDyHwH 73OyiHplltOKLmtzRfb7rzWgvh5le87t69KOdTVUMr8h+ZDfqAIYt1vkGRjCz6K1+7tj 3jJvjyVb0aeOMBHd1iWKJABZNzGU0oheNtDJWchVx2gHrwctDsqmrvHRZpX8hth/i98G 24oyZOklXAThz8UO3Gzf5ne5KsLpU9a5Xt1lVgOIGvwroZ0YBcIzjozlXDwlP2gsptqv KDkQ== X-Forwarded-Encrypted: i=1; AJvYcCWkjtc1rTAgGaOgB+S8MrIivqiOxhu9YWZybi4SUX4A4woKdNxKviFZc8ed9HiDefaMrVdaZPt5XYWovKrireX33CoHwDTdXXYI+2U= X-Gm-Message-State: AOJu0YxUngucPeR5aT8OD3sVOkxCqf3+81v5asX0IK/TI6wQPAVzpF7z bqIshZ8FbAyTInbSyuAGi019Yt+8EmIF3QoTcDjTEobic2wQHKXDa7Cwwwh5IHiYRf3040/Ho4X LHg4vkD4dcF/Pr+vaZwcC4ElQ+AF9oCKFVZQ2EIMlGTJUdAP0IlAcYQ== X-Google-Smtp-Source: AGHT+IFhmu5Y9Vwsl4gjuyEgBdl5LynHVgINGaKam8bx9FCmGcYdWXKppCAWivFNGmd369LUpp6E0Ag2s3TukDbWY20= X-Received: by 2002:a17:907:7212:b0:a62:fc9d:6fec with SMTP id a640c23a62f3a-a62fc9d8765mr255172466b.34.1716843097492; Mon, 27 May 2024 13:51:37 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <944a89c4-618d-4a3e-b253-6b56df3e4f3c@codenetworks.net> In-Reply-To: <944a89c4-618d-4a3e-b253-6b56df3e4f3c@codenetworks.net> From: Warner Losh Date: Mon, 27 May 2024 14:51:25 -0600 Message-ID: Subject: Re: [Bug 269133] bnxt(4): BCM57416 - HWRM_CFA_L2_SET_RX_MASK command returned RESOURCE_ALLOC_ERROR error To: Santiago Martinez , FreeBSD Release Engineering Team Cc: bugzilla-noreply@freebsd.org, freebsd-current Content-Type: multipart/alternative; boundary="000000000000f6252e061975ae84" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4Vp79S1hy8z4ryM --000000000000f6252e061975ae84 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 27, 2024 at 10:16=E2=80=AFAM Santiago Martinez wrote: > Hi Everyone, > > Just wondering if anyone has any contact at broadcom. > > The bnxt drivers on 14.1BETA1 are unusable. > > Cards stop working randomly, LRO cannot be disable (fail FILTER_ALLOT), > even chaining mtu renders the card unusable. > > The cards, is the same it was used to open the original PR. > There's a series of reviews that I've reviewed, but haven't yet been committed. I think they start at https://reviews.freebsd.org/D45005. I'll see if I can prevail upon them to commit them to -current soon. Warner > Best regards. > > Santiago > > > On 5/4/23 14:20, bugzilla-noreply@freebsd.org wrote: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269133 > > > > --- Comment #8 from geoffroy desvernay --- > > Since upgrade from 12.3p1x to 13.2-RELEASE, we have the same error > message here > > with bnxt (not tested with 13.1): > > > > dmesg: > > bnxt0: mem > > 0xb9a10000-0xb9a1ffff,0xb9100000-0xb91fffff,0xb9aa2000-0xb9aa3fff irq 4= 8 > at > > device 0.0 numa-domain 0 on pci9 > > bnxt0: Using 256 TX descriptors and 256 RX descriptors > > bnxt0: Using 12 RX queues 12 TX queues > > bnxt0: Using MSI-X interrupts with 13 vectors > > bnxt0: Ethernet address: d0:94:66:81:60:e3 > > bnxt0: netmap queues/slots: TX 12/256, RX 12/256 > > bnxt1: mem > > 0xb9a00000-0xb9a0ffff,0xb8800000-0xb88fffff,0xb9aa0000-0xb9aa1fff irq 5= 2 > at > > device 0.1 numa-domain 0 on pci9 > > bnxt1: Using 256 TX descriptors and 256 RX descriptors > > bnxt1: Using 12 RX queues 12 TX queues > > bnxt1: Using MSI-X interrupts with 13 vectors > > bnxt1: Ethernet address: d0:94:66:81:60:e4 > > bnxt1: netmap queues/slots: TX 12/256, RX 12/256 > > bnxt0: Link is UP full duplex, FC - none - 10000 Mbps > > bnxt0: link state changed to UP > > bnxt1: Link is UP full duplex, FC - none - 10000 Mbps > > bnxt1: link state changed to UP > > bnxt0: Attempt to re-allocate l2 ctx filter (fid: 0x117000000000204) > > bnxt1: Attempt to re-allocate l2 ctx filter (fid: 0x11c00000003f004) > > bnxt0: Attempt to re-allocate l2 ctx filter (fid: 0x125000000000204) > > bnxt1: Attempt to re-allocate l2 ctx filter (fid: 0x12800000003f004) > > bnxt0: HWRM_CFA_L2_SET_RX_MASK command returned RESOURCE_ALLOC_ERROR > error. > > bnxt0: set_multi: rx_mask set failed > > bnxt0: HWRM_CFA_L2_SET_RX_MASK command returned RESOURCE_ALLOC_ERROR > error. > > bnxt0: set_multi: rx_mask set failed > > [same messages x 100's] > > > > > > sysctl: > > > > dev.bnxt.0.%domain: 0 > > dev.bnxt.0.%parent: pci9 > > dev.bnxt.0.%pnpinfo: vendor=3D0x14e4 device=3D0x16d8 subvendor=3D0x1028 > > subdevice=3D0x1feb class=3D0x020000 > > dev.bnxt.0.%location: slot=3D0 function=3D0 dbsf=3Dpci0:94:0:0 > > dev.bnxt.0.%driver: bnxt > > dev.bnxt.0.%desc: Broadcom BCM57416 NetXtreme-E 10GBase-T Ethernet > > dev.bnxt.0.ver.hwrm_min_ver: 1.10.2 > > dev.bnxt.0.ver.package_ver: > > dev.bnxt.0.ver.chip_type: ASIC > > dev.bnxt.0.ver.chip_bond_id: 0 > > dev.bnxt.0.ver.chip_metal: 1 > > dev.bnxt.0.ver.chip_rev: 1 > > dev.bnxt.0.ver.chip_num: 5848 > > dev.bnxt.0.ver.phy_partnumber: 616740003 > > dev.bnxt.0.ver.phy_vendor: Amphenol > > dev.bnxt.0.ver.roce_fw_name: BONO_FW > > dev.bnxt.0.ver.netctrl_fw_name: KONG_FW > > dev.bnxt.0.ver.mgmt_fw_name: AFW_223.0.205.0 > > dev.bnxt.0.ver.hwrm_fw_name: CHIMP_FW > > dev.bnxt.0.ver.phy: 13.1.11 > > dev.bnxt.0.ver.fw_ver: 223.0.205.0/pkg 22.31.13.70 > > dev.bnxt.0.ver.roce_fw: 223.0.205 > > dev.bnxt.0.ver.netctrl_fw: 223.0.205 > > dev.bnxt.0.ver.mgmt_fw: 223.0.205 > > dev.bnxt.0.ver.hwrm_fw: 223.0.205 > > dev.bnxt.0.ver.driver_hwrm_if: 1.10.2.34 > > dev.bnxt.0.ver.hwrm_if: 1.10.2 > > > > --000000000000f6252e061975ae84 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, May 27, 2024 at 10:16=E2=80= =AFAM Santiago Martinez <sm@coden= etworks.net> wrote:
Hi Everyone,

Just wondering if anyone has any contact at broadcom.

The bnxt drivers on 14.1BETA1 are unusable.

Cards stop working randomly, LRO cannot be disable (fail FILTER_ALLOT), even chaining mtu renders the card unusable.

The cards, is the same it was used to open the original PR.

There's a series of reviews that I've reviewed= , but haven't yet been committed.

I think they= start at=C2=A0https://revie= ws.freebsd.org/D45005.

I'll see if I can p= revail upon them to commit them to -current soon.

= Warner
=C2=A0
Best regards.

Santiago


On 5/4/23 14:20, bugzilla-noreply@freebsd.org wrote:
> https://bugs.freebsd.org/bugzilla/sho= w_bug.cgi?id=3D269133
>
> --- Comment #8 from geoffroy desvernay <dgeo@centrale-marseille.fr> ---=
> Since upgrade from 12.3p1x to 13.2-RELEASE, we have the same error mes= sage here
> with bnxt (not tested with 13.1):
>
> dmesg:
> bnxt0: <Broadcom BCM57416 NetXtreme-E 10GBase-T Ethernet> mem > 0xb9a10000-0xb9a1ffff,0xb9100000-0xb91fffff,0xb9aa2000-0xb9aa3fff irq = 48 at
> device 0.0 numa-domain 0 on pci9
> bnxt0: Using 256 TX descriptors and 256 RX descriptors
> bnxt0: Using 12 RX queues 12 TX queues
> bnxt0: Using MSI-X interrupts with 13 vectors
> bnxt0: Ethernet address: d0:94:66:81:60:e3
> bnxt0: netmap queues/slots: TX 12/256, RX 12/256
> bnxt1: <Broadcom BCM57416 NetXtreme-E 10GBase-T Ethernet> mem > 0xb9a00000-0xb9a0ffff,0xb8800000-0xb88fffff,0xb9aa0000-0xb9aa1fff irq = 52 at
> device 0.1 numa-domain 0 on pci9
> bnxt1: Using 256 TX descriptors and 256 RX descriptors
> bnxt1: Using 12 RX queues 12 TX queues
> bnxt1: Using MSI-X interrupts with 13 vectors
> bnxt1: Ethernet address: d0:94:66:81:60:e4
> bnxt1: netmap queues/slots: TX 12/256, RX 12/256
> bnxt0: Link is UP full duplex, FC - none - 10000 Mbps
> bnxt0: link state changed to UP
> bnxt1: Link is UP full duplex, FC - none - 10000 Mbps
> bnxt1: link state changed to UP
> bnxt0: Attempt to re-allocate l2 ctx filter (fid: 0x117000000000204) > bnxt1: Attempt to re-allocate l2 ctx filter (fid: 0x11c00000003f004) > bnxt0: Attempt to re-allocate l2 ctx filter (fid: 0x125000000000204) > bnxt1: Attempt to re-allocate l2 ctx filter (fid: 0x12800000003f004) > bnxt0: HWRM_CFA_L2_SET_RX_MASK command returned RESOURCE_ALLOC_ERROR e= rror.
> bnxt0: set_multi: rx_mask set failed
> bnxt0: HWRM_CFA_L2_SET_RX_MASK command returned RESOURCE_ALLOC_ERROR e= rror.
> bnxt0: set_multi: rx_mask set failed
> [same messages x 100's]
>
>
> sysctl:
>
> dev.bnxt.0.%domain: 0
> dev.bnxt.0.%parent: pci9
> dev.bnxt.0.%pnpinfo: vendor=3D0x14e4 device=3D0x16d8 subvendor=3D0x102= 8
> subdevice=3D0x1feb class=3D0x020000
> dev.bnxt.0.%location: slot=3D0 function=3D0 dbsf=3Dpci0:94:0:0
> dev.bnxt.0.%driver: bnxt
> dev.bnxt.0.%desc: Broadcom BCM57416 NetXtreme-E 10GBase-T Ethernet
> dev.bnxt.0.ver.hwrm_min_ver: 1.10.2
> dev.bnxt.0.ver.package_ver: <unknown>
> dev.bnxt.0.ver.chip_type: ASIC
> dev.bnxt.0.ver.chip_bond_id: 0
> dev.bnxt.0.ver.chip_metal: 1
> dev.bnxt.0.ver.chip_rev: 1
> dev.bnxt.0.ver.chip_num: 5848
> dev.bnxt.0.ver.phy_partnumber: 616740003
> dev.bnxt.0.ver.phy_vendor: Amphenol
> dev.bnxt.0.ver.roce_fw_name: BONO_FW
> dev.bnxt.0.ver.netctrl_fw_name: KONG_FW
> dev.bnxt.0.ver.mgmt_fw_name: AFW_223.0.205.0
> dev.bnxt.0.ver.hwrm_fw_name: CHIMP_FW
> dev.bnxt.0.ver.phy: 13.1.11
> dev.bnxt.0.ver.fw_ver: 223.0.205.0/pkg 22.31.13.70
> dev.bnxt.0.ver.roce_fw: 223.0.205
> dev.bnxt.0.ver.netctrl_fw: 223.0.205
> dev.bnxt.0.ver.mgmt_fw: 223.0.205
> dev.bnxt.0.ver.hwrm_fw: 223.0.205
> dev.bnxt.0.ver.driver_hwrm_if: 1.10.2.34
> dev.bnxt.0.ver.hwrm_if: 1.10.2
>

--000000000000f6252e061975ae84--