trex.git
8 years agoTune multiplier for trex-25, on the verge of avalanche 26/5226/1
Hanoh Haim [Thu, 5 Jan 2017 18:01:43 +0000 (20:01 +0200)]
Tune multiplier for trex-25, on the verge of avalanche

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoAdd support for predefined packet templates. 55/5355/1
ichebyki [Tue, 20 Dec 2016 05:57:59 +0000 (12:57 +0700)]
Add support for predefined packet templates.

Change-Id: Ib2bdcbe6ea18933394527f06be001607344c75e4
Signed-off-by: Igor Chebykin <[email protected]>
8 years agoUpdate docs with info about Field Engine and predefined templates. 54/5354/1
Vyacheslav Ogai [Thu, 29 Dec 2016 07:49:39 +0000 (14:49 +0700)]
Update docs with info about Field Engine and predefined templates.

Change-Id: Ia9480a21c982d2d245aef75908e248ecf0573053
Signed-off-by: Vyacheslav Ogai <[email protected]>
8 years agoupdate release notes v2.14 25/5225/1
Hanoh Haim [Thu, 5 Jan 2017 14:09:50 +0000 (16:09 +0200)]
update release notes v2.14

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoadd not accurate timer wheel for better performance 24/5224/1
Hanoh Haim [Tue, 3 Jan 2017 15:25:18 +0000 (17:25 +0200)]
add not accurate timer wheel for better performance

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoRegression: test_all_profiles at trex07 skip failing profiles: 53/5353/1
Yaroslav Brustinov [Thu, 5 Jan 2017 08:05:29 +0000 (10:05 +0200)]
Regression: test_all_profiles at trex07 skip failing profiles:
https://trex-tgn.cisco.com/youtrack/issue/trex-325

Change-Id: Ic9d197e4c72415eac7fd2651dd130491e3509e8f
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoconsole: move show_intro into try-finally to ensure release of ports 52/5352/1
Yaroslav Brustinov [Wed, 4 Jan 2017 15:38:21 +0000 (17:38 +0200)]
console: move show_intro into try-finally to ensure release of ports

Change-Id: Icfe30379a24560cf0807edd239d3eb07d81a492f
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoCreate config script: fix verify custom MAC in interactive mode 51/5351/1
Yaroslav Brustinov [Tue, 3 Jan 2017 22:59:07 +0000 (00:59 +0200)]
Create config script: fix verify custom MAC in interactive mode

Change-Id: I503cea766e840682c1698cc2201bc24ef1c287d6
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoSTL Console: fix crash in case of no supported speeds reported by DPDK 50/5350/1
Yaroslav Brustinov [Tue, 3 Jan 2017 15:54:20 +0000 (17:54 +0200)]
STL Console: fix crash in case of no supported speeds reported by DPDK
Regression: update stl performance kiwi benchmark (was my typo)

Change-Id: I0ea615d2511ea0339665e8fa5c8621eec9ebcb1e
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoStateless API: increase delay in remove rx filters to 100ms in case of virtual NICs. 49/5349/1
Yaroslav Brustinov [Tue, 3 Jan 2017 13:17:58 +0000 (15:17 +0200)]
Stateless API: increase delay in remove rx filters to 100ms in case of virtual NICs.
Regression: increase delay in remove rx filters in trex07 to 100ms in test_all_profiles test.

Change-Id: Ia7dda25c94aeadcaae0b16023f6ea2957a99906f
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoDocs (trex_analytics) fix trex11 NICs 48/5348/1
Yaroslav Brustinov [Tue, 3 Jan 2017 01:20:28 +0000 (03:20 +0200)]
Docs (trex_analytics) fix trex11 NICs

Change-Id: Idab5d10660d40dd1f5a9352d42a496f888fb334c
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoadd warning about lack of read permissions for user "nobody" to run scapy server. 47/5347/1
Yaroslav Brustinov [Mon, 2 Jan 2017 17:10:25 +0000 (19:10 +0200)]
add warning about lack of read permissions for user "nobody" to run scapy server.
add flag to disable scapy server run.

Change-Id: I65ccfb24ed4a5461fe2a13d8be0f07fad8a50bae
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoCreating config script: by default dump config to screen, note on -o flag to save... 46/5346/1
Yaroslav Brustinov [Mon, 2 Jan 2017 09:53:31 +0000 (11:53 +0200)]
Creating config script: by default dump config to screen, note on -o flag to save to file.

Change-Id: I899943d0005d91f27dafd0395c5cdb5da964df11
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agocrash in case of stateless and link down 45/5345/1
Yaroslav Brustinov [Sun, 1 Jan 2017 17:19:43 +0000 (19:19 +0200)]
crash in case of stateless and link down

Change-Id: I3c9902808e4e3c3174ad5ed5fa81bc70f1840f86
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agofixed detailed table to return more detailed data 21/5221/1
itraviv [Sun, 1 Jan 2017 16:38:06 +0000 (18:38 +0200)]
fixed detailed table to return more detailed data

Signed-off-by: itraviv <[email protected]>
8 years agoFix --send-debug-pkt test so that VIC card will be able to work with less patches 20/5220/1
Ido Barnea [Sun, 1 Jan 2017 11:35:55 +0000 (13:35 +0200)]
Fix --send-debug-pkt test so that VIC card will be able to work with less patches

Signed-off-by: Ido Barnea <[email protected]>
8 years agoRegression stl performance: send to GA in case of failure too 44/5344/1
Yaroslav Brustinov [Sun, 1 Jan 2017 10:02:15 +0000 (12:02 +0200)]
Regression stl performance: send to GA in case of failure too

Change-Id: Ia1c412df58d184d129722bb4787d10b59eff2370
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoregression: update trex11 stateless bench based on 12 last regression reports 43/5343/1
Yaroslav Brustinov [Sun, 1 Jan 2017 01:44:30 +0000 (03:44 +0200)]
regression: update trex11 stateless bench based on 12 last regression reports

Change-Id: I637087ea9499668ecb1c39b10d7c17f058dff82a
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoregression: update stl performance benchmark based on 100 last regression reports 42/5342/1
Yaroslav Brustinov [Sun, 1 Jan 2017 01:33:26 +0000 (03:33 +0200)]
regression: update stl performance benchmark based on 100 last regression reports

Change-Id: I2c18532063423f9229f26080cbb7a2e612ff8c27
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agominor 41/5341/1
Yaroslav Brustinov [Sun, 1 Jan 2017 00:55:59 +0000 (02:55 +0200)]
minor

Change-Id: Ibf02ca9bb5e2f2a6e6c0a498dc8ce889069acb56
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoMax number of ports: 16 40/5340/1
Yaroslav Brustinov [Sun, 25 Dec 2016 00:02:59 +0000 (02:02 +0200)]
Max number of ports: 16

Change-Id: I93e2efe542578b0745d2f40adb2bcf35ffdff31b
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoalter the watchdog timeout before push_remote and after, due to possible long io 39/5339/1
Yaroslav Brustinov [Sun, 1 Jan 2017 00:48:04 +0000 (02:48 +0200)]
alter the watchdog timeout before push_remote and after, due to possible long io

Change-Id: Ibddf830dbed8ee36c75113267645a576e38efa31
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agodocs rsync: fix formatting error string 38/5338/1
Yaroslav Brustinov [Sun, 1 Jan 2017 00:27:43 +0000 (02:27 +0200)]
docs rsync: fix formatting error string

Change-Id: I44a96bc220b4281b50cefc35bf9114f62d6ff10a
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoregression: avoid queue full at trex11 37/5337/1
Yaroslav Brustinov [Sat, 31 Dec 2016 10:27:58 +0000 (12:27 +0200)]
regression: avoid queue full at trex11

Change-Id: If6ff7e2675657bc53ef49237db3604b088a48ffc
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoregression: 36/5336/1
Yaroslav Brustinov [Sat, 31 Dec 2016 07:20:53 +0000 (09:20 +0200)]
regression:
do not retry on stateless performance failure, results are the same per TRex run.
add trex11 performance section for not to skip. TODO: calibrate

Change-Id: I358121c2b89455c91f4c9dd078dedf0921c3d8a1
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoregression: tune kiwi02 performance 35/5335/1
Yaroslav Brustinov [Sat, 31 Dec 2016 07:11:29 +0000 (09:11 +0200)]
regression: tune kiwi02 performance

Change-Id: I6f12bb282b6f0ef7c6fd5812f2ea89a59c7f7c83
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoadd ef posix_memalign function 19/5219/1
Hanoh Haim [Tue, 27 Dec 2016 07:32:25 +0000 (09:32 +0200)]
add ef posix_memalign function

Signed-off-by: Hanoh Haim <[email protected]>
8 years agowatchdog - support for long IO operations 18/5218/1
imarom [Mon, 26 Dec 2016 13:08:38 +0000 (15:08 +0200)]
watchdog - support for long IO operations
also reduce complexity of the watchdog

Signed-off-by: imarom <[email protected]>
8 years agov2.13 minors 17/5217/1
Hanoh Haim [Mon, 26 Dec 2016 13:06:23 +0000 (15:06 +0200)]
v2.13 minors

Signed-off-by: Hanoh Haim <[email protected]>
8 years agov2.13 16/5216/1
Hanoh Haim [Mon, 26 Dec 2016 12:58:21 +0000 (14:58 +0200)]
v2.13

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoadd tw appendix for many active of flows 15/5215/1
Hanoh Haim [Mon, 26 Dec 2016 12:42:10 +0000 (14:42 +0200)]
add tw appendix for many active of flows

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoRegression: update stateful benchmark at kiwi02 34/5334/1
Yaroslav Brustinov [Mon, 26 Dec 2016 07:31:54 +0000 (09:31 +0200)]
Regression: update stateful benchmark at kiwi02

Change-Id: I2e987c32b6dd77360cddd5ee8afd098caff49cd0
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoadd --active-flows option to scale the active flows 14/5214/1
Hanoh Haim [Mon, 26 Dec 2016 05:50:05 +0000 (07:50 +0200)]
add --active-flows option to scale the active flows

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoRegression: verify connectivity to trex_daemon_server 33/5333/1
Yaroslav Brustinov [Sun, 25 Dec 2016 15:02:52 +0000 (17:02 +0200)]
Regression: verify connectivity to trex_daemon_server

Change-Id: Ie83ebb7bfc08fef6060b7e61f865c5fa00530cac
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoregression breakage 13/5213/1
imarom [Sun, 25 Dec 2016 14:35:07 +0000 (16:35 +0200)]
regression breakage

Signed-off-by: imarom <[email protected]>
8 years agoRegression: handle exceptions during mapping to skip other tests 32/5332/1
Yaroslav Brustinov [Sun, 25 Dec 2016 14:29:24 +0000 (16:29 +0200)]
Regression: handle exceptions during mapping to skip other tests

Change-Id: Icbb0a2469be5c90248b80eb46c1c80355b48acb1
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoDisable watchdog for 5 seconds at Mellanox link up/down command 31/5331/1
Yaroslav Brustinov [Sun, 25 Dec 2016 13:30:38 +0000 (15:30 +0200)]
Disable watchdog for 5 seconds at Mellanox link up/down command

Change-Id: If19c9c0d3e5d684e6157ab5c71a927e2e89b8211
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoUpdate STL API version to 3.0 30/5330/1
Yaroslav Brustinov [Sun, 25 Dec 2016 13:07:27 +0000 (15:07 +0200)]
Update STL API version to 3.0

Change-Id: Ib00cdc8f960522e54414cfda5ae7778887a9d0ec
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoadd a way to change tw configuration 12/5212/1
Hanoh Haim [Sun, 25 Dec 2016 12:50:14 +0000 (14:50 +0200)]
add a way to change tw configuration

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoAllow running x710 in --VM mode 11/5211/1
Ido Barnea [Sun, 25 Dec 2016 12:19:59 +0000 (14:19 +0200)]
Allow running x710 in --VM mode

Signed-off-by: Ido Barnea <[email protected]>
8 years agobug: ICMP ping did not ping the correct address 10/5210/1
imarom [Sun, 25 Dec 2016 11:50:22 +0000 (13:50 +0200)]
bug: ICMP ping did not ping the correct address

Signed-off-by: imarom <[email protected]>
8 years agorefactor layer config on prot attributes 09/5209/1
imarom [Sun, 25 Dec 2016 10:54:09 +0000 (12:54 +0200)]
refactor layer config on prot attributes
added guard against unconfigured MAC when going up with empty config
file

Signed-off-by: imarom <[email protected]>
8 years agoclean up tw code 08/5208/1
Hanoh Haim [Sun, 25 Dec 2016 09:31:16 +0000 (11:31 +0200)]
clean up tw code

Signed-off-by: Hanoh Haim <[email protected]>
8 years agogcc macro cleanup 07/5207/1
Hanoh Haim [Sun, 25 Dec 2016 09:25:02 +0000 (11:25 +0200)]
gcc macro cleanup

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoRegression: adapt IMIX stateful benchmark to removal of mbuf optimization 29/5329/1
Yaroslav Brustinov [Sun, 25 Dec 2016 09:03:53 +0000 (11:03 +0200)]
Regression: adapt IMIX stateful benchmark to removal of mbuf optimization

Change-Id: I5a8b3912cad47070cc78658762d98aefe68085c4
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoupdate readme 06/5206/1
Hanoh Haim [Sun, 25 Dec 2016 09:02:18 +0000 (11:02 +0200)]
update readme

Signed-off-by: Hanoh Haim <[email protected]>
8 years agodisable mbug optimization in case of stateful repeat flow, this option should be... 05/5205/1
Hanoh Haim [Sat, 24 Dec 2016 21:26:04 +0000 (23:26 +0200)]
disable mbug optimization in case of stateful repeat flow, this option should be done in Stateless

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoadd a http short avg pkt size profile 04/5204/1
Hanoh Haim [Sat, 24 Dec 2016 21:16:44 +0000 (23:16 +0200)]
add a http short avg pkt size profile

Signed-off-by: Hanoh Haim <[email protected]>
8 years agomask some sim output files 03/5203/1
Hanoh Haim [Sat, 24 Dec 2016 20:35:37 +0000 (22:35 +0200)]
mask some sim output files

Signed-off-by: Hanoh Haim <[email protected]>
8 years agofix trex-282 from #138 net/enic: fix memory leak with oversized Tx packets ticket 02/5202/1
Hanoh Haim [Sat, 24 Dec 2016 20:06:55 +0000 (22:06 +0200)]
fix trex-282 from #138 net/enic: fix memory leak with oversized Tx packets ticket

Signed-off-by: Hanoh Haim <[email protected]>
8 years ago sim stateful works now 01/5201/1
Hanoh Haim [Sat, 24 Dec 2016 19:38:50 +0000 (21:38 +0200)]
 sim stateful works now

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoRegression stateful: division by zero due to rounding of small numbers, only warn... 28/5328/1
Yaroslav Brustinov [Thu, 22 Dec 2016 22:27:31 +0000 (00:27 +0200)]
Regression stateful: division by zero due to rounding of small numbers, only warn for too high BW, not fail. (will be noticed by failured of queue full etc.)

Change-Id: I4ecfb13032a3d8cb27fb224fb5ed8dd4e10f68a2
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoFix IP based creation of config in case of interactive too 27/5327/1
Yaroslav Brustinov [Thu, 22 Dec 2016 19:56:46 +0000 (21:56 +0200)]
Fix IP based creation of config in case of interactive too

Change-Id: I870cc2a3f982dc57b437abf3c8a14ce65264f165
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoConfig creation script (IP based): wrong IP in case of 10+ interfaces 26/5326/1
Yaroslav Brustinov [Thu, 22 Dec 2016 16:03:24 +0000 (18:03 +0200)]
Config creation script (IP based): wrong IP in case of 10+ interfaces

Change-Id: I71e861b9dcbc838d6344fa051cebacaa16e1fc54
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoLess strict check on end of warmup state in Stateful API (96% of expected) 25/5325/1
Yaroslav Brustinov [Thu, 22 Dec 2016 15:54:38 +0000 (17:54 +0200)]
Less strict check on end of warmup state in Stateful API (96% of expected)
Regression: (stateful) check that the BW is less than expected + 5%.

Change-Id: Ie181a970d81fbca30a17d17ee98d0228603db11c
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoRevert "stateful repeat flows is no accurate - filter tests for now until it will... 00/5200/1
Hanoh Haim [Thu, 22 Dec 2016 15:34:44 +0000 (17:34 +0200)]
Revert "stateful repeat flows is no accurate - filter tests for now until it will be fixed"

This reverts commit 1eea3fc8a3721b10e062401f7e47ccf18e59fbe5.

8 years agostateful scheduler cleanup 99/5199/1
Hanoh Haim [Thu, 22 Dec 2016 09:35:11 +0000 (11:35 +0200)]
stateful scheduler cleanup

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoSmall fix to previous commit 98/5198/1
Ido Barnea [Thu, 22 Dec 2016 15:20:28 +0000 (17:20 +0200)]
Small fix to previous commit

Signed-off-by: Ido Barnea <[email protected]>
8 years agoAllow up to 10 hops TTL reduction in X710 and 82599 stateful 97/5197/1
Ido Barnea [Thu, 22 Dec 2016 14:49:34 +0000 (16:49 +0200)]
Allow up to 10 hops TTL reduction in X710 and 82599 stateful

Signed-off-by: Ido Barnea <[email protected]>
8 years agoUDP NAT --learn mode 1,3 support - doc + regression tests 96/5196/1
Ido Barnea [Wed, 21 Dec 2016 15:15:04 +0000 (17:15 +0200)]
UDP NAT --learn mode 1,3 support - doc + regression tests

Signed-off-by: Ido Barnea <[email protected]>
8 years agoSupport for UDP with --learn_mode 1 and 3 (TCP ACK) using IP_ID 95/5195/1
Ido Barnea [Wed, 21 Dec 2016 13:36:35 +0000 (15:36 +0200)]
Support for UDP with --learn_mode 1 and 3 (TCP ACK) using IP_ID

Signed-off-by: Ido Barnea <[email protected]>
8 years agostateful repeat flows is no accurate - filter tests for now until it will be fixed 94/5194/1
Hanoh Haim [Thu, 22 Dec 2016 07:51:12 +0000 (09:51 +0200)]
stateful repeat flows is no accurate - filter tests for now until it will be fixed

Signed-off-by: Hanoh Haim <[email protected]>
8 years agomaster_daemon: failure if directory in package is not in format v1.11 24/5324/1
Yaroslav Brustinov [Wed, 21 Dec 2016 19:24:56 +0000 (21:24 +0200)]
master_daemon: failure if directory in package is not in format v1.11

Change-Id: Ieb8a0438826148296600a5ab1783376e03df1459
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoRX services - general API to allow addition of new features 93/5193/1
imarom [Wed, 21 Dec 2016 15:49:38 +0000 (17:49 +0200)]
RX services - general API to allow addition of new features
see trex_stl_lib/rx_services/trex_stl_rx_service_api.py

Signed-off-by: imarom <[email protected]>
8 years agoAdd affinity for scapy_daemon_server to master thread from config file 23/5323/1
Yaroslav Brustinov [Wed, 21 Dec 2016 14:36:29 +0000 (16:36 +0200)]
Add affinity for scapy_daemon_server to master thread from config file

Change-Id: I83d3138b713f3448bbc649e6d7a5fabe3860285c
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agowatchdog disable for time capability 92/5192/1
imarom [Wed, 21 Dec 2016 12:25:16 +0000 (14:25 +0200)]
watchdog disable for time capability

Signed-off-by: imarom <[email protected]>
8 years agominor error checks refinements 91/5191/1
imarom [Wed, 21 Dec 2016 10:03:25 +0000 (12:03 +0200)]
minor error checks refinements

Signed-off-by: imarom <[email protected]>
8 years agoimprove Stateful scheduler 90/5190/1
Hanoh Haim [Wed, 7 Dec 2016 13:24:38 +0000 (15:24 +0200)]
improve Stateful scheduler

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoFix the way root user is being determined in Python; Running scapy_daemon_server... 22/5322/1
Yaroslav Brustinov [Tue, 20 Dec 2016 15:47:22 +0000 (17:47 +0200)]
Fix the way root user is being determined in Python; Running scapy_daemon_server and stl_rpc_proxy now should work without tty;

Change-Id: Id70be83956a9b8279197c68dd58b674e972fc1a9
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agotrex-190 - Shutting down server and restarting with different config - console out... 89/5189/1
imarom [Tue, 20 Dec 2016 14:43:17 +0000 (16:43 +0200)]
trex-190 - Shutting down server and restarting with different config - console out of sync

Signed-off-by: imarom <[email protected]>
8 years agohttps://trex-tgn.cisco.com/youtrack/issue/trex-313 88/5188/1
imarom [Tue, 20 Dec 2016 14:12:39 +0000 (16:12 +0200)]
https://trex-tgn.cisco.com/youtrack/issue/trex-313

Signed-off-by: imarom <[email protected]>
8 years agoscapy_server fix Python3 issue 21/5321/1
Yaroslav Brustinov [Tue, 20 Dec 2016 13:34:46 +0000 (15:34 +0200)]
scapy_server fix Python3 issue

Change-Id: I39c0590673fd481fd6cf01ea6c0657a586c3e0a8
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agotrex-312 ARP resolution does not work from console at virtual NICs 87/5187/1
imarom [Tue, 20 Dec 2016 12:58:30 +0000 (14:58 +0200)]
trex-312 ARP resolution does not work from console at virtual NICs

Signed-off-by: imarom <[email protected]>
8 years agoSTL profile bench.py: add 'imix' option to tunable 'size' 20/5320/1
Yaroslav Brustinov [Tue, 20 Dec 2016 12:13:15 +0000 (14:13 +0200)]
STL profile bench.py: add 'imix' option to tunable 'size'

Change-Id: I55dd86d69a6fb49cd349c79be966b6c3415ccc1d
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoadd scapy_daemon_server to pkg 19/5319/1
Yaroslav Brustinov [Tue, 20 Dec 2016 11:30:42 +0000 (13:30 +0200)]
add scapy_daemon_server to pkg

Change-Id: Id07323c0d79c108d3ac94598df176ec744671a36
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoscapy launcher 18/5318/1
Yaroslav Brustinov [Tue, 13 Dec 2016 23:19:31 +0000 (01:19 +0200)]
scapy launcher

Change-Id: Iafe0365e82c5386e87dbf7abd0f0982c3ff95d80
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoCheck OS version for Mellanox NICs; More detailed args error prints; 40G and Mellanox... 17/5317/1
Yaroslav Brustinov [Tue, 20 Dec 2016 09:01:52 +0000 (11:01 +0200)]
Check OS version for Mellanox NICs; More detailed args error prints; 40G and Mellanox driver classes inherit from Base, not 10G.

Change-Id: I55f7833078ca9d7bfcda211ad165a656ce5014c5
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoMerge branch 'payload_gen_total_size_ether_chksum' of git://github.com/kisel/trex... 86/5186/1
Hanoh Haim [Mon, 19 Dec 2016 14:06:38 +0000 (16:06 +0200)]
Merge branch 'payload_gen_total_size_ether_chksum' of git://github.com/kisel/trex-core into field_engine

8 years agoAdd check for cache_size parameter input. 85/5185/1
Vyacheslav Ogai [Tue, 6 Dec 2016 20:23:50 +0000 (22:23 +0200)]
Add check for cache_size parameter input.

Signed-off-by: Vyacheslav Ogai <[email protected]>
8 years agoAdded a workaround for Ether.fields 84/5184/1
Vyacheslav Ogai [Fri, 2 Dec 2016 01:01:34 +0000 (03:01 +0200)]
Added a workaround for Ether.fields

Signed-off-by: Vyacheslav Ogai <[email protected]>
8 years agoAdd field engine instructions templates metadata. 83/5183/1
Vyacheslav Ogai [Thu, 1 Dec 2016 10:46:03 +0000 (12:46 +0200)]
Add field engine instructions templates metadata.

Signed-off-by: Vyacheslav Ogai <[email protected]>
8 years agoAdded autocompletion support for offset parameter. 82/5182/1
Vyacheslav Ogai [Wed, 30 Nov 2016 22:49:31 +0000 (00:49 +0200)]
Added autocompletion support for offset parameter.

Signed-off-by: Vyacheslav Ogai <[email protected]>
8 years agoUpdate _existed_flow_var_names. Now it returns all Flow var names. 81/5181/1
Vyacheslav Ogai [Wed, 30 Nov 2016 10:08:27 +0000 (12:08 +0200)]
Update _existed_flow_var_names. Now it returns all Flow var names.

Signed-off-by: Vyacheslav Ogai <[email protected]>
8 years agoAdd more VM insructions. 80/5180/1
Vyacheslav Ogai [Tue, 29 Nov 2016 23:30:41 +0000 (01:30 +0200)]
Add more VM insructions.

Signed-off-by: Vyacheslav Ogai <[email protected]>
8 years agoSupport autocompletion for VM instruction parameters. 79/5179/1
Vyacheslav Ogai [Tue, 29 Nov 2016 23:28:08 +0000 (01:28 +0200)]
Support autocompletion for VM instruction parameters.

Signed-off-by: Vyacheslav Ogai <[email protected]>
8 years agoFix minor bugs in VM instructions. 78/5178/1
Vyacheslav Ogai [Tue, 29 Nov 2016 23:26:26 +0000 (01:26 +0200)]
Fix minor bugs in VM instructions.

Signed-off-by: Vyacheslav Ogai <[email protected]>
8 years agoUpdate field engine defs. Generation vm instrucions from updated model. 77/5177/1
Vyacheslav Ogai [Sat, 8 Oct 2016 17:59:07 +0000 (20:59 +0300)]
Update field engine defs. Generation vm instrucions from updated model.

Signed-off-by: Vyacheslav Ogai <[email protected]>
8 years agoAdd instrucitons meta. Delete split_by_field field engine global parameter. 76/5176/1
Vyacheslav Ogai [Wed, 5 Oct 2016 13:03:37 +0000 (16:03 +0300)]
Add instrucitons meta. Delete split_by_field field engine global parameter.

Signed-off-by: Vyacheslav Ogai <[email protected]>
8 years agoAdded initial implementation of Field Engine support. 75/5175/1
Vyacheslav Ogai [Fri, 30 Sep 2016 16:18:46 +0000 (19:18 +0300)]
Added initial implementation of Field Engine support.

Signed-off-by: Vyacheslav Ogai <[email protected]>
8 years agoPYZMQ memory leakage: 74/5174/1
imarom [Mon, 19 Dec 2016 12:51:24 +0000 (14:51 +0200)]
PYZMQ memory leakage:
see this:
https://github.com/zeromq/pyzmq/issues/767

and this:
https://github.com/minrk/pyzmq/commit/51bbb2d2e3197343d7cfe0aa6d500b61e63c7b01

Signed-off-by: imarom <[email protected]>
8 years agochanges from code review 16/5316/1
Yaroslav Brustinov [Sun, 18 Dec 2016 18:11:31 +0000 (20:11 +0200)]
changes from code review

Change-Id: I628608643d902bd6310b04b8036fc5f1fcc42309
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years ago1) limit number of streams per port to 20k 15/5315/1
Yaroslav Brustinov [Mon, 12 Dec 2016 15:38:43 +0000 (17:38 +0200)]
1) limit number of streams per port to 20k
2) fix showing error in TUI
3) represensation of STLError: show only errors if error, limit by 10 entries

Change-Id: Ib8de9222e7fc09dd67275283857d0d7e9cb5988c
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoSTL API: fix split batch to chunks - don't stop at chunk with error, return all the... 14/5314/1
Yaroslav Brustinov [Mon, 12 Dec 2016 14:27:44 +0000 (16:27 +0200)]
STL API: fix split batch to chunks - don't stop at chunk with error, return all the result, not just error in case of error.

Change-Id: I50162301054500585ecfffcdaad78992cfda9b0e
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoadd min_ipg to push_pcaps 13/5313/1
Yaroslav Brustinov [Sun, 11 Dec 2016 17:06:13 +0000 (19:06 +0200)]
add min_ipg to push_pcaps

Change-Id: I353f8903c40963517fd2fed721cc0671d9f6dc4b
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agobuild: check for OFED, save different config per hostname 12/5312/1
Yaroslav Brustinov [Mon, 19 Dec 2016 09:03:36 +0000 (11:03 +0200)]
build: check for OFED, save different config per hostname

Change-Id: I2f558bbdfb4ff7db380b0e3b6126ff10c56ad6f7
Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoverify L2/L3 configuration cannot be done under traffic 73/5173/1
imarom [Mon, 19 Dec 2016 06:52:08 +0000 (08:52 +0200)]
verify L2/L3 configuration cannot be done under traffic
also ping and arp

Signed-off-by: imarom <[email protected]>
8 years agoSome doc fixes for FAQ and per stream statistics 72/5172/1
Ido Barnea [Sun, 18 Dec 2016 16:22:17 +0000 (18:22 +0200)]
Some doc fixes for FAQ and per stream statistics

Signed-off-by: Ido Barnea <[email protected]>
8 years agoSmall fix to client config doc 71/5171/1
Ido Barnea [Sun, 18 Dec 2016 14:15:12 +0000 (16:15 +0200)]
Small fix to client config doc

Signed-off-by: Ido Barnea <[email protected]>
8 years agoFix trex-310 get_active_pgids() does not work 70/5170/1
Ido Barnea [Sun, 18 Dec 2016 13:46:26 +0000 (15:46 +0200)]
Fix trex-310 get_active_pgids() does not work

Signed-off-by: Ido Barnea <[email protected]>
8 years agotrex-234 - when allocating too many PG IDs an error get stuck 69/5169/1
imarom [Sun, 18 Dec 2016 12:59:51 +0000 (14:59 +0200)]
trex-234 - when allocating too many PG IDs an error get stuck

Signed-off-by: imarom <[email protected]>