From nobody Tue Dec 13 13:04:38 2022 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 4NWdxf62yLz4l1w3 for ; Tue, 13 Dec 2022 13:04:38 +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 4NWdxf43Cmz3QmC for ; Tue, 13 Dec 2022 13:04:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670936678; 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=9gI5465bzclIqf4WU5AZbymk+NcT2+Rvxpn+tDIJqLA=; b=chtxbhNFb4O+5zNYxYhHPBzCWKaBugrnpIknjZcYwGxGq4XY/hfFUQZtu5aLnb/zTHNC8n 9tkozagQtq4ruAtcxJCyJd72bB0tcwFpDDA0aKkaeKSab8hh0zeWVKDXgY84LjOfZyKPmr bMShfzSLJTPzcKVSLzj0OfgjpcB6joCyBkCgO/IVG+BJtrglpJd6a/4IThgure8sqR7Iwy Zk5BsmRlSa/Vk8D2meM8ocrJxyO4D6mni2n41R63PfTnb55dpEuSjU0XqdwAQrPLg3DA2o RuRUb1ZFnR2a/WddMugZGt8uA7em+vFIeP6hv58uQwb2vpGuvICE6eOEP9dxag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670936678; a=rsa-sha256; cv=none; b=CA1R8vI9aDfyMpqwsrqJWvmcVQAn+LGqQuTtXOLSF40UTsK2g+nqCB6o/ozZ2Sm+jLYoV2 QAKyPUR0gijYuhnyo+WWqTcs6KyBEMYzC7tBUuFfTp8L4PzKtwkzXrFTWh2+7aIKHMGQH4 KxdAr5GgiUPlhCJEzosxbPC/Z8h6BVIayWzr+Ui+2T9MASiji6Kn1sqXD9hz6WqqduZfLo YL5YbPI9MBqylqBC59vL6PaIU+5S2jTSlA6Npervmwot7yIqaCP3u4ilfmTVfFPQB4HNju ZJUgdViJvjWtFJ5xubvivgJfFMfk4FBudiMHdthj739Ga0XQg44mDFAeQ2U4xg== 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 4NWdxf2kJGzFRS for ; Tue, 13 Dec 2022 13:04:38 +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 2BDD4cHu081176 for ; Tue, 13 Dec 2022 13:04:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BDD4cht081175 for bugs@FreeBSD.org; Tue, 13 Dec 2022 13:04:38 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 268352] bnxt(4) can't re-use a leaf Date: Tue, 13 Dec 2022 13:04:38 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sdalu@sdalu.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 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268352 Bug ID: 268352 Summary: bnxt(4) can't re-use a leaf Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: sdalu@sdalu.com When loading bnxt(4) driver, numerous warning are displayed (sysctl) as wel= l as some failure (BAR0 mapping, IFDI_ATTACH_PRE) ~~~ sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.%desc)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.%driver)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.%location)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.%pnpinfo)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.%parent)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.%domain)! bnxt0: mem 0xb8410000-0xb841ffff,0xb8300000-0xb83fffff,0xb8422000-0xb8423fff at device= 0.0 numa-domain 0 on pci17 sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.iflib.driver_version)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.iflib.override_ntxqs)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.iflib.override_nrxqs)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.iflib.override_qs_enable= )! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.iflib.disable_msix)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.iflib.rx_budget)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.iflib.tx_abdicate)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.iflib.core_offset)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.iflib.separate_txrx)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.iflib.use_logical_cores)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.iflib.override_ntxds)! sysctl_warn_reuse: can't re-use a leaf (dev.bnxt.0.iflib.override_nrxds)! bnxt0: PCI BAR0 mapping failure bnxt0: IFDI_ATTACH_PRE failed 6 device_attach: bnxt0 attach returned 6 pci0:72:0:0: Device leaked memory resources ~~~ Nevertheless the device seems to be working=20 (I haven't try heavy load or complex configuration yet) Also perhaps related to the above errors, renaming interface in rc.conf usi= ng ifconfig_xxx_name, fails to have it's ip address configured later in rc.conf Failing example: ifconfig_bnxt0_name=3D"net0" ifconfig_net0=3D"inet aaa.bbb.ccc.ddd/24" But the following works ifconfig_bnxt0=3D"inet aaa.bbb.ccc.ddd/24 name net0" --=20 You are receiving this mail because: You are the assignee for the bug.=