trex.git
8 years agoRevert "signedoff files"
Ido Barnea [Thu, 13 Oct 2016 13:52:58 +0000 (16:52 +0300)]
Revert "signedoff files"

This reverts commit 13295736ea586f46879291f8ce5986b369bedfe0.

Signed-off-by: Ido Barnea <[email protected]>
8 years agoRevert "Fix bundeling in file names to bundling"
Ido Barnea [Thu, 13 Oct 2016 13:52:56 +0000 (16:52 +0300)]
Revert "Fix bundeling in file names to bundling"

This reverts commit 9ed37dfeed71c3adac59f02e08ee08627bd7924c.

Signed-off-by: Ido Barnea <[email protected]>
8 years agoRevert "Another small fix to regression"
Ido Barnea [Thu, 13 Oct 2016 13:52:33 +0000 (16:52 +0300)]
Revert "Another small fix to regression"

This reverts commit cf40f4d078a847eb05de1c880f349c8dcb20fb29.

Signed-off-by: Ido Barnea <[email protected]>
8 years agoAnother small fix to regression
Ido Barnea [Thu, 13 Oct 2016 12:18:38 +0000 (15:18 +0300)]
Another small fix to regression

Signed-off-by: Ido Barnea <[email protected]>
8 years agoFix bundeling in file names to bundling
Ido Barnea [Thu, 13 Oct 2016 11:20:01 +0000 (14:20 +0300)]
Fix bundeling in file names to bundling

Signed-off-by: Ido Barnea <[email protected]>
8 years agosignoff
itraviv [Thu, 13 Oct 2016 08:23:34 +0000 (11:23 +0300)]
signoff

Signed-off-by: itraviv <[email protected]>
8 years agosignedoff by DavidBlock
DavidBlock [Thu, 13 Oct 2016 08:13:33 +0000 (11:13 +0300)]
signedoff by DavidBlock

Signed-off-by: DavidBlock <[email protected]>
8 years agosignoff
Yaroslav Brustinov [Thu, 13 Oct 2016 07:49:04 +0000 (10:49 +0300)]
signoff

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agosignedoff files
Ido Barnea [Thu, 13 Oct 2016 07:45:54 +0000 (10:45 +0300)]
signedoff files

Signed-off-by: Ido Barnea <[email protected]>
8 years agosignoff
Hanoh Haim [Thu, 13 Oct 2016 07:26:57 +0000 (10:26 +0300)]
signoff

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoadd STLVmWrFlowVar to doc
Hanoh Haim [Sun, 9 Oct 2016 13:40:42 +0000 (16:40 +0300)]
add STLVmWrFlowVar to doc

8 years agoput back --vlan option for stateless 82599
Ido Barnea [Thu, 6 Oct 2016 11:29:56 +0000 (14:29 +0300)]
put back --vlan option for stateless 82599

8 years agoChanged ipv6 test on trex09 to use 3 cores instead of 4
Ido Barnea [Thu, 6 Oct 2016 10:40:27 +0000 (13:40 +0300)]
Changed ipv6 test on trex09 to use 3 cores instead of 4

8 years agoFix to set_rcv_all off on xl710
Ido Barnea [Thu, 6 Oct 2016 07:08:44 +0000 (10:08 +0300)]
Fix to set_rcv_all off on xl710

8 years agoFix issue with set_rcv_all in 1G
Ido Barnea [Wed, 5 Oct 2016 13:18:39 +0000 (16:18 +0300)]
Fix issue with set_rcv_all in 1G

8 years agopre test: Code review fixes
Ido Barnea [Tue, 27 Sep 2016 11:24:32 +0000 (14:24 +0300)]
pre test: Code review fixes

8 years agopre test: Some small fixes
Ido Barnea [Mon, 26 Sep 2016 13:26:37 +0000 (16:26 +0300)]
pre test: Some small fixes

8 years agopre test: Periodically send gratuitous ARP in stateful
Ido Barnea [Sun, 25 Sep 2016 13:58:02 +0000 (16:58 +0300)]
pre test: Periodically send gratuitous ARP in stateful

8 years agopre test: Send grat ARP, and resolve gateway addresses
Ido Barnea [Thu, 22 Sep 2016 12:15:29 +0000 (15:15 +0300)]
pre test: Send grat ARP, and resolve gateway addresses

8 years agoImplementation of Ipv6Header::getl4Proto + cleanup in Ipv6 files
Ido Barnea [Wed, 5 Oct 2016 07:30:34 +0000 (10:30 +0300)]
Implementation of Ipv6Header::getl4Proto + cleanup in Ipv6 files

8 years agov2.09
Hanoh Haim [Fri, 30 Sep 2016 12:49:23 +0000 (15:49 +0300)]
v2.09

8 years agofix parsing tunables, add support for separate -t in console, add benchmark profile
Yaroslav Brustinov [Fri, 30 Sep 2016 09:52:29 +0000 (12:52 +0300)]
fix parsing tunables, add support for separate -t in console, add benchmark profile

8 years agorefactor limit split
Hanoh Haim [Fri, 30 Sep 2016 09:27:25 +0000 (12:27 +0300)]
refactor limit split

8 years agoadd hw_cs Python API doc
Hanoh Haim [Thu, 29 Sep 2016 14:39:03 +0000 (17:39 +0300)]
add hw_cs Python API doc

8 years agominor fix hw_cs in case of random pkt size
Hanoh Haim [Thu, 29 Sep 2016 14:29:49 +0000 (17:29 +0300)]
minor fix hw_cs in case of random pkt size

8 years agominor fix to hw_cs inst
Hanoh Haim [Thu, 29 Sep 2016 13:47:41 +0000 (16:47 +0300)]
minor fix to hw_cs inst

8 years agoadd a way to dump packet as K12 format for debug
Hanoh Haim [Thu, 29 Sep 2016 13:35:26 +0000 (16:35 +0300)]
add a way to dump packet as K12 format for debug

8 years agoadd mode example to hw cs profile
Hanoh Haim [Thu, 29 Sep 2016 13:34:26 +0000 (16:34 +0300)]
add mode example to hw cs profile

8 years ago add simple example for FixHwChecksum instruction
Hanoh Haim [Thu, 29 Sep 2016 11:00:35 +0000 (14:00 +0300)]
 add simple example for FixHwChecksum instruction

8 years agoAdd FE Instruction to fix TCP/UDP Payload checksum using hardware offload engine
Hanoh Haim [Thu, 29 Sep 2016 10:59:46 +0000 (13:59 +0300)]
Add FE Instruction to fix TCP/UDP Payload checksum using hardware offload engine

8 years agohttps://trex-tgn.cisco.com/youtrack/issue/trex-249
imarom [Thu, 29 Sep 2016 12:12:08 +0000 (15:12 +0300)]
https://trex-tgn.cisco.com/youtrack/issue/trex-249

8 years agohttps://trex-tgn.cisco.com/youtrack/issue/trex-243
imarom [Thu, 29 Sep 2016 07:45:54 +0000 (10:45 +0300)]
https://trex-tgn.cisco.com/youtrack/issue/trex-243

8 years agohttps://trex-tgn.cisco.com/youtrack/issue/trex-247
imarom [Thu, 29 Sep 2016 06:13:06 +0000 (09:13 +0300)]
https://trex-tgn.cisco.com/youtrack/issue/trex-247

8 years agoperformance measurements - class fix checksum does not work well
imarom [Wed, 28 Sep 2016 13:58:05 +0000 (16:58 +0300)]
performance measurements - class fix checksum does not work well

8 years agoperformance tweak - faster checksum
imarom [Wed, 28 Sep 2016 11:57:43 +0000 (14:57 +0300)]
performance tweak - faster checksum

8 years agocpp arg parser changes argv, on second iteration data might be not valid => copy...
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.

8 years agotrex-console: add print of Python error in case of error loading profile in TUI
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

8 years agostl api - importing profile: use given directory as first path, not last
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

8 years agofind_python.sh by default find any available Python, allow 3.5 too.
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

8 years agofix regression issues with step/init values
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)

8 years ago/etc/trex_cfg.yaml allow MAC as string "12:34:56:78:9a:bc" etc.
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

8 years agoupdate stl doc
Hanoh Haim [Mon, 26 Sep 2016 14:51:38 +0000 (17:51 +0300)]
update stl doc

8 years agoregression failure: VM with dec might not be able to pad the instruction to true...
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

8 years agomerge issues with rand limit
imarom [Sun, 25 Sep 2016 15:45:04 +0000 (18:45 +0300)]
merge issues with rand limit

8 years agosplit multicore - all tests pass
imarom [Sun, 25 Sep 2016 11:58:51 +0000 (14:58 +0300)]
split multicore - all tests pass

8 years agofixing up all gtests results (due to split now in order instead of
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)

8 years agoSplitter - padding for non circular VMs
imarom [Wed, 21 Sep 2016 15:12:46 +0000 (18:12 +0300)]
Splitter - padding for non circular VMs

8 years agoclient var support split now
imarom [Sun, 18 Sep 2016 11:40:13 +0000 (14:40 +0300)]
client var support split now

8 years agodraft: new split algorithm
imarom [Wed, 14 Sep 2016 10:31:39 +0000 (13:31 +0300)]
draft: new split algorithm

8 years agostl test rx_check virtio fixes + syntax sugar
Yaroslav Brustinov [Thu, 22 Sep 2016 00:39:33 +0000 (03:39 +0300)]
stl test rx_check virtio fixes + syntax sugar

8 years agofixes to dpdk startup scripts
Yaroslav Brustinov [Wed, 21 Sep 2016 11:23:52 +0000 (14:23 +0300)]
fixes to dpdk startup scripts

8 years agoregression: trex12 is vm
Yaroslav Brustinov [Wed, 14 Sep 2016 23:00:07 +0000 (02:00 +0300)]
regression: trex12 is vm

8 years agoregression: lower multiplier for assymetric imix at trex24
Yaroslav Brustinov [Wed, 14 Sep 2016 14:30:21 +0000 (17:30 +0300)]
regression: lower multiplier for assymetric imix at trex24

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