> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Montorsi, Francesco
> Sent: Wednesday, November 11, 2015 4:13 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] Permanently binding NIC ports with DPDK drivers
> 
> Hi,
> Is there a way to permanently (i.e., have the configuration automatically
> applied after reboot) bind a NIC port to DPDK?


Hi,

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.

John.
-- 

Reply via email to