History log of /trex/src/stateless/cp/trex_stateless_port.cpp
Revision Date Author Comments
# fa606839 27-Mar-2017 Ido Barnea <ibarnea@cisco.com>

Supporting more flows in stateless flow stats, according to NIC type, and running mode

Signed-off-by: Ido Barnea <ibarnea@cisco.com>

# b22e3ed1 16-Feb-2017 imarom <imarom@cisco.com>

tx_capture - code review

Signed-off-by: imarom <imarom@cisco.com>

# 17d58dba 15-Feb-2017 imarom <imarom@cisco.com>

TX packet capture - zero impact on fast path
(using wrapper when service mode is active)

Signed-off-by: imarom <imarom@cisco.com>

# 39000f46 29-Jan-2017 Yaroslav Brustinov <ybrustin@cisco.com>

ipv6 scan & ping

Change-Id: I4f8112b4c942d149da5ea3f0ee01ac82d7fe32cc
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>

# 5681d70e 24-Jan-2017 imarom <imarom@cisco.com>

fix floating point calculation precision at L1 rate (GUI 100% issue)

Signed-off-by: imarom <imarom@cisco.com>

# 418fd3d0 23-Jan-2017 imarom <imarom@cisco.com>

service mode is now by message to RX core

Signed-off-by: imarom <imarom@cisco.com>

# 5257dbb8 04-Jan-2017 imarom <imarom@cisco.com>

draft - unreviewed

Signed-off-by: imarom <imarom@cisco.com>

# 34cb66c9 24-Dec-2016 imarom <imarom@cisco.com>

refactor layer config on prot attributes
added guard against unconfigured MAC when going up with empty config

Signed-off-by: imarom <imarom@cisco.com>

# 5cfeb192 18-Dec-2016 Yaroslav Brustinov <ybrustin@cisco.com>

changes from code review

Change-Id: I628608643d902bd6310b04b8036fc5f1fcc42309
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>

# cc4bd93b 12-Dec-2016 Yaroslav Brustinov <ybrustin@cisco.com>

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 <ybrustin@cisco.com>

# e4c8e44b 11-Dec-2016 Yaroslav Brustinov <ybrustin@cisco.com>

add min_ipg to push_pcaps

Change-Id: I353f8903c40963517fd2fed721cc0671d9f6dc4b
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>

# f51c210a 19-Dec-2016 imarom <imarom@cisco.com>

verify L2/L3 configuration cannot be done under traffic
also ping and arp

Signed-off-by: imarom <imarom@cisco.com>

# 6a6047fd 18-Dec-2016 imarom <imarom@cisco.com>

trex-234 - when allocating too many PG IDs an error get stuck

Signed-off-by: imarom <imarom@cisco.com>

# 0fdd81a9 13-Dec-2016 imarom <imarom@cisco.com>

Major refactor - L2 / L3 modes for ports

Signed-off-by: imarom <imarom@cisco.com>

# 0c458152 12-Dec-2016 imarom <imarom@cisco.com>

grat ARP

Signed-off-by: imarom <imarom@cisco.com>

# 051a334b 30-Nov-2016 imarom <imarom@cisco.com>

reply to messages

Signed-off-by: imarom <imarom@cisco.com>

# 537f5831 28-Nov-2016 imarom <imarom@cisco.com>

RX features - self code review

Signed-off-by: imarom <imarom@cisco.com>

# d0c838e0 24-Nov-2016 imarom <imarom@cisco.com>

self code review

Signed-off-by: imarom <imarom@cisco.com>

# 558ce764 15-Nov-2016 imarom <imarom@cisco.com>

RX features - another refinement

Signed-off-by: imarom <imarom@cisco.com>

# d09b1239 08-Nov-2016 imarom <imarom@cisco.com>

RX queue - ARP request working

Signed-off-by: imarom <imarom@cisco.com>

# f9a0c5e2 07-Nov-2016 imarom <imarom@cisco.com>

RX features - queueing

Signed-off-by: imarom <imarom@cisco.com>

# e85ea756 06-Nov-2016 imarom <imarom@cisco.com>

RX features

Signed-off-by: imarom <imarom@cisco.com>

# a1ade6fd 06-Nov-2016 imarom <imarom@cisco.com>

RX features - RX sniffer

Signed-off-by: imarom <imarom@cisco.com>

# 234779fd 03-Nov-2016 imarom <imarom@cisco.com>

moved RX filter feature to port attr

Signed-off-by: imarom <imarom@cisco.com>

# 0337db2b 31-Oct-2016 imarom <imarom@cisco.com>

draft: RX software feature

Signed-off-by: imarom <imarom@cisco.com>

# 111bd366 28-Oct-2016 Yaroslav Brustinov <ybrustin@cisco.com>

move port_attr from driver class to physical port class + small fixes according to code review

Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>

# 1016c3d4 25-Oct-2016 Yaroslav Brustinov <ybrustin@cisco.com>

console: rearrange lines at "stats --ps"
in case of start traffic with link down, return error with link state

Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>

# 2dab6b6d 22-Oct-2016 Yaroslav Brustinov <ybrustin@cisco.com>

dpdk_setup_ports.py: fix add of help in case of "t-rex-64 --help"
dpdk_setup_ports.py: fix warning of TRex is already running if different NICs are being used
singleton_daemon.py: fix error socket in use immediately after check if in use
trex-console: fix crash in case of "tui --help"
trex-console: try-catch commands instead of crashing
add async notification on port status/atttibutes change
add port xstats support
add description of interfaces
main_dpdk.cpp: fix --client_cfg not working with Python API

Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>

# 00bfc58e 13-Oct-2016 Yaroslav Brustinov <ybrustin@cisco.com>

new port attr commands: flow control, link status, led status
add user friendly description to ports
add xstats
enable start with link down at stateless. in CPP status will update itself upon link up, in Python need to restart client at this phase.

Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>

# 0d4c9932 05-Sep-2016 imarom <imarom@cisco.com>

dual mode : code review fixes

# 540da82e 04-Sep-2016 imarom <imarom@cisco.com>

dual mode - check for ERF only

# 04eae221 04-Sep-2016 imarom <imarom@cisco.com>

DUAL mode - phase #1

# 08def8d3 18-Aug-2016 Yaroslav Brustinov <ybrustin@cisco.com>

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

# ba7b5dff 10-Aug-2016 imarom <imarom@cisco.com>

core mask - first phase

# ddef1a09 03-Aug-2016 imarom <imarom@cisco.com>

fix for https://trex-tgn.cisco.com/youtrack/issue/trex-226
commit #trex-226

# e3b43560 25-Jul-2016 imarom <imarom@cisco.com>

TRex console - add support for L1 BPS

# 9a1356bc 21-Jun-2016 imarom <imarom@cisco.com>

FLOW_STATS: extract start_stream from the compiler to start_traffic

# 946e5c48 18-May-2016 imarom <imarom@cisco.com>

fix for validating L1 B/W with latency streams

# 52bc62a3 18-May-2016 imarom <imarom@cisco.com>

amplifying a port's bandwidth does not affect latency streams

# db9145d2 08-May-2016 imarom <imarom@cisco.com>

added duration to remote push

# 75ce59e5 08-May-2016 imarom <imarom@cisco.com>

PCAP refinement

# 8691f401 03-May-2016 imarom <imarom@cisco.com>

first remote PCAP push - draft

# 7e599394 18-Apr-2016 imarom <imarom@cisco.com>

support for reacquire command
also better sync with the server about ownership of ports

# 4d311b49 13-Apr-2016 Ido Barnea <ibarnea@cisco.com>

Fix to trex-200 - crash with flow stat for unsupported packet type

# 4eacb570 03-Apr-2016 imarom <imarom@cisco.com>

API classes (versions)

# d4791e05 29-Mar-2016 imarom <imarom@cisco.com>

RX stats two stage API (stop and remove RX filters)

# 1e93f5b1 17-Mar-2016 Ido Barnea <ibarnea@cisco.com>

Added CP to RX messages

# 60fbd456 08-Mar-2016 imarom <imarom@cisco.com>

RX stats - major refactor

# 106a9ecd 02-Mar-2016 imarom <imarom@cisco.com>

PAUSE JSON event was deleted accidently

# 59a3b58d 02-Mar-2016 imarom <imarom@cisco.com>

TX barrier

# 21fe2bef 28-Feb-2016 imarom <imarom@cisco.com>

more info for ports (API and TUI)

# 5f17c48a 28-Feb-2016 imarom <imarom@cisco.com>

support for mac addr query

# aaef3f95 25-Feb-2016 imarom <imarom@cisco.com>

port attributes - promiscuous and etc.

# 235a14fc 24-Feb-2016 imarom <imarom@cisco.com>

RX - for not supported interfaces gives an error in JSON

# f0ab9eba 08-Feb-2016 Ido Barnea <ibarnea@cisco.com>

Rx stat per flow. Low level working for xl710, and partly for i350.
added full clone (with CP VM) to stream

# 252b8ab3 24-Feb-2016 imarom <imarom@cisco.com>

virtual NICs does not add 4 bytes of CRC

# 81059eb5 23-Feb-2016 imarom <imarom@cisco.com>

global srand messed up stuff
moved to local rand_r

# eb899885 22-Feb-2016 imarom <imarom@cisco.com>

some mods to the rate

# f5a5e50b 08-Feb-2016 imarom <imarom@cisco.com>

stream ID allocation

# 11bcf4ca 01-Feb-2016 imarom <imarom@cisco.com>

fix for http://trex-tgn.cisco.com/youtrack/issue/trex-174

# f9dcbd38 01-Feb-2016 imarom <imarom@cisco.com>

simulator support (API and profiles)

# b87ac8e2 24-Jan-2016 imarom <imarom@cisco.com>

added support for L1 B/W check
both start/update now enforce this and it can
be bypassed by providing 'force'

# 7294d7f1 24-Jan-2016 imarom <imarom@cisco.com>

fixed issue trex-172: Console -m 100% is L2 and no L1

# 79b2a5ea 07-Jan-2016 imarom <imarom@cisco.com>

simulation bug - mbuf refinc

# a7223338 07-Jan-2016 imarom <imarom@cisco.com>

first bug caught by the simulator - memory leak

# 2dff2ccf 07-Jan-2016 imarom <imarom@cisco.com>

yet another stateless simulation phase

# a6677655 21-Dec-2015 imarom <imarom@cisco.com>

CRASH: uninit var at stateless port object

# d71dbce9 14-Dec-2015 imarom <imarom@cisco.com>

bugs fixes
1. ignore your own force acquire of ports
2. TUI fixes

# 7567166c 10-Dec-2015 imarom <imarom@cisco.com>

removed session id - not necessary

# 95c2405d 09-Dec-2015 imarom <imarom@cisco.com>

read only support

# 23e1f07e 06-Dec-2015 imarom <imarom@cisco.com>

moved gtest to new compile API

# 3aa3a83f 03-Dec-2015 imarom <imarom@cisco.com>

burst bug -
generate compiler object per core
send message per core instead of duplicating it

# a6af2a8e 03-Dec-2015 imarom <imarom@cisco.com>

various fixes (each one is a minor one)

# 4c94931c 29-Nov-2015 imarom <imarom@cisco.com>

support for update +/- request

# 59548ae8 26-Nov-2015 imarom <imarom@cisco.com>

Hanoch's review - changed update model to differential
also, graph is calculated on demand and once for each update

# d9a11302 26-Nov-2015 imarom <imarom@cisco.com>

added support for 'update'

# b6ec2066 25-Nov-2015 imarom <imarom@cisco.com>

fixed a bug with default start command in the console
also added clear events and more types of events

# 045d0f8f 24-Nov-2015 imarom <imarom@cisco.com>

added support for percentage on start
also added info about the correct interface driver and speed
from DPDK layer

# 1f6977d1 23-Nov-2015 imarom <imarom@cisco.com>

add stream graph + support for console to use any of the following
bps, kbps, mbps, gbps, pps, kpps, mbps
percentage is not working yet

# 54c1f0fc 23-Nov-2015 Hanoh Haim <hhaim@cisco.com>

add pause/resume into the console

# b094110e 19-Nov-2015 imarom <imarom@cisco.com>

BUG: didn't do all the states per port on the DP - now fixed

# 90e28392 19-Nov-2015 imarom <imarom@cisco.com>

a bug in back to back start/stop

# 34191e25 19-Nov-2015 imarom <imarom@cisco.com>

disable stop event when you got it as a sync request

# 2ae2e4e8 19-Nov-2015 imarom <imarom@cisco.com>

full async DP stop support

# a7317d45 18-Nov-2015 imarom <imarom@cisco.com>

async events (DP to CP)

# 94b12389 15-Nov-2015 imarom <imarom@cisco.com>

added duration to the RPC server (and all the way to the DP)

# 78c6593c 12-Nov-2015 imarom <imarom@cisco.com>

DRAFT - only for internal purpose

# 467382a7 11-Nov-2015 imarom <imarom@cisco.com>

lightweight console

# 9c32c36b 09-Nov-2015 imarom <imarom@cisco.com>

moved logic to the port class
also implemented the state machine for CP port

# 67bcc46b 09-Nov-2015 imarom <imarom@cisco.com>

DPDK target is now built with -Wall -Werror
(with few expections)
on both Fedora 18 and Ubunutu

# 6b241b37 03-Nov-2015 imarom <imarom@cisco.com>

support for multicore

# c0a49eef 03-Nov-2015 imarom <imarom@cisco.com>

now support multiple interfaces / ports

# eacf2829 01-Nov-2015 imarom <imarom@cisco.com>

added support for 'mul' field in start_traffic RPC command

# a1971ec3 01-Nov-2015 imarom <imarom@cisco.com>

DP stop message now disables only port related nodes
and not all of them

# 3978adce 29-Oct-2015 imarom <imarom@cisco.com>

some bug fixes:

1. added a active bit to all the active nodes - when a stop arrives
it invalidates them for next time

2. some small flag issues in the stateless port

# 788ba38b 28-Oct-2015 imarom <imarom@cisco.com>

moved all stream compiling phase to a new file

# cb8bc9bd 27-Oct-2015 imarom <imarom@cisco.com>

support for multiple streams

# ea0b6efc 27-Oct-2015 imarom <imarom@cisco.com>

working cont. stream on 1 core

# b77fef12 26-Oct-2015 imarom <imarom@cisco.com>

RPC control plane now integarted with DPDK

# 51ad0781 19-Oct-2015 Hanoh Haim <hhaim@cisco.com>

fix new compiler warning issue in stateless

# 6c7880b9 11-Oct-2015 imarom <imarom@cisco.com>

DP cores now inject a single packet as a dummy to see stats

# 3b827c95 11-Oct-2015 imarom <imarom@cisco.com>

some DP base files

# 74b648a8 08-Oct-2015 imarom <imarom@cisco.com>

some file renaming

# f4723965 07-Oct-2015 imarom <imarom@cisco.com>

added some dir structure to the stateless