Skip to content

What it cannot do

Moved here from the README on 2026-10-18, word for word, when the README was made shorter. Struck claims stay struck, with what replaced them beside them; links were only re-pointed to work from this folder.

⚠️ What it cannot do

Also ARMADA. The OCTEON TX limits are different and are listed on its own page. There both directions now work and the panel ports are interfaces, but nothing is optimised - every frame is copied, there is one queue per direction per interface and no offload - and the whole bring-up is a sequence of sysctls that has to be repeated after every reboot. That was 2026-10-01. There the bring-up runs at boot, connections and IPsec are offloaded to the coprocessor, and the host takes eight receive rings; what remains is that every frame crossing the host is copied once each way.

The datapath attaches once per coprocessor boot. The device waits for HOST_MGMT_READY once, answers once, and then spends the rest of its life in its command loop. A module reload on its own cannot be answered — three remedies were tried and measured not to help: closing the datapath down with PF_DISABLE/PF_CLOSE, which the device accepts and which changes nothing; retracting the stale handshake; and waiting thirty seconds instead of four.

What restores it is a coprocessor reboot, and the host can cause one itself. 06-npuctl pulses the reset line, and that pulse is a real reset rather than a release — so a pulse followed by a reload brings everything back with no power cycle. Verified, twice in a row: fourteen interfaces, the forwarding tables read back and confirmed, nwa: 14 of 14 ports up, and a front port brought up with no address counted forty frames off the wire in twelve seconds. A cold power cycle works too. A warm reboot runs the same hook, so it very probably does as well — still untested end to end, but no longer resting on an untested mechanism.

Once the engine has taken an outbound IPsec association, the module stays loaded until the appliance restarts (since 2026-11-28, issue 1230). A reload had taken it away while an association still named its copy of the kernel's ESP transform, and the host stopped with a general protection fault. reload.sh says so and changes nothing (measured), and the coprocessor's recovery in place restarts the appliance instead of taking it up again.

This file used to say a power cycle was the only way. That was wrong, and both reasons looked like hardware rather than like bugs: reload.sh parsed the PCI selector with an awk field separator that left out the tab pciconf prints, so it waited its whole timeout and reported a dead endpoint that had been answering all along; and the barmap parser read an entry the coprocessor had not written yet as a real one — every field zero, and zero is the control facility's id — so a half-published table failed attach outright. Both fixed.

The facility table takes about fourteen seconds to appear after a reset, and is not published atomically. The cookie lands before the entries do, so validating the cookie and reading on gets a partial table. The driver now waits for the facilities it actually needs. Measured at exactly fourteen seconds on two consecutive cycles.

Loading the driver too soon after a reset pulse hangs the host: a PCIe read to an endpoint still in reset neither returns nor times out, so there is no panic and no log — the machine simply stops. Both the driver and reload.sh now ask config space first, which is the safe question: a configuration read to a device that is not answering comes back as all-ones instead of being left outstanding. Measured after the fix, the endpoint answers config space the instant the pulse ends, so the guard costs nothing and only the facility table needs waiting for.

The interfaces are assigned in OPNsense, and they have to be. All twelve carry traffic and can be bridged; one of them is this appliance's WAN. Until a front port is assigned it is outside the firewall's own configuration and pf has no rules for it, so an unassigned port that looks up and carries nothing is usually that and not the driver.

A bridged front port needs promiscuous mode, and gets it by itself. The port's hardware filter admits unicast only for the address it owns, and a bridge member receives replies addressed to the bridge — so without it the port forwards broadcast and nothing else, which looks like a working port right up to the point where something tries to talk through it. The driver follows IFF_PROMISC: on when if_bridge adds the port, off when it leaves, nothing to configure.

The device's own packet counters are unavailable. GET_STATISTICS is answered, at full length, with zeros: Marvell's header labels that member CC_PF_PP2_STATISTICS, the physical packet processor's counters, and a function with no physical port has none. GET_GP_STATS, which is the GIU port's own, is not implemented by this firmware at all. The driver reports its own counts and says so plainly, because an instrument that prints a zero reading like a measurement is worse than one that admits it cannot see.

On the XGS 136, part of a stream whose data comes from the far side still crosses the host. The fast path hands a connection back when ten packets in a row carry the same acknowledgement, end and window - its rule for a retransmission, and one nothing turns off. Each time a connection is made or revived in hardware, its frames there overtake the ones still in the host's path; the receiver answers with duplicate acknowledgements, and the rule fires again. Since 0.1.0-alpha.6 npuep revives a connection every time it is handed back (#726): in heavy downloads the host carried most of the stream in 3 runs of 16 instead of 8, its frames fell from 931,000 to 447,000 on average and its CPU from 14.9 % to 9.5 %. What remains: in the heavy runs a connection is still revived 20 to 27 times, and of the frames that reach the host in the runs of 2026-10-27, 69 % arrive before it runs in hardware and 31 % after a hand-back; measured again on 2026-11-13, about 95 % of them arrive within 250 ms of a make or a revive, and turning the sequence check off changed nothing. In practice, part of some downloads that lose segments passes through the host, about 10 % of the CPU in those heavy runs, and there is nothing to set (#717).

Suricata sees how a connection starts, not all of it

Both families. Added 2026-10-24.

A connection carried by the coprocessor no longer crosses the host, and Suricata - OPNsense's Intrusion Detection - listens on the host. The flow maker hands a connection to the coprocessor after its first data, so what Suricata sees depends on how it runs:

  • In IPS mode, with XGS: Settings "Inspect, then hardware" on (on in a new install since 2026-11-14): each new connection goes through Suricata first. It sees the first megabyte - its own default stream depth - and drops what its rules block, and then the hardware carries the rest. Measured on both appliances: a new TCP stream inspected, then forwarded in hardware at 3.82 to 3.85 Gbit/s on the XGS 3300 and 930 to 940 Mbit/s on the XGS 136, and a stream its rule blocked kept dropped (the measurement).
  • In IDS mode, which only listens, or in IPS mode with that setting off: Suricata sees only how a connection starts. Nothing after the hand-over reaches it, and an alert that would come later does not come. No page says so yet. Since 2026-10-24 XGS: Overview and XGS: Settings say so while it is the case - measured on both appliances: of a 10-second stream, Suricata captured 63 packets on the XGS 3300 and 92,123 - the first second - on the XGS 136, against 2,148,522 and 1,613,702 with the flow maker off (the measurement).

For Suricata to see every frame of every connection, turn XGS: Settings "Accelerate connections automatically" off: the host then carries everything, at the host's speed.

XGS 136, added 2026-11-11. Where every frame goes through Suricata in IPS mode, it reads the four netmap rings of an XGS 136 port only when npuep gives each frame its receive queue as the flow id: dev.npuep.0.giu.rx_flowid at 1 and dev.netmap.generic_rings at 4 in System: Settings: Tunables, then Intrusion Detection restarted. Eight UDP flows through IPS went from 232 and 265 to 283 and 334 Mbit/s, with the CPUs then the limit; one flow gains nothing (the measurement).

XGS 136, added 2026-11-12. netmap's emulated adapter, the one Suricata gets on these ports, refuses a port whose MTU is above its 2,048-byte buffers, so a port inspected in IPS mode stays at MTU 2,048 or less. hw.npuep.netmap=1 at the loader gives each front port an adapter of its own, four rings each way on the XGS 136; with dev.netmap.buf_size at 9216 as well, a port at MTU 9000 runs through Suricata with its frames whole. Its four rings carry what the emulated adapter carries with the flow id above (the measurement). After the driver is loaded again - the coprocessor taken up again in place - restart Intrusion Detection: Suricata stays on the rings that were, and reads none of the new ones.

Discussion

The discussion of this page is held in the project's GitHub Discussions. Showing it here loads giscus from giscus.app and GitHub, and writing in it needs a GitHub account - what that means.