[Bug 269133] bnxt(4): BCM57416 - HWRM_CFA_L2_SET_RX_MASK command returned RESOURCE_ALLOC_ERROR error
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 269133] bnxt(4): BCM57414 / BCM57416"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Feb 2023 23:51:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269133
--- Comment #7 from Santiago Martinez <sm@codenetworks.net> ---
Been doing more tests and there are two issues:
One: related to the if in line 1480.
Second: the is related to the filter enabled on lines 1503-1505.
When i did the initial workaround it forgot that I have also commented out the
code:
if (vlan_tag != 0xffff) {
enables |=
HWRM_CFA_L2_FILTER_ALLOC_INPUT_ENABLES_L2_IVLAN |
HWRM_CFA_L2_FILTER_ALLOC_INPUT_ENABLES_L2_IVLAN_MASK |
HWRM_CFA_L2_FILTER_ALLOC_INPUT_ENABLES_NUM_VLANS;
req.l2_ivlan_mask = 0xffff;
req.l2_ivlan = vlan_tag;
req.num_vlans = 1;
}
I will do some more test tomorrow and compare it with the linux driver.
--
You are receiving this mail because:
You are the assignee for the bug.