trex.git
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

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