From nobody Thu Feb 09 22:16:49 2023 X-Original-To: freebsd-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 4PCWS83zFzz3p7hR for ; Thu, 9 Feb 2023 22:16:56 +0000 (UTC) (envelope-from SRS0=jpR5Us=6F=codenetworks.net=sm@eigbox.net) Received: from bosmailout04.eigbox.net (bosmailout04.eigbox.net [66.96.189.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PCWS74xhdz4N1p for ; Thu, 9 Feb 2023 22:16:55 +0000 (UTC) (envelope-from SRS0=jpR5Us=6F=codenetworks.net=sm@eigbox.net) Authentication-Results: mx1.freebsd.org; dkim=none ("invalid DKIM record") header.d=codenetworks.net header.s=dkim header.b=uRxVwDbx; spf=pass (mx1.freebsd.org: domain of "SRS0=jpR5Us=6F=codenetworks.net=sm@eigbox.net" designates 66.96.189.4 as permitted sender) smtp.mailfrom="SRS0=jpR5Us=6F=codenetworks.net=sm@eigbox.net"; dmarc=none Received: from [10.20.15.8] (helo=bosmailscan08.eigbox.net) by bosmailout04.eigbox.net with esmtp (Exim) id 1pQFDq-00025g-0h for freebsd-net@freebsd.org; Thu, 09 Feb 2023 17:16:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codenetworks.net; s=dkim; h=Sender:Content-Transfer-Encoding:Content-Type: In-Reply-To:References:To:From:Subject:MIME-Version:Date:Message-ID:Reply-To: Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ar4IeA8VutoCDLgKv6GXsYkU1CFyyQFPHhBRTFB6E4E=; b=uRxVwDbx/zRDndsFoRH850e+gV PrTlUUmhnhT91ExmjKfRgfHnAyXIrNPinq62/coVtNzcWAAvxqtuP4JdjHDdoDd1ovoMMUvboXxAy YyGoIsHoipf6lX2cCKQySzwR86HNkShR9icSsm1ZpDNCBhtqdPGJZA33TZsgjeUV4Tr+e6BRzPpKy k5BceLHjhQY5A6BX7saNoJQwVcuJ7RSiEmplzIYo1e6oOIH4umvp24xZZtCSHJVHZR6uEvLtIgNzZ QaR6lz+eAcuX77eizZ9VJVT26jCqPIU9yYhGcVOpSIiQTIG6oB48EbUpQtfhiw7K5OckDu45m6zLB QQ74abDw==; Received: from [10.115.3.32] (helo=bosimpout12) by bosmailscan08.eigbox.net with esmtp (Exim) id 1pQFDp-0002Ys-L7 for freebsd-net@freebsd.org; Thu, 09 Feb 2023 17:16:53 -0500 Received: from bosauthsmtp12.yourhostingaccount.com ([10.20.18.12]) by bosimpout12 with id KAGq2900G0FdZ9W01AGtHc; Thu, 09 Feb 2023 17:16:53 -0500 X-Authority-Analysis: v=2.3 cv=d4VuNSrE c=1 sm=1 tr=0 a=wx0GOVZTcu8EuaXTIXj3VQ==:117 a=Ek/qOh1uPkKSHvd30yk7rg==:17 a=IkcTkHD0fZMA:10 a=m04uMKEZRckA:10 a=-Yl_685HdVUA:10 a=NEAV23lmAAAA:8 a=6I5d2MoRAAAA:8 a=huU4ZutuGF3Vgzlv0vgA:9 a=QEXdDO2ut3YA:10 a=2XXLTxtSpVBvEDin8mXy:22 a=IjZwj45LgO3ly-622nXo:22 Received: from cm-81-9-194-73.telecable.es ([81.9.194.73]:26666 helo=[192.168.3.100]) by bosauthsmtp12.eigbox.net with esmtpa (Exim) id 1pQFDm-0001BU-7J for freebsd-net@freebsd.org; Thu, 09 Feb 2023 17:16:50 -0500 Message-ID: <4b5bb0d9-4bc8-c5f3-ee27-f9e91a242e35@codenetworks.net> Date: Thu, 9 Feb 2023 23:16:49 +0100 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [Bug 269133] bnxt(4): BCM57416 - HWRM_CFA_L2_SET_RX_MASK command returned RESOURCE_ALLOC_ERROR error Content-Language: en-US From: Santiago Martinez To: "freebsd-net@freebsd.org" References: <07b88cac-9f46-9405-9a42-970fce1010eb@codenetworks.net> <5d39b3b1-ffe6-5082-1ec8-2d9d696c13e0@codenetworks.net> <6eb40273-4bac-5b8d-71c9-c96737e0a323@codenetworks.net> In-Reply-To: <6eb40273-4bac-5b8d-71c9-c96737e0a323@codenetworks.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-EN-UserInfo: d3bdfab0736480cedf04ed92aaea2ef5:931c98230c6409dcc37fa7e93b490c27 X-EN-AuthUser: sm@codenetworks.net X-EN-OrigIP: 81.9.194.73 X-EN-OrigHost: cm-81-9-194-73.telecable.es X-Spamd-Result: default: False [-2.67 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; NEURAL_HAM_LONG(-0.99)[-0.990]; NEURAL_HAM_SHORT(-0.68)[-0.681]; FORGED_SENDER(0.30)[sm@codenetworks.net,SRS0=jpR5Us=6F=codenetworks.net=sm@eigbox.net]; R_SPF_ALLOW(-0.20)[+ip4:66.96.128.0/18]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; R_DKIM_PERMFAIL(0.00)[codenetworks.net:s=dkim]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.96.189.4:from]; ASN(0.00)[asn:29873, ipnet:66.96.128.0/18, country:US]; RCVD_TLS_LAST(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; DKIM_TRACE(0.00)[codenetworks.net:~]; FROM_NEQ_ENVFROM(0.00)[sm@codenetworks.net,SRS0=jpR5Us=6F=codenetworks.net=sm@eigbox.net]; RCVD_COUNT_FIVE(0.00)[5]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[66.96.189.4:from]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[codenetworks.net: no valid DMARC record]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PCWS74xhdz4N1p X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N Hi there! just a quick update,  the issue is related the following code in bnxt_hwrm.c, line 1480. This gets always true and then returns. I have commented out this and the nics is working with stable/13 (today). Now not sure whats the correct check that this if should do, any hints??     if (*filter_id != -1) {         device_printf(softc->dev, "Attempt to re-allocate l2 ctx "             "filter (fid: 0x%jx)\n", (uintmax_t)*filter_id);         return EDOOFUS;     } Best regards. Santiago On 2/7/23 10:18, Santiago Martinez wrote: > Hi there, just in case, this is the link to the commit that broke the > driver for BMC57416. > > https://github.com/freebsd/freebsd-src/commit/91fcacc355971f74aa26fc7861020dc3a2a2d717 > > > I'm worried that we are getting close to 13.2 and if its shipped as it > is I'm pretty sure it will break some deployments. > > Best regards. > > Santiago > > > On 2/3/23 09:05, Santiago Martinez wrote: >> Hi everyone, >> >> Seems that commit "2db35273502b3c35aa653effc5c97618567367ab" brakes >> bnxt driver for BCM57416 based cards. >> >> I have tried reverting the commit and the servers are now back online. >> >> if anyone has some spare time and energy, can please take a look at >> the commit, as I´m not sure what part of the commit is braking it. >> >> For detail please refer to bugzilla. >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269133 >> >> Thanks a lot! >> >> Santiago >> >> >> >