trex.git
8 years agofixed performance issue (moved STRECH case to low priority cases)
imarom [Wed, 26 Oct 2016 13:00:50 +0000 (15:00 +0200)]
fixed performance issue (moved STRECH case to low priority cases)

Signed-off-by: imarom <[email protected]>
8 years agoregression: fix client pkg test to configure the dut interfaces
Yaroslav Brustinov [Wed, 26 Oct 2016 13:21:35 +0000 (15:21 +0200)]
regression: fix client pkg test to configure the dut interfaces

8 years agoChanged trex25 config to be IP based
Ido Barnea [Wed, 26 Oct 2016 12:12:17 +0000 (15:12 +0300)]
Changed trex25 config to be IP based

Signed-off-by: Ido Barnea <[email protected]>
8 years agochanged simple_cfg.yaml to be IP based
Ido Barnea [Wed, 26 Oct 2016 08:46:42 +0000 (11:46 +0300)]
changed simple_cfg.yaml to be IP based

Signed-off-by: Ido Barnea <[email protected]>
8 years agoAdded support for router IP based config in regression, and changed TRex Dan to use it
Ido Barnea [Tue, 25 Oct 2016 17:28:00 +0000 (20:28 +0300)]
Added support for router IP based config in regression, and changed TRex Dan to use it

Signed-off-by: Ido Barnea <[email protected]>
8 years agoRemove useless print in server stateless mode
Ido Barnea [Tue, 25 Oct 2016 14:35:39 +0000 (17:35 +0300)]
Remove useless print in server stateless mode

Signed-off-by: Ido Barnea <[email protected]>
8 years agoMerge from master
Hanoh Haim [Tue, 25 Oct 2016 13:42:29 +0000 (16:42 +0300)]
Merge from master

8 years agoMerge branch 'scapy_service_for_gui' of git://github.com/kisel/trex-core into kisel...
Hanoh Haim [Tue, 25 Oct 2016 13:38:27 +0000 (16:38 +0300)]
Merge branch 'scapy_service_for_gui' of git://github.com/kisel/trex-core into kisel-scapy_service_for_gui

8 years agoperformance test did disconnect after end of tests
imarom [Tue, 25 Oct 2016 13:02:41 +0000 (15:02 +0200)]
performance test did disconnect after end of tests

Signed-off-by: imarom <[email protected]>
8 years agoadded performance test (starting with trex09)
imarom [Tue, 25 Oct 2016 09:47:47 +0000 (12:47 +0300)]
added performance test (starting with trex09)

Signed-off-by: imarom <[email protected]>
8 years agosignoff
Anton Kiselev [Mon, 24 Oct 2016 10:05:45 +0000 (17:05 +0700)]
signoff

Signed-off-by: Anton Kiselev <[email protected]>
8 years agopreserve abstract model structure, calculate values and show structure changes
Anton Kiselev [Thu, 20 Oct 2016 07:49:44 +0000 (14:49 +0700)]
preserve abstract model structure, calculate values and show structure changes

8 years agofix dpdk_setup_ports.py for Python3
Yaroslav Brustinov [Thu, 20 Oct 2016 03:58:17 +0000 (06:58 +0300)]
fix dpdk_setup_ports.py for Python3

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoSmall fix to dpdk_setup_ports.py
Ido Barnea [Thu, 20 Oct 2016 10:01:48 +0000 (13:01 +0300)]
Small fix to dpdk_setup_ports.py

Signed-off-by: Ido Barnea <[email protected]>
8 years agoAdded support for ip based config generation to dpdk_setup_ports.py
Ido Barnea [Thu, 20 Oct 2016 08:40:46 +0000 (11:40 +0300)]
Added support for ip based config generation to dpdk_setup_ports.py

Signed-off-by: Ido Barnea <[email protected]>
8 years agoMerge branch 'master' of https://github.com/danklein10/trex-core
Ido Barnea [Thu, 20 Oct 2016 07:47:17 +0000 (10:47 +0300)]
Merge branch 'master' of https://github.com/danklein10/trex-core

Signed-off-by: Ido Barnea <[email protected]>
8 years ago-s
Dan Klein [Wed, 19 Oct 2016 19:54:37 +0000 (22:54 +0300)]
-s

8 years agosevere crash when time strech push a node in the top of the priority queue
imarom [Tue, 18 Oct 2016 17:31:12 +0000 (19:31 +0200)]
severe crash when time strech push a node in the top of the priority queue
between TOP and POP
it was obsereved during execution of the command

push -r -f /auto/avc-devtest/CS-NBAR/SR_639103737/PcapPerIp.pcap -a -n 10000000 -s 1000

when two adject ports exists

Signed-off-by: imarom <[email protected]>
8 years agoHelp message fixes + removing unused command line options
Ido Barnea [Tue, 18 Oct 2016 14:28:19 +0000 (17:28 +0300)]
Help message fixes + removing unused command line options

Signed-off-by: Ido Barnea <[email protected]>
8 years agosignoff
Anton Kiselev [Tue, 18 Oct 2016 12:46:59 +0000 (19:46 +0700)]
signoff

Signed-off-by: Anton Kiselev <[email protected]>
8 years agoadd unit tests for scapy service
Anton Kiselev [Tue, 18 Oct 2016 12:46:06 +0000 (19:46 +0700)]
add unit tests for scapy service

Signed-off-by: Anton Kiselev <[email protected]>
8 years agosignoff
Anton Kiselev [Tue, 18 Oct 2016 07:48:41 +0000 (14:48 +0700)]
signoff

Signed-off-by: Anton Kiselev <[email protected]>
8 years agoupdate scapy_service for gui usage.
Anton Kiselev [Mon, 17 Oct 2016 07:16:16 +0000 (14:16 +0700)]
update scapy_service for gui usage.

- build_pkt, reconstruct_pkt and corresponding data structures changed
  in order to support nested protocols and correct field ordering
- binary packet editing capabilities with reconstruct_pkt
- added read_pcap, write_pcap for working with pcap files
- added get_definitions for retrieving scapy_service definitions for GUI
- added get_payload_classes for retrieving available payload classes
- python2, python3 support
squash-merge of kisel / 196d638

8 years agoMerge branch 'master' of csi-sceasr-b94:/auto/proj-pcube-b/apps/PL-b/tools/repo/...
vakalapa [Fri, 14 Oct 2016 13:58:45 +0000 (06:58 -0700)]
Merge branch 'master' of csi-sceasr-b94:/auto/proj-pcube-b/apps/PL-b/tools/repo//trex-core

8 years agosigningoff vakalapa
vakalapa [Fri, 14 Oct 2016 13:57:42 +0000 (06:57 -0700)]
signingoff vakalapa

Signed-off-by: vakalapa <[email protected]>
8 years agoadded signedoff file
imarom [Fri, 14 Oct 2016 13:48:22 +0000 (15:48 +0200)]
added signedoff file

Signed-off-by: imarom <[email protected]>
8 years agoremoving signedoff/imarom
imarom [Fri, 14 Oct 2016 13:47:47 +0000 (15:47 +0200)]
removing signedoff/imarom

Signed-off-by: imarom <[email protected]>
8 years ago-s
imarom [Thu, 13 Oct 2016 18:48:22 +0000 (20:48 +0200)]
-s

8 years ago-s
vakalapa [Thu, 13 Oct 2016 17:54:44 +0000 (10:54 -0700)]
-s

8 years agosignoff
Ido Barnea [Thu, 13 Oct 2016 13:57:27 +0000 (16:57 +0300)]
signoff

Signed-off-by: Ido Barnea <[email protected]>
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