[dpdk-dev] Permanently binding NIC ports with DPDK drivers

Montorsi, Francesco fmontorsi at empirix.com
Fri Nov 13 12:48:02 CET 2015


Hi John,

> -----Original Message-----
> From: Mcnamara, John [mailto:john.mcnamara at intel.com]
> 
> The Ubuntu dpdk package for 15.10 contains system scripts with functions for
> reserving hugepages and binding interfaces on bootup:
> 
> 
>     /etc/dpdk/dpdk.conf
>     /etc/dpdk/interfaces
>     /etc/init.d/dpdk
>     /lib/dpdk/dpdk-init
>     /lib/systemd/system/dpdk.service
>     /sbin/dpdk_nic_bind
>     /usr/bin/testpmd
>     /usr/share/doc/dpdk/README.Debian
>     /usr/share/doc/dpdk/changelog.Debian.gz
>     /usr/share/doc/dpdk/copyright
>     /usr/share/dpdk/tools/cpu_layout.py
>     /usr/share/dpdk/tools/dpdk_nic_bind.py
>     /usr/share/dpdk/tools/setup.sh
>     /usr/share/python/runtime.d/dpdk.rtupdate
> 
>     http://packages.ubuntu.com/wily/amd64/dpdk/filelist
> 
> If you have the latest version of Ubuntu you can check that out or else
> download and extract the files from the .deb to see how they do it.
> 

This certainly looks very useful. I inspected the package and the files you mentioned and indeed it looks like a good way to go, specially if Ubuntu distribution is moving in that direction (hopefully other distros will follow too).

Thanks a lot!

Francesco




More information about the dev mailing list