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

Burakov, Anatoly anatoly.burakov at intel.com
Wed Dec 4 13:33:27 CET 2024


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 adds an option to `dpdk-devbind.py` to change the UID/GID of
> the device when binding it to VFIO.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---

This functionality is also included in my devbind rewrite:

https://patches.dpdk.org/project/dpdk/list/?series=34098

-- 
Thanks,
Anatoly


More information about the dev mailing list