Trex_speed_improvement: Add logic for dealing with high speed cards 79/51779/11
authorChristian Trautman <ctrautma@redhat.com>
Tue, 6 Feb 2018 18:57:42 +0000 (13:57 -0500)
committerChristian Trautman <ctrautma@redhat.com>
Fri, 23 Feb 2018 13:47:25 +0000 (08:47 -0500)
commit3f0fe318257a7d1c73a17081302946cdc4e69c00
tree16c899cd362773531f1d8f3a92a41563b0d231cb
parent23eff36d6a4b9e42ce06152e2b75e50fb7aaa5c5
Trex_speed_improvement: Add logic for dealing with high speed cards

Adds configuration options and logic to detect maximum supported
speed of T-Rex server side cards.

1. Adds logic to pull maximum supported speed from port info
2. Adds forcable option to have user specify maximum speed
3. If logic cannot detect speed from port_info because it is
   not available or the forcable option is not set it will
   assume 10G speeds.
4. Tested on Intel XXV25G and Mellanox ConnectX-5 cards
5. Added packet structure logging to show packet info for
   better debugging capabilities
6. Adds core mask to take advantage of multiple cores if
   server is started with more than default number of cores
7. Adds packets lost logging to RFC2544 Throughput testing

JIRA: VSPERF-559

Change-Id: I7fcfda7ccc408c30830950ee3668e01b8624c20a
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
conf/03_traffic.conf
conf/10_custom.conf
docs/testing/user/configguide/trafficgen.rst
tools/pkt_gen/trex/trex.py