Bug 269133 - bnxt(4): BCM57416 - HWRM_CFA_L2_SET_RX_MASK command returned RESOURCE_ALLOC_ERROR error
Summary: bnxt(4): BCM57416 - HWRM_CFA_L2_SET_RX_MASK command returned RESOURCE_ALLOC_...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 13.1-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-24 19:43 UTC by Santiago Martinez
Modified: 2023-01-26 03:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago Martinez 2023-01-24 19:43:38 UTC

    
Comment 1 Graham Perrin freebsd_committer 2023-01-24 22:02:09 UTC
Was this intended to be a separate bug report? 

I see you as a commenter under bug 245981, 

bnxt(4): BCM57414 / BCM57416 not initializing: bnxt0: Unable to allocate device TX queue / queue memory
Comment 2 Santiago Martinez 2023-01-25 09:46:13 UTC
Dear Graham, I'm sorry, didn't realize I submitted it. 

Yes, the intention was to create a separate one it seems to be different.

I'm having issues with the BCM57416 on 13-STABLE from yesterday (24-JAN-2023).


[49] bnxt0: HWRM_CFA_L2_SET_RX_MASK command returned RESOURCE_ALLOC_ERROR error.
[49] bnxt0: set_multi: rx_mask set failed
[49] bnxt0: HWRM_CFA_L2_SET_RX_MASK command returned RESOURCE_ALLOC_ERROR error.
[49] bnxt0: set_multi: rx_mask set failed
[49] bnxt0: HWRM_CFA_L2_SET_RX_MASK command returned RESOURCE_ALLOC_ERROR error.
[49] bnxt0: set_multi: rx_mask set failed

It was working good with stable/13-n252199-9644bc4a1126.

I have tried removing all offloading features but after each ifconfig bnxt0 -capability it returns the same ALLOC error. Have tried adding promisc and the same results. The interface up and link are up but no traffic.

The interface bnxt0 has three 802.1q sub-interfaces 

sysctl :

dev.bnxt.0.%pnpinfo: vendor=0x14e4 device=0x16d8 subvendor=0x15d9 subdevice=0x16d8 class=0x020000
dev.bnxt.0.%location: slot=0 function=0 dbsf=pci0:199:0:0 handle=\_SB_.S0D0.D0A6.D017
dev.bnxt.0.%driver: bnxt
dev.bnxt.0.%desc: Broadcom BCM57416 NetXtreme-E 10GBase-T Ethernet
dev.bnxt.0.ver.hwrm_min_ver: 1.2.2
dev.bnxt.0.ver.package_ver: 214.0.286.18
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: 
dev.bnxt.0.ver.phy_vendor: 
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_214.0.253.2
dev.bnxt.0.ver.hwrm_fw_name: CHIMP_FW
dev.bnxt.0.ver.phy: 13.1.11
dev.bnxt.0.ver.roce_fw: 214.0.187
dev.bnxt.0.ver.netctrl_fw: 214.0.241
dev.bnxt.0.ver.mgmt_fw: 214.0.253
dev.bnxt.0.ver.hwrm_fw: 214.4.9
dev.bnxt.0.ver.driver_hwrm_if: 1.8.1.7
dev.bnxt.0.ver.hwrm_if: 1.10.0