Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2022 13:04:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 268352] bnxt(4) can't re-use a leaf
Message-ID:  <bug-268352-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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: <Broadcom BCM57416 NetXtreme-E 10GBase-T Ethernet> 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268352-227>