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

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Feb 2023 22:20:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269133

--- Comment #4 from Santiago Martinez <sm@codenetworks.net> ---
The issue is related to the following code in bnxt_hwrm.c, line 1480.
This gets always true and then returns. I have commented on this and the NICs
are working with stable/13 (today).

Now not sure what is the correct check that this "if" should do, any hints??

    if (*filter_id != -1) {
        device_printf(softc->dev, "Attempt to re-allocate l2 ctx "
            "filter (fid: 0x%jx)\n", (uintmax_t)*filter_id);

        return EDOOFUS;
    }

[408] bnxt0: vlan tag : 0x3fc, filter-id: 0x106000000000204)
[408] bnxt0: Attempt to re-allocate l2 ctx filter (fid: 0x106000000000204)
[408] bnxt0: vlan tag : 0x3f3, filter-id: 0x107000000000404)
[408] bnxt0: Attempt to re-allocate l2 ctx filter (fid: 0x107000000000404)
[408] bnxt0: vlan tag : 0x3f2, filter-id: 0x108000000000604)
[408] bnxt0: Attempt to re-allocate l2 ctx filter (fid: 0x108000000000604)

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