trex.git
8 years agoupdate multiplier in stl benchmark, shorten title in NIC's table
Yaroslav Brustinov [Fri, 19 Aug 2016 06:58:36 +0000 (09:58 +0300)]
update multiplier in stl benchmark, shorten title in NIC's table

8 years agoadd --ignore-numa argument to config creation
Yaroslav Brustinov [Thu, 18 Aug 2016 21:56:09 +0000 (00:56 +0300)]
add --ignore-numa argument to config creation

8 years agodisable scapy_server test
Yaroslav Brustinov [Thu, 18 Aug 2016 21:31:56 +0000 (00:31 +0300)]
disable scapy_server test

8 years agorevert mmain_dpdk.h commited by mistake code
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

8 years agoTRex argument --dump-interfaces <list of PCI> (by default will take interfaces from...
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

8 years agofixed path issue to resolve path for VXLAN and MPLS
itraviv [Thu, 18 Aug 2016 14:02:51 +0000 (17:02 +0300)]
fixed path issue to resolve path for VXLAN and MPLS

8 years agofixed issues with path to include VXLAN and MPLS
itraviv [Thu, 18 Aug 2016 14:02:19 +0000 (17:02 +0300)]
fixed issues with path to include VXLAN and MPLS

8 years agoMerge branch 'scapy_server'
itraviv [Thu, 18 Aug 2016 12:24:21 +0000 (15:24 +0300)]
Merge branch 'scapy_server'

8 years agocore_mask backward compatability (for GUI)
imarom [Thu, 18 Aug 2016 12:47:58 +0000 (15:47 +0300)]
core_mask backward compatability (for GUI)

8 years agoscapy_server_test:
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

8 years agoprevious commit was missing a file change
imarom [Thu, 18 Aug 2016 11:25:57 +0000 (14:25 +0300)]
previous commit was missing a file change

8 years agoCPU util. measurements fix (more accurate and steady)
imarom [Thu, 18 Aug 2016 10:49:59 +0000 (13:49 +0300)]
CPU util. measurements fix (more accurate and steady)
see #trex-246

8 years agoadd another ko
Hanoh Haim [Mon, 15 Aug 2016 15:18:11 +0000 (18:18 +0300)]
add another ko

8 years agoregression failure due to previous commit
imarom [Tue, 16 Aug 2016 11:34:04 +0000 (14:34 +0300)]
regression failure due to previous commit

8 years agosimulator breakage fix
imarom [Tue, 16 Aug 2016 07:42:31 +0000 (10:42 +0300)]
simulator breakage fix

8 years agopersonal code review tweaks
imarom [Mon, 15 Aug 2016 13:59:17 +0000 (16:59 +0300)]
personal code review tweaks

8 years agofixed an issue in exception handling
itraviv [Mon, 15 Aug 2016 15:15:45 +0000 (18:15 +0300)]
fixed an issue in exception handling

8 years agoscapy_server_test:
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

8 years agoTUI screen buffer
imarom [Mon, 15 Aug 2016 12:33:51 +0000 (15:33 +0300)]
TUI screen buffer

8 years agocore mask - first phase
imarom [Wed, 10 Aug 2016 14:45:36 +0000 (17:45 +0300)]
core mask - first phase

8 years agoExit if x710 firmware version is too old
Ido Barnea [Sun, 14 Aug 2016 11:28:46 +0000 (14:28 +0300)]
Exit if x710 firmware version is too old

8 years ago1)removed unnecessary files from repository
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

8 years agoIPv6 Latency/flow stats on x710 - supporting all packet types
Ido Barnea [Thu, 11 Aug 2016 08:22:34 +0000 (11:22 +0300)]
IPv6 Latency/flow stats on x710 - supporting all packet types

8 years ago***this is an example for a JSON-RPC (over ZMQ) client.***
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

8 years agomove 'main' function to bottom of file
itraviv [Wed, 10 Aug 2016 12:53:30 +0000 (15:53 +0300)]
move 'main' function to bottom of file

8 years ago1)added feature: running the entire test via RPC (over ZMQ) on a "remote" scapy server.
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

8 years ago1) fixed "main function": mechanism for running this script as a stand-alone program...
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

8 years agoBetter flow stat parser unit tests, including IPv6
Ido Barnea [Wed, 10 Aug 2016 12:09:45 +0000 (15:09 +0300)]
Better flow stat parser unit tests, including IPv6

8 years agoadded wrapper class to support testing of scapy_server, this class wraps server inter...
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

8 years agochanged file name from scapy_server to scapy_service
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

8 years agoFix to stateless latency test
Ido Barnea [Mon, 8 Aug 2016 12:21:41 +0000 (15:21 +0300)]
Fix to stateless latency test

8 years agochange default to not run rte_eth_dev_stop/close
Ido Barnea [Mon, 8 Aug 2016 12:01:17 +0000 (15:01 +0300)]
change default to not run rte_eth_dev_stop/close

8 years agoChanging DPDK latency patch, so we can easily merge it for next DPDK version
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

8 years agoremoved dpdk22 files
Ido Barnea [Mon, 8 Aug 2016 10:07:20 +0000 (13:07 +0300)]
removed dpdk22 files

8 years agoAdding --no-close option
Ido Barnea [Mon, 8 Aug 2016 08:01:51 +0000 (11:01 +0300)]
Adding --no-close option

8 years agoIPv6 x710 flow stats work. Still not supported: Flow stats for UDP/TCP IPv6 packets...
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.

8 years agomaster_daemon: run the Stateless RPC proxy without superuser privileges
Yaroslav Brustinov [Mon, 8 Aug 2016 05:48:05 +0000 (08:48 +0300)]
master_daemon: run the Stateless RPC proxy without superuser privileges

8 years agoregression: compare pcaps in functional tests robust to order of packets with same...
Yaroslav Brustinov [Sun, 7 Aug 2016 11:09:06 +0000 (14:09 +0300)]
regression: compare pcaps in functional tests robust to order of packets with same timestamp

8 years agogenerated code on PCAP should be fixed to support default MACs
imarom [Sun, 7 Aug 2016 08:42:40 +0000 (11:42 +0300)]
generated code on PCAP should be fixed to support default MACs

8 years agorandom tests are now provided with seed
imarom [Sun, 7 Aug 2016 07:58:07 +0000 (10:58 +0300)]
random tests are now provided with seed

8 years agofix for #trex-240
imarom [Thu, 4 Aug 2016 11:13:10 +0000 (14:13 +0300)]
fix for #trex-240
https://trex-tgn.cisco.com/youtrack/issue/trex-240

8 years agotypo in master_daemon
Yaroslav Brustinov [Sat, 6 Aug 2016 17:45:53 +0000 (20:45 +0300)]
typo in master_daemon

8 years agoserver was made as an object with execute function
itraviv [Thu, 4 Aug 2016 14:45:55 +0000 (17:45 +0300)]
server was made as an object with execute function

8 years ago1) made a class Scapy_server encapsulating scapy_wrapper and scapy_service
itraviv [Thu, 4 Aug 2016 14:44:50 +0000 (17:44 +0300)]
1) made a class Scapy_server encapsulating scapy_wrapper and scapy_service
2) fixed some exception handling

8 years agov2.07
Hanoh Haim [Thu, 4 Aug 2016 13:41:18 +0000 (16:41 +0300)]
v2.07

8 years ago1) added build_pkt when calculating offsets
itraviv [Thu, 4 Aug 2016 13:07:45 +0000 (16:07 +0300)]
1) added build_pkt when calculating offsets

8 years ago1) changed class name to 'scapy_service'
itraviv [Thu, 4 Aug 2016 13:07:04 +0000 (16:07 +0300)]
1) changed class name to 'scapy_service'
2) changed returned values to be dictionaries instead of arrays

8 years agoAdded IPv6 router config to stateless tests
Ido Barnea [Thu, 4 Aug 2016 12:53:30 +0000 (15:53 +0300)]
Added IPv6 router config to stateless tests

8 years agoremove 10G setups from ipv6 latency tests
Ido Barnea [Thu, 4 Aug 2016 07:40:16 +0000 (10:40 +0300)]
remove 10G setups from ipv6 latency tests

8 years agofix for failing test
imarom [Thu, 4 Aug 2016 07:35:13 +0000 (10:35 +0300)]
fix for failing test

8 years agoremove old VSI patch
Hanoh Haim [Wed, 3 Aug 2016 17:19:36 +0000 (20:19 +0300)]
remove old VSI patch

8 years agomaster_daemon: create working directory if it was deleted
Yaroslav Brustinov [Wed, 3 Aug 2016 16:12:33 +0000 (19:12 +0300)]
master_daemon: create working directory if it was deleted

8 years agorevert typo
Yaroslav Brustinov [Wed, 3 Aug 2016 15:54:14 +0000 (18:54 +0300)]
revert typo

8 years agoFix compilation error on ubuntu
Ido Barnea [Wed, 3 Aug 2016 14:37:54 +0000 (17:37 +0300)]
Fix compilation error on ubuntu

8 years agostf daemon: add support for zipped zmq
Yaroslav Brustinov [Wed, 3 Aug 2016 14:24:59 +0000 (17:24 +0300)]
stf daemon: add support for zipped zmq

8 years agoadd -m bpsl1
Hanoh Haim [Wed, 3 Aug 2016 13:50:51 +0000 (16:50 +0300)]
add -m bpsl1

8 years agofix for https://trex-tgn.cisco.com/youtrack/issue/trex-226
imarom [Wed, 3 Aug 2016 13:36:58 +0000 (16:36 +0300)]
fix for https://trex-tgn.cisco.com/youtrack/issue/trex-226
commit #trex-226

8 years agoIPv6 latency tests and --rx-check tests
Ido Barnea [Wed, 3 Aug 2016 13:28:37 +0000 (16:28 +0300)]
IPv6 latency tests and --rx-check tests

8 years agoIPv6 XL710 stateless support and stateful --rx-check
Ido Barnea [Tue, 2 Aug 2016 10:45:19 +0000 (13:45 +0300)]
IPv6 XL710 stateless support and stateful --rx-check

8 years agoipv6 flow stat i350
Ido Barnea [Wed, 20 Jul 2016 13:50:33 +0000 (16:50 +0300)]
ipv6 flow stat i350

8 years agoipv6 flow stat on vm working
Ido Barnea [Wed, 20 Jul 2016 07:19:11 +0000 (10:19 +0300)]
ipv6 flow stat on vm working

8 years agoMerge remote-tracking branch 'origin/master'
Yaroslav Brustinov [Wed, 3 Aug 2016 13:21:12 +0000 (16:21 +0300)]
Merge remote-tracking branch 'origin/master'

8 years agoset default stateful duration 1 hour, forbid duration in stateless
Yaroslav Brustinov [Wed, 3 Aug 2016 13:18:50 +0000 (16:18 +0300)]
set default stateful duration 1 hour, forbid duration in stateless
add "add_profile"stateless Python API command
fix trex_perf.py

8 years agotrex-214 another small optimization- move to 0x407 AQ command
Hanoh Haim [Wed, 3 Aug 2016 12:36:44 +0000 (15:36 +0300)]
trex-214 another small optimization- move to 0x407 AQ command

8 years agopush_remote with all packet times zero sends only one packet
imarom [Wed, 3 Aug 2016 11:01:06 +0000 (14:01 +0300)]
push_remote with all packet times zero sends only one packet
fix for #trex-235

8 years agoasync compressed - https://trex-tgn.cisco.com/youtrack/issue/trex-232
imarom [Wed, 3 Aug 2016 09:01:51 +0000 (12:01 +0300)]
async compressed - https://trex-tgn.cisco.com/youtrack/issue/trex-232

8 years agoanother latency improvment - see trex-214. remove old workaround and add TX QSet...
Hanoh Haim [Wed, 3 Aug 2016 11:58:07 +0000 (14:58 +0300)]
another latency improvment - see trex-214. remove old workaround and add TX QSet with strict priorty

8 years agofixed path after relocation of scapy_server
itraviv [Wed, 3 Aug 2016 08:36:14 +0000 (11:36 +0300)]
fixed path after relocation of scapy_server

8 years ago1) changed location. from examples to services
itraviv [Wed, 3 Aug 2016 08:35:42 +0000 (11:35 +0300)]
1) changed location. from examples to services
2) added wrapper scapy server class

8 years agoRemove call to rte_eth_dev_stop. See trex-237 for details
Ido Barnea [Tue, 2 Aug 2016 11:50:16 +0000 (14:50 +0300)]
Remove call to rte_eth_dev_stop. See trex-237 for details

8 years agoFix error in move of X710 latency patch to DPDK 16.07
Ido Barnea [Tue, 2 Aug 2016 10:54:04 +0000 (13:54 +0300)]
Fix error in move of X710 latency patch to DPDK 16.07

8 years agoMerge branch 'dpdk_ports_reorder'
Yaroslav Brustinov [Tue, 2 Aug 2016 06:47:26 +0000 (09:47 +0300)]
Merge branch 'dpdk_ports_reorder'

8 years agostf daemon another python3 fix
Yaroslav Brustinov [Mon, 1 Aug 2016 23:51:20 +0000 (02:51 +0300)]
stf daemon another python3 fix

8 years agoDPDK ports order change to be compliant with our /etc/trex_cfg.yaml
Yaroslav Brustinov [Mon, 1 Aug 2016 16:07:22 +0000 (19:07 +0300)]
DPDK ports order change to be compliant with our /etc/trex_cfg.yaml

8 years agoPython3 support for Stateful daemon
Yaroslav Brustinov [Mon, 1 Aug 2016 15:48:06 +0000 (18:48 +0300)]
Python3 support for Stateful daemon
Python 3.5 support in ZMQ
Verify ZMQ health in Stateful daemon
Add get_trex_config() command to Stateful daemon
Strip debug info on Python ZMQ .so files

8 years agosync: unsafe to touch the node pointer, use a timestamp instead
imarom [Mon, 1 Aug 2016 13:20:03 +0000 (16:20 +0300)]
sync: unsafe to touch the node pointer, use a timestamp instead

8 years agofixed error handling in get_all_pkt_offsets, added return of error code tuple as...
itraviv [Sun, 31 Jul 2016 13:57:05 +0000 (16:57 +0300)]
fixed error handling in get_all_pkt_offsets, added return of error code tuple as same as build_pkt

8 years agohttps://trex-tgn.cisco.com/youtrack/issue/trex-223
imarom [Sun, 31 Jul 2016 11:44:44 +0000 (14:44 +0300)]
https://trex-tgn.cisco.com/youtrack/issue/trex-223

8 years agoMerge branch 'master' into scapy_server
itraviv [Sun, 31 Jul 2016 08:56:41 +0000 (11:56 +0300)]
Merge branch 'master' into scapy_server

8 years agoscapy_server for GUI+test
itraviv [Sun, 31 Jul 2016 08:53:34 +0000 (11:53 +0300)]
scapy_server for GUI+test

8 years agodpdk 16.07 - merges of final version changes
Ido Barnea [Sun, 31 Jul 2016 08:16:27 +0000 (11:16 +0300)]
dpdk 16.07 - merges of final version changes

8 years agoRPC commands were not really zipped (used a padded length)
imarom [Thu, 28 Jul 2016 13:20:37 +0000 (16:20 +0300)]
RPC commands were not really zipped (used a padded length)
https://trex-tgn.cisco.com/youtrack/issue/trex-233

8 years agoremoved was_stopped
imarom [Wed, 27 Jul 2016 13:27:33 +0000 (16:27 +0300)]
removed was_stopped

8 years agosupport for graceful shutdown
imarom [Wed, 27 Jul 2016 08:08:09 +0000 (11:08 +0300)]
support for graceful shutdown

8 years agoregression: aggregate_results script exit with fail/success status of build.
Yaroslav Brustinov [Tue, 26 Jul 2016 12:01:26 +0000 (15:01 +0300)]
regression: aggregate_results script exit with fail/success status of build.

8 years agosome more TUI fixes
imarom [Tue, 26 Jul 2016 08:47:15 +0000 (11:47 +0300)]
some more TUI fixes

8 years agoTRex console - add support for L1 BPS
imarom [Mon, 25 Jul 2016 12:21:30 +0000 (15:21 +0300)]
TRex console - add support for L1 BPS
https://trex-tgn.cisco.com/youtrack/issue/trex-230

8 years agoAdd Ubuntu 16.04.1 LTS ko
Yaroslav Brustinov [Mon, 25 Jul 2016 10:34:53 +0000 (13:34 +0300)]
Add Ubuntu 16.04.1 LTS ko
Regression:
Remove skip of test_static_routing_imix
Add trex15 setup details

8 years agoTUI - stdout close/reopen issues
imarom [Mon, 25 Jul 2016 09:06:51 +0000 (12:06 +0300)]
TUI - stdout close/reopen issues

8 years agoTUI tweaks
imarom [Mon, 25 Jul 2016 08:20:16 +0000 (11:20 +0300)]
TUI tweaks

8 years agobreakge by previous commit - variable packet size can be inc/dec and not
imarom [Sun, 24 Jul 2016 13:51:56 +0000 (16:51 +0300)]
breakge by previous commit - variable packet size can be inc/dec and not
random

8 years agov2.06
Hanoh Haim [Sun, 24 Jul 2016 13:01:29 +0000 (16:01 +0300)]
v2.06

8 years agodpdk0716 move:DPDK file patches
Ido Barnea [Tue, 19 Jul 2016 07:12:20 +0000 (10:12 +0300)]
dpdk0716 move:DPDK file patches

8 years agodpdk0716 move: changes to our files
Ido Barnea [Sun, 17 Jul 2016 09:48:05 +0000 (12:48 +0300)]
dpdk0716 move: changes to our files

8 years agodpdk0716 rc3
Ido Barnea [Wed, 13 Jul 2016 11:17:09 +0000 (14:17 +0300)]
dpdk0716 rc3

8 years agoBUG: trex-227 - random packet size with -m 100% does not give 100% line rate
imarom [Sun, 24 Jul 2016 10:20:51 +0000 (13:20 +0300)]
BUG: trex-227 - random packet size with -m 100% does not give 100% line rate
https://trex-tgn.cisco.com/youtrack/issue/trex-227

8 years agofaster TUI: no flickers and more...
imarom [Thu, 21 Jul 2016 14:21:04 +0000 (17:21 +0300)]
faster TUI: no flickers and more...
1. made stdout full buffered (no in-middle print)
2. added TAB for filenames auto-complete

8 years agoremove IMIX for now due to an issue in trex09
Hanoh Haim [Fri, 15 Jul 2016 16:06:42 +0000 (19:06 +0300)]
remove IMIX for now due to an issue in trex09

8 years agomerge cs_offload WIP - need to add more support and tests for that
Hanoh Haim [Fri, 15 Jul 2016 15:33:24 +0000 (18:33 +0300)]
merge cs_offload WIP - need to add more support and tests for that

8 years agoMerge rwhitworth fix
Hanoh Haim [Fri, 15 Jul 2016 15:20:15 +0000 (18:20 +0300)]
Merge rwhitworth fix