Enterprise - FW - 02-Hardware Acceleration On FortiGate
Enterprise - FW - 02-Hardware Acceleration On FortiGate
Hardware Acceleration
FortiOS 7.2
© Copyright Fortinet Inc. All rights reserved. LastLast
Modified:
Modified:
January
January
23, 23,
20242024
Objectives
• Describe the architecture of hardware offload on FortiGate
• Explain NP7, NP6, NTurbo, SoC4, and CP9 processors and their features
• Describe how traffic is offloaded from kernel to NP
• Describe the limitations of offloading the traffic
• Configure hardware acceleration
3
Security Processing Unit
CPU
8
NP7 Processor
• 1 channel of 8 PCIe host interfaces
• Maximum 200 Gbps forwarding throughput
• Two 100-Gbps interfaces
• Accelerated session setup and logging
• Hyperscale services
• License required for high-end devices
• GCNAT and hardware logging support
• Volumetric DDoS protection
• IPsec VPN improvement
• Higher throughput
• Suite B IPsec acceleration with ESN support
• GTP load balancing
14
NP Offloading Packet Flow
• The NP alters traffic when offloading packets
• The packets initiating a session pass to the CPU
• FortiGate verifies if the packets matches session offloading requirements
• The requirements depend on the type of NP
• The assessment determines only whether to fast-path packets
• If the packets meet requirements, the session key or IPsec SA pass to the NP
• The NP continues to match packets on ingress ports
• The NP accepts packets, or drops them if further anomaly checks are required
• IPS anomaly checks are separate from the NP checks
• The NP checks the session key or IPsec SA
• If it finds a match, packet acceleration continues, and the NP offloads the packets from the FortiGate
CPU
• If the session doesn't match or meet requirements, the NP cannot offload it and sends
the packets to the FortiGate CPU
Yes No No
part of traffic:
• TCP traffic: the first three-way handshake
CPU
• UDP traffic: the first packet
• The CPU accelerates and offloads the rest of
the traffic PCI bus
SYN/ACK
Data
Data
SYN
ACK
© Fortinet Inc. All Rights Reserved. 17
Traffic Offload Limitations
18
NP7 Processor—Sessions Limits
• The NP7 processor supports a maximum of 12 million sessions
• If it exceeds the maximum, the processor does not offload further new traffic and the
main CPU takes control
• To prevent this issue, distribute incoming sessions evenly among available NP7
processors
Name Protocol
TCP Transmission control protocol
UDP User datagram protocol
These protocols are
IP-in-IP IPv4 IP-in-IP encapsulation accelerated only in
pass-through mode
ICMP Internet control message protocol
RDP Reliable data protocol
IPv6 IPv6 encapsulation
GRE Generic routing encapsulation
ESP Encapsulating security payload
ETHERIP or EoIP Ethernet over IP
SCTP Stream control transmission protocol
Name Protocol
ESP used for IPsec VPN IPsec VPN tunneling
CAPWAP Communication between wireless
access points and wired LANs or
between different wireless access
points
VXLAN VXLAN and VXLAN over IPsec.
Provides secure communication
between data centers over public
networks
23
Strict Header Checking
• You can disable hardware acceleration to enforce header checking
• check-protocol-header strict disables all NPs and CPs
config system global
set check-protocol-header [loose|strict]
end