mirror of https://github.com/OISF/suricata
dpdk: implement DPDK SW tests
Implement Github CI tests to run DPDK Suri with the minimal configuration to verify that Suricata can start in both IDS and IPS configuration.pull/10795/head
parent
28ac3c2097
commit
e54084fa87
@ -0,0 +1,38 @@
|
||||
%YAML 1.1
|
||||
---
|
||||
|
||||
outputs:
|
||||
- eve-log:
|
||||
enabled: yes
|
||||
filetype: regular
|
||||
append: false
|
||||
filename: eve.json
|
||||
level: Info
|
||||
types:
|
||||
- stats:
|
||||
totals: yes
|
||||
dpdk:
|
||||
eal-params:
|
||||
proc-type: primary
|
||||
vdev: net_null0
|
||||
no-huge:
|
||||
m: 256
|
||||
|
||||
interfaces:
|
||||
- interface: net_null0 # PCIe address of the NIC port
|
||||
threads: auto
|
||||
mempool-size: 511
|
||||
mempool-cache-size: auto
|
||||
rx-descriptors: 16
|
||||
tx-descriptors: 16
|
||||
copy-mode: none
|
||||
copy-iface: none # or PCIe address of the second interface
|
||||
|
||||
threading:
|
||||
set-cpu-affinity: yes
|
||||
cpu-affinity:
|
||||
- management-cpu-set:
|
||||
cpu: [ 0 ]
|
||||
- worker-cpu-set:
|
||||
cpu: [ "all" ]
|
||||
mode: "exclusive"
|
@ -0,0 +1,47 @@
|
||||
%YAML 1.1
|
||||
---
|
||||
|
||||
outputs:
|
||||
- eve-log:
|
||||
enabled: yes
|
||||
filetype: regular
|
||||
append: false
|
||||
filename: eve.json
|
||||
level: Info
|
||||
types:
|
||||
- stats:
|
||||
totals: yes
|
||||
|
||||
dpdk:
|
||||
eal-params:
|
||||
proc-type: primary
|
||||
vdev: ["net_null0", "net_null1"]
|
||||
no-huge:
|
||||
m: 256
|
||||
|
||||
interfaces:
|
||||
- interface: net_null0
|
||||
threads: 1
|
||||
mempool-size: 511
|
||||
mempool-cache-size: auto
|
||||
rx-descriptors: 16
|
||||
tx-descriptors: 16
|
||||
copy-mode: ips
|
||||
copy-iface: net_null1
|
||||
- interface: net_null1
|
||||
threads: 1
|
||||
mempool-size: 511
|
||||
mempool-cache-size: auto
|
||||
rx-descriptors: 16
|
||||
tx-descriptors: 16
|
||||
copy-mode: ips
|
||||
copy-iface: net_null0
|
||||
|
||||
threading:
|
||||
set-cpu-affinity: yes
|
||||
cpu-affinity:
|
||||
- management-cpu-set:
|
||||
cpu: [ 0 ]
|
||||
- worker-cpu-set:
|
||||
cpu: [ "1-2" ]
|
||||
mode: "exclusive"
|
Loading…
Reference in New Issue