[dpdk-dev] Add option to dpdk-devbind.py to restore kernel driver binding

Burakov, Anatoly anatoly.burakov at intel.com
Tue Apr 10 15:19:30 CEST 2018


On 10-Apr-18 11:55 AM, Tosatti, Giovanni wrote:
> This patch adds a " --restore" option that will unbind all devices currently bound to DPDK PMDs back to the kernel driver.
> 
> --- /opt/Perforce/gtosatti_centos/E-XMS/CSA-Mainline/Third-Party/dpdk/dpdk-16.07.orig/tools/dpdk-devbind.py
> +++ /opt/Perforce/gtosatti_centos/E-XMS/CSA-Mainline/Third-Party/dpdk/dpdk-16.07/tools/dpdk-devbind.py
> @@ -91,6 +91,9 @@
>       -u, --unbind:

Two other issues:

1) the header is also wrongly formatted. it should read something like:

tools/devbind: add option to restore kernel driver binding

2) the patch does not apply. not only it appears to be generated not 
from git-send-email but reads as a diff, but it looks like it's 
generated against a very old version of DPDK.

You might want to look at DPDK contribution guidelines:

http://dpdk.org/doc/guides/contributing/patches.html

Thanks for your effort so far!

-- 
Thanks,
Anatoly


More information about the dev mailing list