[dpdk-users] running dpdk in lxc-container

Avi Cohen (A) avi.cohen at huawei.com
Wed Mar 15 13:31:19 CET 2017


Hello,
I'm trying to run dpdk in lxc-container .
But I failed to bind  the nic to the dpdk driver (igb-uio), actually I failed  in the ./dpdk-devbind,py --status 
Is it possible  to run dpdk in lxc-container ?

I get this error:

Traceback (most recent call last):
  File "./dpdk-devbind.py", line 577, in <module>
    main()
  File "./dpdk-devbind.py", line 573, in main
    get_nic_details()
  File "./dpdk-devbind.py", line 249, in get_nic_details
    dev_lines = check_output(["lspci", "-Dvmmn"]).splitlines()
  File "./dpdk-devbind.py", line 125, in check_output
    stderr=stderr).communicate()[0]
  File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


Best regards 
avi


More information about the users mailing list