summaryrefslogtreecommitdiffstats
path: root/scripts/dpdk_setup_ports.py
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-09-21 14:23:52 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-09-21 14:23:52 +0300
commit4f5c49741a3162dad594bc48d423b00e59ac3e6f (patch)
tree7ec5315fddb5f8982e57a9577d7634f8c8881153 /scripts/dpdk_setup_ports.py
parent188927b058eec11ac048a95412e8016f42b17109 (diff)
fixes to dpdk startup scripts
Diffstat (limited to 'scripts/dpdk_setup_ports.py')
-rwxr-xr-xscripts/dpdk_setup_ports.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dpdk_setup_ports.py b/scripts/dpdk_setup_ports.py
index 509de2e2..4abb2e53 100755
--- a/scripts/dpdk_setup_ports.py
+++ b/scripts/dpdk_setup_ports.py
@@ -332,7 +332,7 @@ Other network devices
if if_list and map_driver.args.parent and dpdk_nic_bind.get_igb_uio_usage():
pid = dpdk_nic_bind.get_pid_using_pci(if_list)
cmdline = dpdk_nic_bind.read_pid_cmdline(pid)
- print('Some or all of given interfaces are in use by following process:\n%s' % cmdline)
+ print('Some or all of given interfaces are in use by following process:\npid: %s, cmd: %s' % (pid, cmdline))
if not dpdk_nic_bind.confirm('Ignore and proceed (y/N):'):
sys.exit(1)
@@ -351,7 +351,7 @@ Other network devices
pid = dpdk_nic_bind.get_pid_using_pci(dpdk_interfaces)
if pid:
cmdline = dpdk_nic_bind.read_pid_cmdline(pid)
- print('DPDK interfaces are in use. Unbinding them might cause following process to hang:\n%s' % cmdline)
+ print('DPDK interfaces are in use. Unbinding them might cause following process to hang:\npid: %s, cmd: %s' % (pid, cmdline))
if not dpdk_nic_bind.confirm('Confirm (y/N):'):
return
drivers_table = {