Using dpdk in a LXC container where the root user is not mapped to the host root user

Hello,

I’m trying to use dpdk-testpmd in an LXC container whose root user isn’t mapped to the host’s root user.
Notes:

  • the entire physical interface is given to the LXC container, not a virtual interface
  • it works when the root user is mapped to the host’s root user

The following error occured:
“mlx5_common: DevX create TIS failed errno=121 status=0x3 syndrome=0x6a6678’“
Do you have any idea how to investigate this issue, especially regarding “status” and “syndrome”?

Thanks

Hi @julien.marcin.tech ,

Hope you are doing well!

I can’t give you any advice depends on the info you have provided because all error messages are env related.

It would be appreciated if you can provide more information about your env/configurations/operations. For example:
OS with version/Kernel version/DPDK verison/DPDK running commands/NICs model/fw version of NIC/dmesg/etc.

Here are what you can do:

  • You can execute “sysinfo-snapshot.py” command in your OS terminal and then find a tgz file under /tmp/ named sysinfo-snapshot-xxx.tgz. This file contains OS version/Kernel version/NICs model/fw version of NIC/dmesg/etc.
  • Provide the steps to reproduce the issue with OS/LXC configurations info.
  • Provide DPDK version info and DPDK command you are using to reproduce this issue.

Best regards!