Ed Czeck
June 2017

Required Bitstream Class: FX100GX1 FX10GX4 FXPPP

This directory contains a simple TX performance test. A set of fixed
packets are generated on the host.  Packet on sent downstream via the
DDM and then to the packet director.  The packet director discards all
packets.  The goal of this test is to measure the raw Tx (downstream)
performance of Arkville without regard to any host application or
customer FPGA logic.

The test setup consists of 3 layers.
-- The core C++ application (ark_txperf_raw.cpp)
-- The Makefile which sets up the environment and call the application
   with appropriate arguements.  The configuration for the packet
   generator (pg.conf) is created for each run of the application.
-- A runtest.sh script which invokes the application via the Makefile
   for a range of configurations.
These options are described in greater detail below.


Options for the applications are:
  --burst       -b <val>     Number of packets read in each burst
  --txQueueSize -t <val>     Size of buffer queue
  --minPkt      -m <val>     Min packet size
  --maxPkt      -M <val>     Max packet size
  --cores       -c <val>     Number of cores to distribute workload
  --runtime     -r <val>     Run time in seconds for the packet generator
  --help        -h           Obvious message


Environments variable which are read in the Makefile are passed to the
application or otherwise set in the packet generator configuration.
	 QUEUESIZE      Set Rx and Tx Queue Depth
	 BURST          Set Burst for Rx
	 CORES          Number of Cores to use
	 PKTSIZEMIN     Min Packet Size generated
	 PKTSIZEMAX     Max Packet Size generated
	 RUNTIME        Runtime of pkt generator (seconds)


Limitations: Only supports testing on a single port.
