Comprehensive and Detailed Explanation:
PAN-OS uses different packet-processing paths depending on whether an incoming packet belongs to an existing session or requires a new session to be established.
The slow path processes packets that do not match an existing session entry in the firewall session table.
When the first packet of a new connection arrives, the firewall must perform several operations before creating the associated session.
These operations include route and forwarding lookups, destination zone determination, NAT policy evaluation, DoS Protection policy evaluation, User-ID processing, and Security policy matching.
If the packet satisfies the required checks and the applicable Security policy permits the connection, PAN-OS allocates a session entry and installs it in the session table.
Subsequent packets belonging to the established session generally enter the fast path, avoiding repeated execution of the initial session establishment operations.
The fast path continues to support applicable packet processing, application identification, content inspection, and other security functions.
Eligible traffic may subsequently benefit from hardware acceleration or session offloading when the firewall architecture and inspection requirements permit it.
A packet repeatedly denied before session creation may continue entering the slow path because no permitted session entry exists.
Therefore, the defining condition for slow-path processing is the absence of an established matching session.
Official Reference: Palo Alto Networks — Knowledge Base — Differences Between Packets in Slow Path, Fast Path and Offloaded; PAN-OS Packet Flow.