summaryrefslogtreecommitdiffstats
path: root/scripts/dpdk_nic_bind.py
AgeCommit message (Collapse)AuthorFilesLines
2017-03-05Deal with loaded Kernel modules in Python:Yaroslav Brustinov1-23/+50
Try loading igb_uio if it's avaiable, next try vfio-pci if it's available. Last effort is compiling igb_uio. Change-Id: I99d1d6c969f795d58a403587d6d0c395548ba3f7 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-05dpdk_nic_bind: use absolute path and not relativeYaroslav Brustinov1-2/+5
Change-Id: Id89c5b2fa723332dce75d7cebde294fd858f389c Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-05update return status of dpdk_nic_bind.pyYaroslav Brustinov1-26/+27
do not rely upon igb_uio for determining TRex run, use tcp publisher port instead (Mellanox will work too) Change-Id: Iae53cd299474c515adf04e8748771ed65376d40d Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-22Dumping interface info was broken in v2.18Yaroslav Brustinov1-1/+1
Change-Id: Icec84cb2912d6e179c5aac536825a04b47bebb2b Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-01-14Regression: fix configure_basic_filtered_interfaces with vlansYaroslav Brustinov1-1/+1
Regression: speedup load of clean config dpdk_nic_bind: printing table with interfaces: take info from Linux and not TRex in case of Mellanox Doc performance: fix time format Change-Id: I3b022a2406efb058851033acfffc00766d13a1f1 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-20Fix the way root user is being determined in Python; Running ↵Yaroslav Brustinov1-2/+1
scapy_daemon_server and stl_rpc_proxy now should work without tty; Change-Id: Id70be83956a9b8279197c68dd58b674e972fc1a9 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-11-14mlx5 is both kerenl and dpdkHanoh Haim1-5/+13
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-11-11mlx5 support build WIPHanoh Haim1-1/+2
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-7/+8
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-10-30add ifdef guard to .h fileYaroslav Brustinov1-0/+4
remove UUID from TUI STF Python API: show newlines instead of "\n\n\n" in Exception message STF Python API: remove "During handling of the above exception, another exception occurred:" in Python3.3+ dpdk_nic_bind.py: ensure needed PATH exists for lspci etc. t-rex-64: remove "stty: standard input: Inappropriate ioctl for device" t-rex-64: remove "cat: write error: Broken pipe" Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-10-28new port attr commands: flow control, link status, led statusYaroslav Brustinov1-0/+7
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-09-21fixes to dpdk startup scriptsYaroslav Brustinov1-3/+3
2016-09-13dpdk Python scripts small fixesYaroslav Brustinov1-2/+2
ensure log dir exists for trex daemon regression: add trex24 setup Sphinx docs remove "capture" tag for compatibility with 1.2 version
2016-09-05fix dpdk_nic_bind.py for virtio interfaces @ OpenStackYaroslav Brustinov1-4/+12
2016-08-24better logger for master_daemonYaroslav Brustinov1-0/+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-7/+15
2016-08-22interactive creation of config, finish returning DPDK interfaces to Linux ↵Yaroslav Brustinov1-16/+25
command.
2016-08-21Check if interfaces are in use at binding/unbinding/starting TRex.Yaroslav Brustinov1-16/+71
2016-08-19update multiplier in stl benchmark, shorten title in NIC's tableYaroslav Brustinov1-1/+1
2016-08-18revert mmain_dpdk.h commited by mistake codeYaroslav Brustinov1-2/+4
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-5/+81
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-45/+44
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-26/+36
connections
2015-12-16Latest dpdk_nic_bind.py from dpdk upstreamIdo Barnea1-10/+10
2015-06-24first versionHanoh Haim1-0/+539