27/11/2024 10:13, 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 change the UID/GID of
> the device when binding it to VFIO.
> 
> Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com>
> ---
> 
> Notes:
>     v2 -> v3:
>     - Replaced error printout back to hard exit
>     - Reworked UID/GID validation to be at command line parsing
>     - Simplified chown code
>     
>     v1 -> v2:
>     - Replaced hard exit with an error printout
> 
>  usertools/dpdk-devbind.py | 41 ++++++++++++++++++++++++++++++++++++---

Please could you update the documentation?
        doc/guides/tools/devbind.rst



Reply via email to