summaryrefslogtreecommitdiffstats
path: root/scripts/dpdk_setup_ports.py
AgeCommit message (Collapse)AuthorFilesLines
2016-11-16change order of cores in produced config fileYaroslav Brustinov1-36/+61
fix bug of writing reduced number of cores in VM try using "main" thread for rx Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-11-15backup old trex-07 setup configHanoh Haim1-0/+27
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-11-14filter mlx5 attach driverHanoh Haim1-1/+1
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-11-14check OFED version and tune mlx5 device for performanceHanoh Haim1-0/+72
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-11-13dpdk_set_up minor fixHanoh Haim1-3/+4
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-11-11WIP mlx5 don't check for conflict process - can't be done in case of mlxHanoh Haim1-9/+11
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-11-11mlx5 support build WIPHanoh Haim1-7/+40
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-11-03dpdk_setup_ports.py: config creation - don't run TRex if IP config is wantedYaroslav Brustinov1-27/+30
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-11-02dpdk_setup_ports.py config creation:Yaroslav Brustinov1-24/+32
1) MACs as string instead of array. 2) add --force-macs flag to use MACs and not IPs Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-11-02dpdk_setup_ports: do not check if TRex is already running when called --helpYaroslav Brustinov1-1/+4
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-10-28dpdk_setup_ports.py: fix add of help in case of "t-rex-64 --help"Yaroslav Brustinov1-9/+14
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>
2016-10-28new port attr commands: flow control, link status, led statusYaroslav Brustinov1-0/+6
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>
2016-10-20fix dpdk_setup_ports.py for Python3Yaroslav Brustinov1-1/+1
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-10-20Small fix to dpdk_setup_ports.pyIdo Barnea1-1/+1
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2016-10-20Added support for ip based config generation to dpdk_setup_ports.pyIdo Barnea1-45/+143
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2016-10-18Help message fixes + removing unused command line optionsIdo Barnea1-1/+1
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2016-09-27/etc/trex_cfg.yaml allow MAC as string "12:34:56:78:9a:bc" etc.Yaroslav Brustinov1-1/+3
dpdk_setup_ports: fix create config in case of VM & passthrough
2016-09-21fixes to dpdk startup scriptsYaroslav Brustinov1-2/+2
2016-09-13dpdk Python scripts small fixesYaroslav Brustinov1-1/+1
ensure log dir exists for trex daemon regression: add trex24 setup Sphinx docs remove "capture" tag for compatibility with 1.2 version
2016-08-24better logger for master_daemonYaroslav Brustinov1-4/+8
verify root priveleges in dpdk_* scripts call to functions of show status instead of calling process
2016-08-23fixes to create config script: in case of error input, ask again.Yaroslav Brustinov1-41/+74
2016-08-22interactive creation of config, finish returning DPDK interfaces to Linux ↵Yaroslav Brustinov1-65/+171
command.
2016-08-21Check if interfaces are in use at binding/unbinding/starting TRex.Yaroslav Brustinov1-11/+42
2016-08-19dpdk_setup_ports: better error if no MAC determinedYaroslav Brustinov1-4/+4
2016-08-19add --ignore-numa argument to config creationYaroslav Brustinov1-40/+45
2016-08-18revert mmain_dpdk.h commited by mistake codeYaroslav Brustinov1-11/+30
add create config functional test change order of cores in config file
2016-08-18TRex argument --dump-interfaces <list of PCI> (by default will take ↵Yaroslav Brustinov1-39/+311
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
2016-08-01Python3 support for Stateful daemonYaroslav Brustinov1-14/+16
Python 3.5 support in ZMQ Verify ZMQ health in Stateful daemon Add get_trex_config() command to Stateful daemon Strip debug info on Python ZMQ .so files
2016-03-13TRex will ask before bind/unbind interfaces with active (established) tcp ↵Yaroslav Brustinov1-1/+1
connections
2016-02-28merge max_port=12 supportHanoh Haim1-6/+9
2016-02-28m_max_ports->12, base on RaminNietzsche fix. set defult DPDK error to 4Hanoh Haim1-4/+6
2016-02-28fix for up to 12 ports, fix error in case port_limit higher than number of ↵Yaroslav Brustinov1-10/+13
interfaces
2015-06-24first versionHanoh Haim1-0/+232