trex.git
9 years agoscapy library remove crypto and ans1
Hanoh Haim [Mon, 7 Mar 2016 10:54:16 +0000 (12:54 +0200)]
scapy library remove crypto and ans1

9 years agoyet another patch for regression
Hanoh Haim [Fri, 4 Mar 2016 06:35:57 +0000 (08:35 +0200)]
yet another patch for regression

9 years ago patch the regression for now
Hanoh Haim [Fri, 4 Mar 2016 06:00:57 +0000 (08:00 +0200)]
 patch the regression for now

9 years agov1.94
Hanoh Haim [Fri, 4 Mar 2016 05:45:52 +0000 (07:45 +0200)]
v1.94

9 years agov1.94
Hanoh Haim [Fri, 4 Mar 2016 05:45:41 +0000 (07:45 +0200)]
v1.94

9 years agoTemporary putting back latency_thread_id instead of rx_thread_id in cfg
Ido Barnea [Fri, 4 Mar 2016 05:20:34 +0000 (07:20 +0200)]
Temporary putting back latency_thread_id instead of rx_thread_id in cfg
file

9 years agoignore python3 cache, generated code files
Yaroslav Brustinov [Fri, 4 Mar 2016 01:46:39 +0000 (03:46 +0200)]
ignore python3 cache, generated code files
add option to export Profile (and thus stream too) to Python code
add for each profile in functional tests generating it to Python code and comparing to same pcap result
add loading Prifile via add_streams()
fix IMIX rates in HLTAPI used with line % and bps
Scapy packet builder: fixes to load of pcap/yaml - use MAC from pcap (with flag), remove FCS (with flag), support for VM with offsets by name

9 years agoRX stats example "stl_rx_stream.py"
imarom [Thu, 3 Mar 2016 16:10:29 +0000 (18:10 +0200)]
RX stats example "stl_rx_stream.py"

9 years agoRX stats API
imarom [Thu, 3 Mar 2016 14:34:20 +0000 (16:34 +0200)]
RX stats API

9 years agoMerge Console merge
Hanoh Haim [Thu, 3 Mar 2016 15:14:28 +0000 (17:14 +0200)]
Merge Console merge

9 years agoconsole help looks better now
Hanoh Haim [Thu, 3 Mar 2016 15:14:12 +0000 (17:14 +0200)]
console help looks better now

9 years agoSmall flow stat fix
Ido Barnea [Thu, 3 Mar 2016 14:12:36 +0000 (16:12 +0200)]
Small flow stat fix

9 years agoper flow stat bug fix (counting everything twice)
Ido Barnea [Thu, 3 Mar 2016 11:46:30 +0000 (13:46 +0200)]
per flow stat bug fix (counting everything twice)

9 years agochanging "latency" to "rx" + rx core options logic fix
Ido Barnea [Thu, 3 Mar 2016 09:40:57 +0000 (11:40 +0200)]
changing "latency" to "rx" + rx core options logic fix
indentation fix, whitespace cleanup

9 years agoXTERM might not be present on the machine
imarom [Thu, 3 Mar 2016 09:30:54 +0000 (11:30 +0200)]
XTERM might not be present on the machine
so TUI -x might give exception - fix it

9 years agoport mapping - hardening
imarom [Wed, 2 Mar 2016 14:01:08 +0000 (16:01 +0200)]
port mapping - hardening

9 years agobrief/deep sleep for DP cores
imarom [Wed, 2 Mar 2016 12:37:58 +0000 (14:37 +0200)]
brief/deep sleep for DP cores

9 years agoPAUSE JSON event was deleted accidently
imarom [Wed, 2 Mar 2016 11:32:29 +0000 (13:32 +0200)]
PAUSE JSON event was deleted accidently

9 years agoTX barrier
imarom [Wed, 2 Mar 2016 09:05:51 +0000 (11:05 +0200)]
TX barrier

9 years agoFix for simulator compilation error because of TX stat feature
Ido Barnea [Wed, 2 Mar 2016 11:27:36 +0000 (13:27 +0200)]
Fix for simulator compilation error because of TX stat feature

9 years agotx stats per stream
Ido Barnea [Tue, 1 Mar 2016 09:10:48 +0000 (11:10 +0200)]
tx stats per stream

9 years agoadd stream name
Hanoh Haim [Tue, 1 Mar 2016 12:02:17 +0000 (14:02 +0200)]
add stream name

9 years agoMerge --pkt support to stl-sim
Hanoh Haim [Tue, 1 Mar 2016 11:50:20 +0000 (13:50 +0200)]
Merge --pkt support to stl-sim

9 years agoadd --pkt to stl-sim
Hanoh Haim [Tue, 1 Mar 2016 11:49:56 +0000 (13:49 +0200)]
add --pkt to stl-sim

9 years agofix expected pcap number of packets; add simple example of HLT
Yaroslav Brustinov [Mon, 29 Feb 2016 16:07:02 +0000 (18:07 +0200)]
fix expected pcap number of packets; add simple example of HLT

9 years agohltapi: fix decrement exceeding maximal add_value range, add several useful functions...
Yaroslav Brustinov [Mon, 29 Feb 2016 15:03:09 +0000 (17:03 +0200)]
hltapi: fix decrement exceeding maximal add_value range, add several useful functions, add mac profile

9 years agoyet another limitation of 8 ports
Yaroslav Brustinov [Mon, 29 Feb 2016 11:57:59 +0000 (13:57 +0200)]
yet another limitation of 8 ports

9 years agostdint.h on Fedora dist. requires explicit defines for
imarom [Mon, 29 Feb 2016 08:29:52 +0000 (10:29 +0200)]
stdint.h on Fedora dist. requires explicit defines for
format macros and limit macros - updated the WAF makefiles

9 years agorandom var crash when range is full uint32_t or full uint64_t
imarom [Sun, 28 Feb 2016 15:02:09 +0000 (17:02 +0200)]
random var crash when range is full uint32_t or full uint64_t

9 years agohltapi: remove default for l3_protocol and l4_protocol, add several profiles
Yaroslav Brustinov [Sun, 28 Feb 2016 16:04:50 +0000 (18:04 +0200)]
hltapi: remove default for l3_protocol and l4_protocol, add several profiles

9 years agoon Fedora 18, inttypes.h requires explicit define
imarom [Sun, 28 Feb 2016 13:09:53 +0000 (15:09 +0200)]
on Fedora 18, inttypes.h requires explicit define

/* The ISO C99 standard specifies that these macros must only be
   defined if explicitly requested.  */
if !defined __cplusplus || defined __STDC_FORMAT_MACROS

9 years agomore info for ports (API and TUI)
imarom [Sun, 28 Feb 2016 12:32:57 +0000 (14:32 +0200)]
more info for ports (API and TUI)

9 years agomerge max_port=12 support
Hanoh Haim [Sun, 28 Feb 2016 11:31:31 +0000 (13:31 +0200)]
merge max_port=12 support

9 years agom_max_ports->12, base on RaminNietzsche fix. set defult DPDK error to 4
Hanoh Haim [Sun, 28 Feb 2016 11:25:54 +0000 (13:25 +0200)]
m_max_ports->12, base on RaminNietzsche fix. set defult DPDK error to 4

9 years agosupport for mac addr query
imarom [Sun, 28 Feb 2016 09:30:11 +0000 (04:30 -0500)]
support for mac addr query

9 years agoMerge remote-tracking branch 'origin/master'
Yaroslav Brustinov [Sun, 28 Feb 2016 09:12:35 +0000 (11:12 +0200)]
Merge remote-tracking branch 'origin/master'

9 years agofix for up to 12 ports, fix error in case port_limit higher than number of interfaces
Yaroslav Brustinov [Sun, 28 Feb 2016 09:11:43 +0000 (11:11 +0200)]
fix for up to 12 ports, fix error in case port_limit higher than number of interfaces

9 years agoadded port_info API
imarom [Sun, 28 Feb 2016 08:38:57 +0000 (03:38 -0500)]
added port_info API
IPG for load PCAP cannot be less than 1 usec

9 years agov1.93
Hanoh Haim [Thu, 25 Feb 2016 16:49:06 +0000 (18:49 +0200)]
v1.93

9 years agohltapi: fix MAC given with aabb.ccdd.eeff format, fix add_value is more than half...
Yaroslav Brustinov [Thu, 25 Feb 2016 22:18:41 +0000 (17:18 -0500)]
hltapi: fix MAC given with aabb.ccdd.eeff format, fix add_value is more than half of variable size, add 2 Wentong's profiles

9 years agoaccident - fixed problems from previous commit
imarom [Thu, 25 Feb 2016 15:26:21 +0000 (10:26 -0500)]
accident - fixed problems from previous commit

9 years agoport attributes - promiscuous and etc.
imarom [Thu, 25 Feb 2016 14:54:45 +0000 (09:54 -0500)]
port attributes - promiscuous and etc.

9 years agoregression: aggregate results: remove timeout
Yaroslav Brustinov [Thu, 25 Feb 2016 15:21:58 +0000 (10:21 -0500)]
regression: aggregate results: remove timeout

9 years agohltapi : add dst_mac vm; vlan mask variable now can be shared; add 2 more profiles...
Yaroslav Brustinov [Wed, 24 Feb 2016 19:07:11 +0000 (14:07 -0500)]
hltapi : add dst_mac vm; vlan mask variable now can be shared; add 2 more profiles; add consistent_random argument for same random sequence each time

9 years agoregression: add flag to copy TRex to temp dir and run from there
Yaroslav Brustinov [Wed, 24 Feb 2016 16:14:32 +0000 (11:14 -0500)]
regression: add flag to copy TRex to temp dir and run from there

9 years agoregression: hltapi yaml update for add_value of mask variable
Yaroslav Brustinov [Wed, 24 Feb 2016 14:39:35 +0000 (09:39 -0500)]
regression: hltapi yaml update for add_value of mask variable

9 years agoMerge random_seed per stream
Hanoh Haim [Wed, 24 Feb 2016 14:09:23 +0000 (16:09 +0200)]
Merge random_seed per stream

9 years agoadd seed per stream
Hanoh Haim [Wed, 24 Feb 2016 14:08:33 +0000 (16:08 +0200)]
add seed per stream

9 years agoRX - for not supported interfaces gives an error in JSON
imarom [Wed, 24 Feb 2016 13:58:54 +0000 (08:58 -0500)]
RX - for not supported interfaces gives an error in JSON

9 years agocrash on non 40G (no rx support)
imarom [Wed, 24 Feb 2016 13:31:27 +0000 (08:31 -0500)]
crash on non 40G (no rx support)

9 years agoMerge GARP example
Hanoh Haim [Wed, 24 Feb 2016 12:55:59 +0000 (14:55 +0200)]
Merge GARP example

9 years agoadd g arp example
Hanoh Haim [Wed, 24 Feb 2016 12:50:31 +0000 (14:50 +0200)]
add g arp example

9 years agoVM bug youtrack: trex-187
imarom [Wed, 24 Feb 2016 12:13:52 +0000 (07:13 -0500)]
VM bug youtrack: trex-187
and rx stats

9 years agoRx stat per flow. Low level working for xl710, and partly for i350.
Ido Barnea [Mon, 8 Feb 2016 09:25:07 +0000 (11:25 +0200)]
Rx stat per flow. Low level working for xl710, and partly for i350.
added full clone (with CP VM) to stream

9 years agovirtual NICs does not add 4 bytes of CRC
imarom [Wed, 24 Feb 2016 11:28:10 +0000 (06:28 -0500)]
virtual NICs does not add 4 bytes of CRC

9 years agosupport bizarre replaced minuses from copy-paste from outlook etc.
Yaroslav Brustinov [Wed, 24 Feb 2016 09:37:23 +0000 (04:37 -0500)]
support bizarre replaced minuses from copy-paste from outlook etc.

9 years agoMerge remote-tracking branch 'origin/master'
Yaroslav Brustinov [Tue, 23 Feb 2016 16:23:38 +0000 (11:23 -0500)]
Merge remote-tracking branch 'origin/master'

9 years agohltapi: add line rate and bps support
Yaroslav Brustinov [Tue, 23 Feb 2016 16:23:08 +0000 (11:23 -0500)]
hltapi: add line rate and bps support

9 years agosync streams and some other bugs
imarom [Tue, 23 Feb 2016 14:41:26 +0000 (09:41 -0500)]
sync streams and some other bugs

9 years agoMerge mask instruction add_value field
Hanoh Haim [Tue, 23 Feb 2016 14:14:10 +0000 (16:14 +0200)]
Merge mask instruction add_value field

9 years agoadd to mask instruction add_value field
Hanoh Haim [Tue, 23 Feb 2016 14:13:46 +0000 (16:13 +0200)]
add to mask instruction add_value field

9 years agoMerge remote-tracking branch 'origin/master'
Yaroslav Brustinov [Tue, 23 Feb 2016 13:35:10 +0000 (08:35 -0500)]
Merge remote-tracking branch 'origin/master'

9 years agohltapi: optimization to utilize similar variables for several fields, fix incorrect...
Yaroslav Brustinov [Tue, 23 Feb 2016 13:34:35 +0000 (08:34 -0500)]
hltapi: optimization to utilize similar variables for several fields, fix incorrect size from l3_length, add profiles

9 years agoMerge ipv4 checksum issue
Hanoh Haim [Tue, 23 Feb 2016 13:32:19 +0000 (15:32 +0200)]
Merge ipv4 checksum issue

9 years agofix ipv4 checksum error in case of pkt_size>128 and field offset less than ip-header...
Hanoh Haim [Tue, 23 Feb 2016 13:30:41 +0000 (15:30 +0200)]
fix ipv4 checksum error in case of pkt_size>128 and field offset less than ip-header  (fd.io issue - Miro)

9 years agoglobal srand messed up stuff
imarom [Tue, 23 Feb 2016 13:04:11 +0000 (08:04 -0500)]
global srand messed up stuff
moved to local rand_r

9 years agoconflicts
imarom [Tue, 23 Feb 2016 08:21:07 +0000 (03:21 -0500)]
conflicts

9 years agosome mods to the rate
imarom [Mon, 22 Feb 2016 16:25:48 +0000 (11:25 -0500)]
some mods to the rate

9 years agorate is now backward compatiable to API
imarom [Sun, 21 Feb 2016 16:42:00 +0000 (11:42 -0500)]
rate is now backward compatiable to API

9 years agorate per stream
imarom [Sun, 21 Feb 2016 13:34:28 +0000 (08:34 -0500)]
rate per stream

9 years agodeepcopy for stream per port history
imarom [Thu, 18 Feb 2016 14:49:26 +0000 (09:49 -0500)]
deepcopy for stream per port history

9 years agoMerge branch 'master' of csi-sceasr-b32:/auto/proj-pcube-b/apps/PL-b/tools/repo/...
Ido Barnea [Sun, 21 Feb 2016 16:36:02 +0000 (18:36 +0200)]
Merge branch 'master' of csi-sceasr-b32:/auto/proj-pcube-b/apps/PL-b/tools/repo//trex-core

9 years agoreturn 10G instead of 40G on x710 cards
Ido Barnea [Sun, 21 Feb 2016 16:35:44 +0000 (18:35 +0200)]
return 10G instead of 40G on x710 cards

9 years agohlt: support ipv4 step number or ip
Yaroslav Brustinov [Sun, 21 Feb 2016 16:28:32 +0000 (18:28 +0200)]
hlt: support ipv4 step number or ip

9 years agotypo in step and min/max_value; support old-type classes in validate_type; assert...
Yaroslav Brustinov [Sun, 21 Feb 2016 16:01:36 +0000 (18:01 +0200)]
typo in step and min/max_value; support old-type classes in validate_type; assert positive values in python; hlt fix vlan vm + test for it;

9 years agoregression: fix args
Yaroslav Brustinov [Sun, 21 Feb 2016 01:42:48 +0000 (03:42 +0200)]
regression: fix args

9 years agoregression: fix args
Yaroslav Brustinov [Sat, 20 Feb 2016 18:06:12 +0000 (20:06 +0200)]
regression: fix args

9 years agohlt updates: split by cores, direction
Yaroslav Brustinov [Sat, 20 Feb 2016 18:00:01 +0000 (20:00 +0200)]
hlt updates: split by cores, direction

9 years agoregression: allow more queue full on VM (can get spikes)
Yaroslav Brustinov [Sat, 20 Feb 2016 16:24:10 +0000 (18:24 +0200)]
regression: allow more queue full on VM (can get spikes)

9 years agoinclude run_functional_tests and run_regression into package
Yaroslav Brustinov [Sat, 20 Feb 2016 13:39:52 +0000 (15:39 +0200)]
include run_functional_tests and run_regression into package

9 years agov1.92
Hanoh Haim [Thu, 18 Feb 2016 15:28:21 +0000 (17:28 +0200)]
v1.92

9 years agoMerge remote-tracking branch 'origin/master'
Yaroslav Brustinov [Thu, 18 Feb 2016 14:59:34 +0000 (16:59 +0200)]
Merge remote-tracking branch 'origin/master'

9 years agoimix default profile
Yaroslav Brustinov [Thu, 18 Feb 2016 14:59:07 +0000 (16:59 +0200)]
imix default profile

9 years agoMerge new mask instruction
Hanoh Haim [Thu, 18 Feb 2016 14:51:54 +0000 (16:51 +0200)]
Merge new mask instruction

9 years agoMerge remote-tracking branch 'origin/master'
Yaroslav Brustinov [Thu, 18 Feb 2016 14:49:24 +0000 (16:49 +0200)]
Merge remote-tracking branch 'origin/master'

9 years agofix mpls example to use write_mask instruction
Hanoh Haim [Thu, 18 Feb 2016 14:49:09 +0000 (16:49 +0200)]
fix mpls example to use write_mask instruction

9 years agohltapi update: vlans (one or nested), ipv6, "imix" moved to stream builder
Yaroslav Brustinov [Thu, 18 Feb 2016 14:48:47 +0000 (16:48 +0200)]
hltapi update: vlans (one or nested), ipv6, "imix" moved to stream builder

9 years agoadd python profile for new write_mask command
Hanoh Haim [Thu, 18 Feb 2016 14:10:30 +0000 (16:10 +0200)]
add python profile for new write_mask command

9 years agoadd write_mask vm instruction
Hanoh Haim [Thu, 18 Feb 2016 13:35:43 +0000 (15:35 +0200)]
add write_mask vm instruction

9 years agoadded tests for PCAP profiles
imarom [Thu, 18 Feb 2016 11:53:43 +0000 (06:53 -0500)]
added tests for PCAP profiles

9 years agoprofiles for PCAPs
imarom [Thu, 18 Feb 2016 11:15:53 +0000 (06:15 -0500)]
profiles for PCAPs

9 years agostl_pcap.py example - how to transmit a pcap
imarom [Wed, 17 Feb 2016 14:58:32 +0000 (09:58 -0500)]
stl_pcap.py example - how to transmit a pcap

9 years agotimeout connection error message was broken
imarom [Wed, 17 Feb 2016 08:12:52 +0000 (03:12 -0500)]
timeout connection error message was broken

9 years agoMerge step instruction support
Hanoh Haim [Tue, 16 Feb 2016 14:22:10 +0000 (16:22 +0200)]
Merge step instruction support

9 years agofix hlt yaml golden
Hanoh Haim [Tue, 16 Feb 2016 14:21:34 +0000 (16:21 +0200)]
fix hlt yaml golden

9 years agoadd test for step
Hanoh Haim [Tue, 16 Feb 2016 14:09:23 +0000 (16:09 +0200)]
add test for step

9 years agostep instruction support
Hanoh Haim [Tue, 16 Feb 2016 14:08:23 +0000 (16:08 +0200)]
step instruction support

9 years agoserver might crash if uint64_t value was actually negative
imarom [Tue, 16 Feb 2016 12:27:01 +0000 (07:27 -0500)]
server might crash if uint64_t value was actually negative

9 years agoadded support for default fields at the JSON RPC server
imarom [Tue, 16 Feb 2016 12:22:01 +0000 (07:22 -0500)]
added support for default fields at the JSON RPC server

9 years agoadd sanity check for flow_var instruction
Hanoh Haim [Tue, 16 Feb 2016 11:53:59 +0000 (13:53 +0200)]
add sanity check for flow_var instruction