trex.git
8 years agoregression: increase ipg in benckmark test with pcap 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

8 years agotypo
Yaroslav Brustinov [Tue, 13 Sep 2016 17:23:19 +0000 (20:23 +0300)]
typo

8 years agofix regression
Hanoh Haim [Tue, 13 Sep 2016 12:27:05 +0000 (15:27 +0300)]
fix regression

8 years agofix random_limit max value
Hanoh Haim [Tue, 13 Sep 2016 12:26:27 +0000 (15:26 +0300)]
fix random_limit max value

8 years agoadd repetable_random example profile
Hanoh Haim [Tue, 13 Sep 2016 12:13:31 +0000 (15:13 +0300)]
add repetable_random example profile

8 years agoadd python test
Hanoh Haim [Tue, 13 Sep 2016 11:49:03 +0000 (14:49 +0300)]
add python test

8 years agoadd min/max to repeatable random inst
Hanoh Haim [Tue, 13 Sep 2016 10:08:10 +0000 (13:08 +0300)]
add min/max to repeatable random inst

8 years agomore tests
Hanoh Haim [Mon, 12 Sep 2016 15:19:46 +0000 (18:19 +0300)]
more tests

8 years agoadd rand_limit tests
Hanoh Haim [Mon, 12 Sep 2016 14:55:48 +0000 (17:55 +0300)]
add rand_limit tests

8 years agoadd rand limit instruction DP
Hanoh Haim [Mon, 12 Sep 2016 14:29:33 +0000 (17:29 +0300)]
add rand limit instruction DP

8 years agodpdk Python scripts small fixes
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

8 years agoAPIs and functions in preparation for receive all mode. XL710/i350 mode toggling...
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.

8 years agoadded minimum values for validate command
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

8 years agodual mode fix: MAC address on the slave port was not updated
imarom [Thu, 8 Sep 2016 10:59:27 +0000 (13:59 +0300)]
dual mode fix: MAC address on the slave port was not updated

8 years agoFix issue of reading RX queue from DP core even when we are not in VM mode
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

8 years agodual remote - tests missing PCAPs
imarom [Wed, 7 Sep 2016 13:20:11 +0000 (16:20 +0300)]
dual remote - tests missing PCAPs

8 years agosupport for DUAL mode on small PCAPs
imarom [Wed, 7 Sep 2016 08:48:23 +0000 (11:48 +0300)]
support for DUAL mode on small PCAPs

8 years agoERF reader missing rewind
imarom [Mon, 5 Sep 2016 10:36:07 +0000 (13:36 +0300)]
ERF reader missing rewind

8 years agodual mode : code review fixes
imarom [Mon, 5 Sep 2016 07:32:08 +0000 (10:32 +0300)]
dual mode : code review fixes

8 years agodual mode - tests
imarom [Mon, 5 Sep 2016 07:22:03 +0000 (10:22 +0300)]
dual mode - tests

8 years agodual mode - refinement
imarom [Mon, 5 Sep 2016 06:47:36 +0000 (09:47 +0300)]
dual mode - refinement

8 years agodual mode - check for ERF only
imarom [Sun, 4 Sep 2016 14:42:48 +0000 (17:42 +0300)]
dual mode - check for ERF only

8 years agoDUAL mode - phase #1
imarom [Sun, 4 Sep 2016 12:25:42 +0000 (15:25 +0300)]
DUAL mode - phase #1

8 years agofix dpdk_nic_bind.py for virtio interfaces @ OpenStack
Yaroslav Brustinov [Mon, 5 Sep 2016 20:55:02 +0000 (23:55 +0300)]
fix dpdk_nic_bind.py for virtio interfaces @ OpenStack

8 years agoupdate waf to version 1.9.3 & update building scripts to support Ubuntu16 & Python3
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

8 years agoscapy service: added version handler, added packet reconstruct from binary, added...
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

8 years agogeneration of native code: fix imports
Yaroslav Brustinov [Wed, 31 Aug 2016 14:02:06 +0000 (17:02 +0300)]
generation of native code: fix imports

8 years agoregression: lower multiplier on asymmetric imix at trex17
Yaroslav Brustinov [Mon, 29 Aug 2016 12:51:17 +0000 (15:51 +0300)]
regression: lower multiplier on asymmetric imix at trex17

8 years agotrex-cfg typo
Yaroslav Brustinov [Mon, 29 Aug 2016 05:45:02 +0000 (08:45 +0300)]
trex-cfg typo

8 years agoadd /sbin to path in trex-cfg (for cases like running without shell)
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)

8 years agoregression: lower requirement on output packets, at 9k and quick cpu stabilization...
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

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

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

8 years agoadded logging mechanism with --log argument
itraviv [Wed, 24 Aug 2016 12:58:57 +0000 (15:58 +0300)]
added logging mechanism with --log argument

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

8 years agoadd example for pin cores
Hanoh Haim [Wed, 24 Aug 2016 13:34:00 +0000 (16:34 +0300)]
add example for pin cores

8 years agov2.08
Hanoh Haim [Wed, 24 Aug 2016 13:30:03 +0000 (16:30 +0300)]
v2.08

8 years agobetter logger for master_daemon
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

8 years agohltapi example: add example command of removing all streams from port
Yaroslav Brustinov [Tue, 23 Aug 2016 22:07:14 +0000 (01:07 +0300)]
hltapi example: add example command of removing all streams from port

8 years agofixes to create config script: in case of error input, ask again.
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.

8 years agointeractive creation of config, finish returning DPDK interfaces to Linux command.
Yaroslav Brustinov [Mon, 22 Aug 2016 19:16:27 +0000 (22:16 +0300)]
interactive creation of config, finish returning DPDK interfaces to Linux command.

8 years agoCheck if interfaces are in use at binding/unbinding/starting TRex.
Yaroslav Brustinov [Sun, 21 Aug 2016 20:22:19 +0000 (23:22 +0300)]
Check if interfaces are in use at binding/unbinding/starting TRex.

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

8 years agodpdk_setup_ports: better error if no MAC determined
Yaroslav Brustinov [Fri, 19 Aug 2016 09:18:12 +0000 (12:18 +0300)]
dpdk_setup_ports: better error if no MAC determined

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