;; ;; Copyright (c) 2010-2017 Intel Corporation ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; Unless required by applicable law or agreed to in writing, software ;; distributed under the License is distributed on an "AS IS" BASIS, ;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ;; See the License for the specific language governing permissions and ;; limitations under the License. ;; [eal options] -n=4 ; force number of memory channels no-output=no ; disable DPDK debug output [lua] dofile("parameters.lua") [port 0] name=p0 [variables] $mbs=8 [defaults] mempool size=4K [global] name=Basic Gen [core 0] mode=master [core 1] name=p0 task=0 mode=gen sub mode=l3 rx ring=yes tx port=p0 bps=1250000000 pkt inline=00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d ${gen_hex_ip} ${sut_hex_ip} 0b b8 0b b9 00 08 55 7b gateway ipv4=${sut_ip} local ipv4=${gen_ip} min bulk size=$mbs ;random=XXXXXXXXXXXXXXXX ;random=0000000000XXXXXX ; 64 possibilities ;rand_offset=34 ; SOURCE UDP PORT ;random=XXXXXXXXXXXXXXXX ;random=000000000XXXXXXX ; 128 ;rand_offset=36 ; DESTINTAITON UDP PORT [core 2] task=0 mode=arp rx port=p0,p0,p0,p0 tx port=p0 tx cores=1t0