opnsense-deps/fastpath/Makefile.inc
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

10 lines
328 B
Makefile

# Common build settings for fastpath FreeBSD modules
# Cross-compile: env MAKEOBJDIRPREFIX=/tmp/obj make TARGET=arm64 TARGET_ARCH=aarch64
#
# Copyright 2026 Mono Technologies Inc.
# SPDX-License-Identifier: BSD-2-Clause
FASTPATH_ROOT= ${.CURDIR}/..
CFLAGS+= -I${FASTPATH_ROOT}/include
CFLAGS+= -DENDIAN_LITTLE -DGCC_TOOLCHAIN