Page MenuHomeFreeBSD

if_bnxt: add bnxt_compat.h version-compat shim
ClosedPublic

Authored by sumit.saxena_broadcom.com on Aug 3 2026, 12:15 PM.
Tags
None
Referenced Files
F175318544: D58604.id183283.diff
Fri, Oct 9, 10:26 PM
F175318479: D58604.id.diff
Fri, Oct 9, 10:25 PM
Unknown Object (File)
Sat, Oct 3, 5:19 PM
Unknown Object (File)
Mon, Sep 28, 4:13 PM
Unknown Object (File)
Sat, Sep 26, 12:50 PM
Unknown Object (File)
Mon, Sep 21, 3:46 PM
Unknown Object (File)
Wed, Sep 16, 10:59 PM
Unknown Object (File)
Wed, Sep 16, 1:17 PM
Subscribers

Details

Summary

Add bnxt_compat.h, a small __FreeBSD_version-gated compatibility
shim: if_getmtu()/if_name()/if_getsoftc()/if_getflags() fallbacks for
pre-1500000, and a config-task vs. config-gtask abstraction over the
iflib API split at 1403000. On this branch's FreeBSD version it also
unconditionally enables KTLS_IFLIB_SUPPORT/KTLS_REC_SEQ_NUMBER, which
the upcoming kTLS patch depends on.

Diff Detail

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