Allow latency thresholds for TST009 testing
[samplevnf.git] / VNFs / DPPD-PROX / flow_gen / flow_gen_4ports.cfg
1 ;;
2 ;; Copyright (c) 2010-2017 Intel Corporation
3 ;;
4 ;; Licensed under the Apache License, Version 2.0 (the "License");
5 ;; you may not use this file except in compliance with the License.
6 ;; You may obtain a copy of the License at
7 ;;
8 ;;     http://www.apache.org/licenses/LICENSE-2.0
9 ;;
10 ;; Unless required by applicable law or agreed to in writing, software
11 ;; distributed under the License is distributed on an "AS IS" BASIS,
12 ;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ;; See the License for the specific language governing permissions and
14 ;; limitations under the License.
15 ;;
16
17 [eal options]
18 -n=4 ; force number of memory channels
19 no-output=no ; disable DPDK debug output
20
21 [port 2]
22 name=port_a
23 mac=00:00:00:00:00:03
24 rx desc=512
25 tx desc=1024
26 [port 3]
27 name=port_b
28 mac=00:00:00:00:00:04
29 rx desc=512
30 tx desc=1024
31
32 [port 4]
33 name=port_c
34 mac=00:00:00:00:00:01
35 rx desc=512
36 tx desc=1024
37 [port 5]
38 name=port_d
39 mac=00:00:00:00:00:02
40 rx desc=512
41 tx desc=1024
42
43 [lua]
44 dofile("flow_gen_4ports.lua")
45 [variables]
46 $drop=no
47
48 [defaults]
49 mempool size=$mempool_size
50
51 [global]
52 start time=5
53 name=L4 Gen
54
55 [core 0s0]
56 mode=master
57
58 [core 1s0]
59 task=0
60 mode=lbpos
61 tx cores=$port_a_clients
62 rx port=port_a
63 mempool size=32K
64 mbuf size=2560
65 byte offset=26
66 drop=$drop
67 ring size=16384
68
69 [core 1s0h]
70 task=0
71 mode=lbpos
72 tx cores=$port_b_servers
73 rx port=port_b
74 mbuf size=2560
75 byte offset=26
76 drop=$drop
77 ring size=16384
78
79 ;;;------------------------------
80
81 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
82 [core $port_a_clients]
83 name=p0
84 task=0
85 mode=genl4
86 tx port=port_a
87 rx ring=yes
88 bps=$bps
89 streams=c_${self}
90 concur conn=$conn
91 max setup rate=$msr
92
93 [core $port_b_servers]
94 name=p0
95 task=0
96 mode=genl4
97 sub mode=server
98 rx ring=yes
99 tx port=port_b
100 bps=$bps
101 streams=s_${self}
102 concur conn=$conn
103
104 ;;;;;;; socket 1 ;;;;;;;;;;;;;;;;;;;;;;;
105
106 [core 1s1]
107 name=ld
108 task=0
109 mode=lbpos
110 tx cores=$port_c_clients
111 rx port=port_c
112 mempool size=32K
113 mbuf size=2560
114 byte offset=26
115 drop=$drop
116 ring size=16384
117
118 [core 1s1h]
119 name=ld
120 task=0
121 mode=lbpos
122 tx cores=$port_d_servers
123 rx port=port_d
124 mbuf size=2560
125 byte offset=26
126 drop=$drop
127 ring size=16384
128
129 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
130 [core $port_c_clients]
131 name=p0
132 task=0
133 mode=genl4
134 tx port=port_c
135 rx ring=yes
136 bps=$bps
137 streams=c_${self}
138 concur conn=$conn
139 max setup rate=$msr
140
141 [core $port_d_servers]
142 name=p0
143 task=0
144 mode=genl4
145 sub mode=server
146 rx ring=yes
147 tx port=port_d
148 bps=$bps
149 streams=s_${self}
150 concur conn=$conn