Add testpmd as vswitch class
[vswitchperf.git] / conf / 06_pktfwd.conf
1 # Copyright 2016 Intel Corporation.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #   http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # ####################################################
16 # General packet forwarding configuration
17 # ####################################################
18
19 PKTFWD_DIR = os.path.join(ROOT_DIR, 'tools/pkt_fwd')
20 PKTFWD = 'TestPMD'
21
22 # ############################
23 # TestPMD configuration: http://dpdk.org/doc/guides/testpmd_app_ug/index.html
24 # ############################
25
26 TESTPMD_ARGS = []
27 # packet forwarding mode: io|mac|mac_retry|macswap|flowgen|rxonly|txonly|csum|icmpecho
28 TESTPMD_FWD_MODE = 'csum'
29 # checksum calculation layer: ip|udp|tcp|sctp|outer-ip
30 TESTPMD_CSUM_LAYER = 'ip'
31 # checksum calculation place: hw (hardware) | sw (software)
32 TESTPMD_CSUM_CALC = 'sw'
33 # recognize tunnel headers: on|off
34 TESTPMD_CSUM_PARSE_TUNNEL = 'off'
35
36 PIDSTAT_MONITOR = ['ovs-vswitchd', 'ovsdb-server', 'qemu-system-x86_64', 'testpmd']