From: Panu Matilainen <pmatilai@redhat.com>
To: "Montorsi, Francesco" <fmontorsi@empirix.com>,
"Mcnamara, John" <john.mcnamara@intel.com>,
"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Permanently binding NIC ports with DPDK drivers
Date: Fri, 13 Nov 2015 14:24:11 +0200 [thread overview]
Message-ID: <5645D66B.8020905@redhat.com> (raw)
In-Reply-To: <df2bc7ade5ab4e49a352dd23f8b559e3@bilemail1.empirix.com>
On 11/13/2015 01:48 PM, Montorsi, Francesco wrote:
> Hi John,
>
>> -----Original Message-----
>> From: Mcnamara, John [mailto:john.mcnamara@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!
The downside of the Ubuntu-approach is that the setup is fairly static
and does not support automatically binding hotplugged devices, AFAICS.
Whether that matters to your use-case is of course en entirely different
question.
- Panu -
> Francesco
>
>
next prev parent reply other threads:[~2015-11-13 12:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-11 16:13 Montorsi, Francesco
2015-11-11 16:28 ` Bruce Richardson
2015-11-11 16:59 ` Montorsi, Francesco
2015-11-11 17:29 ` Stephen Hemminger
2015-11-12 12:57 ` Panu Matilainen
2015-11-13 11:44 ` Montorsi, Francesco
2015-11-13 12:17 ` Panu Matilainen
2015-11-13 14:42 ` Aaron Conole
2015-11-11 19:01 ` Matthew Hall
2015-11-12 0:14 ` Mcnamara, John
2015-11-13 11:48 ` Montorsi, Francesco
2015-11-13 12:24 ` Panu Matilainen [this message]
2016-08-25 4:57 Keren Hochman
2016-08-25 11:01 ` Ferruh Yigit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5645D66B.8020905@redhat.com \
--to=pmatilai@redhat.com \
--cc=dev@dpdk.org \
--cc=fmontorsi@empirix.com \
--cc=john.mcnamara@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).