imarom [Wed, 28 Sep 2016 11:57:43 +0000 (14:57 +0300)]
performance tweak - faster checksum
Yaroslav Brustinov [Wed, 28 Sep 2016 11:32:21 +0000 (14:32 +0300)]
cpp arg parser changes argv, on second iteration data might be not valid => copy the argv before each call.
Yaroslav Brustinov [Wed, 28 Sep 2016 11:22:31 +0000 (14:22 +0300)]
trex-console: add print of Python error in case of error loading profile in TUI
Yaroslav Brustinov [Wed, 28 Sep 2016 10:37:09 +0000 (13:37 +0300)]
stl api - importing profile: use given directory as first path, not last
Yaroslav Brustinov [Wed, 28 Sep 2016 09:23:17 +0000 (12:23 +0300)]
find_python.sh by default find any available Python, allow 3.5 too.
t-rex-64 fix case of no $USER when not in tty
imarom [Tue, 27 Sep 2016 06:08:41 +0000 (09:08 +0300)]
fix regression issues with step/init values
TODO: random limit currently does not support limit less than core
count - it is possible to solve this by giving redundant cores
the same seed and limit (currently it is blocked)
Yaroslav Brustinov [Tue, 27 Sep 2016 06:08:57 +0000 (09:08 +0300)]
/etc/trex_cfg.yaml allow MAC as string "12:34:56:78:9a:bc" etc.
dpdk_setup_ports: fix create config in case of VM & passthrough
Hanoh Haim [Mon, 26 Sep 2016 14:51:38 +0000 (17:51 +0300)]
update stl doc
imarom [Mon, 26 Sep 2016 12:10:39 +0000 (15:10 +0300)]
regression failure: VM with dec might not be able to pad the instruction to true cycle implictly
imarom [Sun, 25 Sep 2016 15:45:04 +0000 (18:45 +0300)]
merge issues with rand limit
imarom [Sun, 25 Sep 2016 11:58:51 +0000 (14:58 +0300)]
split multicore - all tests pass
imarom [Sun, 25 Sep 2016 06:15:17 +0000 (09:15 +0300)]
fixing up all gtests results (due to split now in order instead of
segments)
imarom [Wed, 21 Sep 2016 15:12:46 +0000 (18:12 +0300)]
Splitter - padding for non circular VMs
imarom [Sun, 18 Sep 2016 11:40:13 +0000 (14:40 +0300)]
client var support split now
imarom [Wed, 14 Sep 2016 10:31:39 +0000 (13:31 +0300)]
draft: new split algorithm
Yaroslav Brustinov [Thu, 22 Sep 2016 00:39:33 +0000 (03:39 +0300)]
stl test rx_check virtio fixes + syntax sugar
Yaroslav Brustinov [Wed, 21 Sep 2016 11:23:52 +0000 (14:23 +0300)]
fixes to dpdk startup scripts
Yaroslav Brustinov [Wed, 14 Sep 2016 23:00:07 +0000 (02:00 +0300)]
regression: trex12 is vm
Yaroslav Brustinov [Wed, 14 Sep 2016 14:30:21 +0000 (17:30 +0300)]
regression: lower multiplier for assymetric imix at trex24
Yaroslav Brustinov [Wed, 14 Sep 2016 11:46:08 +0000 (14:46 +0300)]
regression: increase ipg in benckmark test with pcap at trex24
Yaroslav Brustinov [Tue, 13 Sep 2016 17:23:19 +0000 (20:23 +0300)]
typo
Hanoh Haim [Tue, 13 Sep 2016 12:27:05 +0000 (15:27 +0300)]
fix regression
Hanoh Haim [Tue, 13 Sep 2016 12:26:27 +0000 (15:26 +0300)]
fix random_limit max value
Hanoh Haim [Tue, 13 Sep 2016 12:13:31 +0000 (15:13 +0300)]
add repetable_random example profile
Hanoh Haim [Tue, 13 Sep 2016 11:49:03 +0000 (14:49 +0300)]
add python test
Hanoh Haim [Tue, 13 Sep 2016 10:08:10 +0000 (13:08 +0300)]
add min/max to repeatable random inst
Hanoh Haim [Mon, 12 Sep 2016 15:19:46 +0000 (18:19 +0300)]
more tests
Hanoh Haim [Mon, 12 Sep 2016 14:55:48 +0000 (17:55 +0300)]
add rand_limit tests
Hanoh Haim [Mon, 12 Sep 2016 14:29:33 +0000 (17:29 +0300)]
add rand limit instruction DP
Yaroslav Brustinov [Tue, 13 Sep 2016 14:30:14 +0000 (17:30 +0300)]
dpdk Python scripts small fixes
ensure log dir exists for trex daemon
regression: add trex24 setup
Sphinx docs remove "capture" tag for compatibility with 1.2 version
Ido Barnea [Thu, 8 Sep 2016 09:04:59 +0000 (12:04 +0300)]
APIs and functions in preparation for receive all mode. XL710/i350 mode toggling work.
imarom [Mon, 12 Sep 2016 10:41:51 +0000 (13:41 +0300)]
added minimum values for validate command
see https://trex-tgn.cisco.com/youtrack/issue/trex-243
imarom [Thu, 8 Sep 2016 10:59:27 +0000 (13:59 +0300)]
dual mode fix: MAC address on the slave port was not updated
Ido Barnea [Thu, 8 Sep 2016 10:22:36 +0000 (13:22 +0300)]
Fix issue of reading RX queue from DP core even when we are not in VM mode
imarom [Wed, 7 Sep 2016 13:20:11 +0000 (16:20 +0300)]
dual remote - tests missing PCAPs
imarom [Wed, 7 Sep 2016 08:48:23 +0000 (11:48 +0300)]
support for DUAL mode on small PCAPs
imarom [Mon, 5 Sep 2016 10:36:07 +0000 (13:36 +0300)]
ERF reader missing rewind
imarom [Mon, 5 Sep 2016 07:32:08 +0000 (10:32 +0300)]
dual mode : code review fixes
imarom [Mon, 5 Sep 2016 07:22:03 +0000 (10:22 +0300)]
dual mode - tests
imarom [Mon, 5 Sep 2016 06:47:36 +0000 (09:47 +0300)]
dual mode - refinement
imarom [Sun, 4 Sep 2016 14:42:48 +0000 (17:42 +0300)]
dual mode - check for ERF only
imarom [Sun, 4 Sep 2016 12:25:42 +0000 (15:25 +0300)]
DUAL mode - phase #1
Yaroslav Brustinov [Mon, 5 Sep 2016 20:55:02 +0000 (23:55 +0300)]
fix dpdk_nic_bind.py for virtio interfaces @ OpenStack
Yaroslav Brustinov [Sun, 4 Sep 2016 12:29:00 +0000 (15:29 +0300)]
update waf to version 1.9.3 & update building scripts to support Ubuntu16 & Python3
itraviv [Sun, 4 Sep 2016 10:24:07 +0000 (13:24 +0300)]
scapy service: added version handler, added packet reconstruct from binary, added support for building packet from dictionary, added support for scapy field enhancement. scapy_zmq_server: fixed some path issues, changed minor argument parsing
Yaroslav Brustinov [Wed, 31 Aug 2016 14:02:06 +0000 (17:02 +0300)]
generation of native code: fix imports
Yaroslav Brustinov [Mon, 29 Aug 2016 12:51:17 +0000 (15:51 +0300)]
regression: lower multiplier on asymmetric imix at trex17
Yaroslav Brustinov [Mon, 29 Aug 2016 05:45:02 +0000 (08:45 +0300)]
trex-cfg typo
Yaroslav Brustinov [Sun, 28 Aug 2016 15:25:32 +0000 (18:25 +0300)]
add /sbin to path in trex-cfg (for cases like running without shell)
Yaroslav Brustinov [Sun, 28 Aug 2016 05:54:56 +0000 (08:54 +0300)]
regression: lower requirement on output packets, at 9k and quick cpu stabilization it can be few
Yaroslav Brustinov [Wed, 24 Aug 2016 17:09:43 +0000 (20:09 +0300)]
regression: fix case of division by zero in cpu benchmark calculation
Yaroslav Brustinov [Wed, 24 Aug 2016 17:09:43 +0000 (20:09 +0300)]
regression: fix case of division by zero in cpu benchmark calculation
itraviv [Wed, 24 Aug 2016 12:58:57 +0000 (15:58 +0300)]
added logging mechanism with --log argument
itraviv [Sun, 21 Aug 2016 15:00:29 +0000 (18:00 +0300)]
scapy_service:
supported_methods now returns all functions when invoked with parameter 'all'
zmq_client:
added simple console to interact with server
scapy_zmq_server:
added verbosity feature
Hanoh Haim [Wed, 24 Aug 2016 13:34:00 +0000 (16:34 +0300)]
add example for pin cores
Hanoh Haim [Wed, 24 Aug 2016 13:30:03 +0000 (16:30 +0300)]
v2.08
Yaroslav Brustinov [Wed, 24 Aug 2016 07:07:48 +0000 (10:07 +0300)]
better logger for master_daemon
verify root priveleges in dpdk_* scripts
call to functions of show status instead of calling process
Yaroslav Brustinov [Tue, 23 Aug 2016 22:07:14 +0000 (01:07 +0300)]
hltapi example: add example command of removing all streams from port
Yaroslav Brustinov [Tue, 23 Aug 2016 17:53:58 +0000 (20:53 +0300)]
fixes to create config script: in case of error input, ask again.
Yaroslav Brustinov [Mon, 22 Aug 2016 19:16:27 +0000 (22:16 +0300)]
interactive creation of config, finish returning DPDK interfaces to Linux command.
Yaroslav Brustinov [Sun, 21 Aug 2016 20:22:19 +0000 (23:22 +0300)]
Check if interfaces are in use at binding/unbinding/starting TRex.
itraviv [Sun, 21 Aug 2016 15:00:29 +0000 (18:00 +0300)]
scapy_service:
supported_methods now returns all functions when invoked with parameter 'all'
zmq_client:
added simple console to interact with server
scapy_zmq_server:
added verbosity feature
Yaroslav Brustinov [Fri, 19 Aug 2016 09:18:12 +0000 (12:18 +0300)]
dpdk_setup_ports: better error if no MAC determined
Yaroslav Brustinov [Fri, 19 Aug 2016 06:58:36 +0000 (09:58 +0300)]
update multiplier in stl benchmark, shorten title in NIC's table
Yaroslav Brustinov [Thu, 18 Aug 2016 21:56:09 +0000 (00:56 +0300)]
add --ignore-numa argument to config creation
Yaroslav Brustinov [Thu, 18 Aug 2016 21:31:56 +0000 (00:31 +0300)]
disable scapy_server test
Yaroslav Brustinov [Thu, 18 Aug 2016 20:33:07 +0000 (23:33 +0300)]
revert mmain_dpdk.h commited by mistake code
add create config functional test
change order of cores in config file
Yaroslav Brustinov [Thu, 18 Aug 2016 17:34:13 +0000 (20:34 +0300)]
TRex argument --dump-interfaces <list of PCI> (by default will take interfaces from /etc/trex_cfg.yaml if exists, if does not exists, will show all DPDK interfaces)
get interface speed from DPDK instead of using constants per driver
add script to generate config file /etc/trex_cfg.yaml: sudo ./dpdk_setup_ports.py -c <list of PCI>
show table of interfaces in sudo ./dpdk_setup_ports.py -t
itraviv [Thu, 18 Aug 2016 14:02:51 +0000 (17:02 +0300)]
fixed path issue to resolve path for VXLAN and MPLS
itraviv [Thu, 18 Aug 2016 14:02:19 +0000 (17:02 +0300)]
fixed issues with path to include VXLAN and MPLS
itraviv [Thu, 18 Aug 2016 12:24:21 +0000 (15:24 +0300)]
Merge branch 'scapy_server'
imarom [Thu, 18 Aug 2016 12:47:58 +0000 (15:47 +0300)]
core_mask backward compatability (for GUI)
itraviv [Thu, 18 Aug 2016 12:23:01 +0000 (15:23 +0300)]
scapy_server_test:
skiping python3 tests
scapy_service.py:
minor changes to protocol_struct function
zmq_client:
added
zmq_server:
minor changes in exception handling
imarom [Thu, 18 Aug 2016 11:25:57 +0000 (14:25 +0300)]
previous commit was missing a file change
imarom [Thu, 18 Aug 2016 10:49:59 +0000 (13:49 +0300)]
CPU util. measurements fix (more accurate and steady)
see #trex-246
Hanoh Haim [Mon, 15 Aug 2016 15:18:11 +0000 (18:18 +0300)]
add another ko
imarom [Tue, 16 Aug 2016 11:34:04 +0000 (14:34 +0300)]
regression failure due to previous commit
imarom [Tue, 16 Aug 2016 07:42:31 +0000 (10:42 +0300)]
simulator breakage fix
imarom [Mon, 15 Aug 2016 13:59:17 +0000 (16:59 +0300)]
personal code review tweaks
itraviv [Mon, 15 Aug 2016 15:15:45 +0000 (18:15 +0300)]
fixed an issue in exception handling
itraviv [Mon, 15 Aug 2016 14:52:38 +0000 (17:52 +0300)]
scapy_server_test:
added cases for testing: GRE, VXML, DNS, IPv6
changed test functions to include only the testted object and created other functions as testing engines.
scapy_service:
added api class.
added documentry for api class
changed method functions to include underscore
imarom [Mon, 15 Aug 2016 12:33:51 +0000 (15:33 +0300)]
TUI screen buffer
imarom [Wed, 10 Aug 2016 14:45:36 +0000 (17:45 +0300)]
core mask - first phase
Ido Barnea [Sun, 14 Aug 2016 11:28:46 +0000 (14:28 +0300)]
Exit if x710 firmware version is too old
itraviv [Thu, 11 Aug 2016 13:59:29 +0000 (16:59 +0300)]
1)removed unnecessary files from repository
2)fixed bug in checking update of data-base
Ido Barnea [Thu, 11 Aug 2016 08:22:34 +0000 (11:22 +0300)]
IPv6 Latency/flow stats on x710 - supporting all packet types
itraviv [Wed, 10 Aug 2016 13:09:04 +0000 (16:09 +0300)]
***this is an example for a JSON-RPC (over ZMQ) client.***
started with -s for server IP address (default is local-host)
started with -p for port number
itraviv [Wed, 10 Aug 2016 12:53:30 +0000 (15:53 +0300)]
move 'main' function to bottom of file
itraviv [Wed, 10 Aug 2016 12:29:10 +0000 (15:29 +0300)]
1)added feature: running the entire test via RPC (over ZMQ) on a "remote" scapy server.
2) the mentioned above server is implemented as a thread running on the local machine,so in this commit a thread mechanism is added
itraviv [Wed, 10 Aug 2016 12:12:58 +0000 (15:12 +0300)]
1) fixed "main function": mechanism for running this script as a stand-alone program and running it from another python script
2) added closure of sockets and context explicitly (counting on python garbage-collector caused errors)
3) added support for 'remote shutdown' feature. now the server can be shut-down using 'shut_down' method as RPC from client
Ido Barnea [Wed, 10 Aug 2016 12:09:45 +0000 (15:09 +0300)]
Better flow stat parser unit tests, including IPv6
itraviv [Tue, 9 Aug 2016 08:29:52 +0000 (11:29 +0300)]
added wrapper class to support testing of scapy_server, this class wraps server interaction.
added test of offsets versus actual packet dump
itraviv [Tue, 9 Aug 2016 08:27:49 +0000 (11:27 +0300)]
changed file name from scapy_server to scapy_service
changed file for scapy_zmq_server
changed functionality for scapy_server, added support for port with -s flag.
scapy_service now functions as a service for the server wrapper
Ido Barnea [Mon, 8 Aug 2016 12:21:41 +0000 (15:21 +0300)]
Fix to stateless latency test
Ido Barnea [Mon, 8 Aug 2016 12:01:17 +0000 (15:01 +0300)]
change default to not run rte_eth_dev_stop/close
Ido Barnea [Mon, 8 Aug 2016 10:18:36 +0000 (13:18 +0300)]
Changing DPDK latency patch, so we can easily merge it for next DPDK version
Ido Barnea [Mon, 8 Aug 2016 10:07:20 +0000 (13:07 +0300)]
removed dpdk22 files
Ido Barnea [Mon, 8 Aug 2016 08:01:51 +0000 (11:01 +0300)]
Adding --no-close option
Ido Barnea [Mon, 8 Aug 2016 07:35:40 +0000 (10:35 +0300)]
IPv6 x710 flow stats work. Still not supported: Flow stats for UDP/TCP IPv6 packets with extension header.
Yaroslav Brustinov [Mon, 8 Aug 2016 05:48:05 +0000 (08:48 +0300)]
master_daemon: run the Stateless RPC proxy without superuser privileges