Commit graph

5 commits

Author SHA1 Message Date
87893ded3e Build 26.7 for FreeBSD 15 only; port caam and cdx to its kernel
- caam: the bus activate, deactivate and release resource methods take
  no type and rid in FreeBSD 15.
- cdx: sys/cdefs.h defines __maybe_unused now; define it only if missing.
- 26.1 is end of life and no longer built: remove patches/26.1 and
  make-26.1.conf, default to 26.7 and FreeBSD 15.1 throughout, and move
  the build examples in README.md and RELEASE.md to 26.7.9. The 26.1
  tree on the mirror stays, for gateways that still have to upgrade.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 19:26:41 -05:00
Tomaz Zaman
e8cb4efca3 fastpath: relicense to GPL-2.0+ with proper NXP copyright attribution
The fastpath stack (CDX, CMM, cmmctl, auto_bridge, FCI, dpa_app)
derives from NXP's ASK SDK which is GPL-2.0+ licensed. Several
components compile NXP vendor source directly, and others include
verbatim GPL headers (list.h, jhash.h, fpp.h).

Change all BSD-2-Clause files in the fastpath stack to GPL-2.0+ and
add original copyright holders (Mindspeed Technologies, Freescale
Semiconductor, NXP) alongside Mono's copyright. Also fix "Ported
from" comment in include/desc.h to "Inspired by".

Components unaffected: pf_notify (100% original BSD), fmlib
(BSD-3-Clause NXP), fmc (MIT NXP).
2026-03-29 17:02:02 +02:00
Tomaz Zaman
1bc132cc48 CDX: PLCR/KG miss fixup, per-CPU dist FQs, clean kldunload
- Miss action fixup: Ethernet/PPPoE tables → PLCR policer (rate-limits
  exception traffic), all other tables → KG scheme with CC_EN (re-enters
  CC tree). Replaces previous ENQ_FRAME-to-default-FQID approach.

- Distribution FQRs now use per-CPU SW portal channels instead of pool
  channel, preventing TCP reordering on miss path.

- BMan buffer refill: cdx_dist_fq_rx_callback now calls
  dtsec_rm_pool_rx_refill_bpid() and frees buffers via
  dtsec_rm_buf_free_external() (per-port UMA zone) instead of direct
  bman_put_buffer().

- Clean kldunload: cdx_destroy_port_fqs() retires all dist FQRs,
  qman_portal_quiesce() drains in-flight portal polls.
  FM_PORT_DeletePCD() called on all dtsec RX + OH ports before hash
  table deletion, preventing FMan PCD exceptions after unload.
2026-03-05 23:49:54 +01:00
Tomaz Zaman
0ac9dbe362 Fix CAAM JR double enumeration, stale NOP interrupt, add make image target 2026-03-03 17:32:47 +01:00
Tomaz Zaman
5514d65ac5 Hello world. 2026-02-25 15:13:46 +01:00