Page MenuHomeFreeBSD

if_bnxt: don't reserve RoCE MSI-x on chips that don't support RoCE
ClosedPublic

Authored by sumit.saxena_broadcom.com on Aug 21 2026, 3:40 PM.
Tags
None
Referenced Files
F175284629: D59091.id189212.diff
Fri, Oct 9, 4:37 PM
F175275550: D59091.id187968.diff
Fri, Oct 9, 3:50 PM
F175274696: D59091.id184668.diff
Fri, Oct 9, 3:43 PM
F175274605: D59091.id184668.diff
Fri, Oct 9, 3:42 PM
F175265261: D59091.id.diff
Fri, Oct 9, 1:56 PM
F175265240: D59091.id189212.diff
Fri, Oct 9, 1:56 PM
Unknown Object (File)
Mon, Oct 5, 4:41 AM
Unknown Object (File)
Sat, Oct 3, 6:44 PM
Subscribers

Details

Summary

RoCE is only supported on Thor and onwards chips.
bnxt_init_sctx_variants() unconditionally set isc_admin_intrcnt to
BNXT_ROCE_IRQ_COUNT for every PF device, stealing 9 MSI-x vectors from
older, non-RoCE-capable chips that will never use them.

Gate the reservation on the device ID: RoCE-capable chips keep
BNXT_ROCE_IRQ_COUNT, other chips fall back to 1, the baseline
isc_admin_intrcnt value used before RoCE support (commit 050d28e13cde).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable