[Bug 269133] bnxt(4): BCM57416 - HWRM_CFA_L2_SET_RX_MASK command returned RESOURCE_ALLOC_ERROR error

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 08 Jan 2024 09:42:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269133

--- Comment #60 from Kristof Provost <kp@freebsd.org> ---
(In reply to Werner Fischer from comment #59)
The tool seems to be called niccli.freebsd, and doesn't quite take the options
you listed, but it does have a getoption command in it's CLI, and produces
this:

./niccli.freebsd -dev 1 getoption -name afm_rm_resc_strategy     

-------------------------------------------------------------------------------
Scrutiny NIC CLI v228.0.132.0 - Broadcom Inc. (c) 2023 (Bld-61.52.25.90.16.0)
-------------------------------------------------------------------------------

ERROR: Getting option 'afm_rm_resc_strategy' value does not support on this
hardware.
ERROR: Get option failed for option 'afm_rm_resc_strategy'.

EXIT CODE   : C0000001
DESCRIPTION : Command failed with generic failure status.
              Command getoption failed.

It also makes WITNESS unhappy:

...
uma_zalloc_debug: zone "malloc-256" with the following non-sleepable locks
held:
exclusive sleep mutex BNXT MGMT Lock (BNXT MGMT Lock) r = 0
(0xffffffff82039590) locked @ /usr/src/sys/dev/bnxt/bnxt_mgmt.c:347
stack backtrace:
#0 0xffffffff80bc6c35 at witness_debugger+0x65
#1 0xffffffff80bc7d79 at witness_warn+0x3e9
#2 0xffffffff80ee4994 at uma_zalloc_debug+0x34
#3 0xffffffff80ee44a7 at uma_zalloc_arg+0x27
#4 0xffffffff80b25a5e at malloc+0x7e
#5 0xffffffff8202f6d9 at bnxt_mgmt_ioctl+0x869
#6 0xffffffff809dbde2 at devfs_ioctl+0xd2
#7 0xffffffff80c60fe2 at vn_ioctl+0xc2
#8 0xffffffff809dc4be at devfs_ioctl_f+0x1e
#9 0xffffffff80bcc526 at kern_ioctl+0x286
#10 0xffffffff80bcc233 at sys_ioctl+0x143
#11 0xffffffff81057453 at amd64_syscall+0x153
#12 0xffffffff81028deb at fast_syscall_common+0xf8

-- 
You are receiving this mail because:
You are the assignee for the bug.