DPDK global settings
You must first enable DPDK and associate it to the interfaces which DPDK will polled for traffic. Enabling DPDK for the first time requires a system reboot.
config dpdk global
set status enable
set interface "port2" "port3" "port4" "port5"
set multiqueue enable
set sleep-on-idle disable
set elasticbuffer disable
set per-session-accounting traffic-log-only
set hugepage-percentage 25
set mbufpool-percentage 20
end
See DPDK global settings for a detailed explanation of these configuration items.
You can then use these interfaces as normal in FortiOS. The following uses these interfaces to create LAGs to handle traffic:
config system interface
edit "LAG-IN"
set vdom "root"
set ip 10.0.0.254 255.255.0.0
set allowaccess ping
set type aggregate
set member "port2" "port3"
set lldp-reception disable
set lldp-transmission disable
set snmp-index 7
set lacp-mode static
next
edit "LAG-OUT"
set vdom “root”
set ip 10.1.0.254 255.255.0.0
set allowaccess ping
set type aggregate
set member "port4" "port5"
set lldp-reception disable
set lldp-transmission disable
set snmp-index 8
set lacp-mode static
next
end