Re: [PATCH v4 1/1] usertools/devbind: allow changing UID/GID for VFIO

2024-12-04 Thread Burakov, Anatoly
On 12/2/2024 10:31 AM, Anatoly Burakov wrote: Currently, when binding a device to VFIO, the UID/GID for the device will always stay as system default (`root`). Yet, when running DPDK as non-root user, one has to change the UID/GID of the device to match the user's UID/GID to use the device. This

Re: [PATCH v4 1/1] usertools/devbind: allow changing UID/GID for VFIO

2024-12-02 Thread Burakov, Anatoly
On 12/2/2024 10:31 AM, Anatoly Burakov wrote: Currently, when binding a device to VFIO, the UID/GID for the device will always stay as system default (`root`). Yet, when running DPDK as non-root user, one has to change the UID/GID of the device to match the user's UID/GID to use the device. This

[PATCH v4 1/1] usertools/devbind: allow changing UID/GID for VFIO

2024-12-02 Thread Anatoly Burakov
Currently, when binding a device to VFIO, the UID/GID for the device will always stay as system default (`root`). Yet, when running DPDK as non-root user, one has to change the UID/GID of the device to match the user's UID/GID to use the device. This patch adds an option to `dpdk-devbind.py` to ch