From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.druidsoftware.com (unknown [148.251.52.124]) by dpdk.org (Postfix) with ESMTP id F18E2ADA2 for ; Thu, 16 Apr 2015 13:16:30 +0200 (CEST) Received: from localhost (unknown [127.0.0.1]) by mail.druidsoftware.com (Postfix) with ESMTP id BD1DB17B6475; Thu, 16 Apr 2015 11:16:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at www.druidsoftware.com Received: from mail.druidsoftware.com ([127.0.0.1]) by localhost (www.druidsoftware.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t3bQniVPMfsg; Thu, 16 Apr 2015 12:16:28 +0100 (IST) Received: from [172.28.2.37] (unknown [95.45.250.213]) (Authenticated sender: odeme@druidsoftware.com) by mail.druidsoftware.com (Postfix) with ESMTPSA id C569A17B63C3; Thu, 16 Apr 2015 12:16:28 +0100 (IST) Message-ID: <552F9A0C.7040402@druidsoftware.com> Date: Thu, 16 Apr 2015 12:16:28 +0100 From: Olivier Deme User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "Zhou, Danny" References: <197B7176-9E88-4E24-9343-68E597CB143F@druidsoftware.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] KNI automatic IP configuration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2015 11:16:31 -0000 Hi, sorry to resurrect this question. I am now using a virtio network interface in a qemu VM. Is it possible to use ifplugd to automatically setup the IP configuration of a KNI based interface? Here is the output of lspci: 00:03.0 Ethernet controller: Red Hat, Inc Virtio network device 00:04.0 Ethernet controller: Red Hat, Inc Virtio network device 00:05.0 Ethernet controller: Red Hat, Inc Virtio network device 00:06.0 Ethernet controller: Red Hat, Inc Virtio network device Thanks for your help. Olivier. On 05/04/15 02:08, Zhou, Danny wrote: > e1000 driver supports many different NIC devices. > > Do you know your NIC device type or device_id? > >> -----Original Message----- >> From: Olivier Deme [mailto:odeme@druidsoftware.com] >> Sent: Sunday, April 05, 2015 1:03 AM >> To: Zhou, Danny >> Cc: dev@dpdk.org >> Subject: Re: [dpdk-dev] KNI automatic IP configuration >> >> Currently I’m using the e1000 PMD driver. >> >> Thanks, >> Olivier. >> >>> On 4 Apr 2015, at 12:51, Zhou, Danny wrote: >>> >>> Which NIC device are you using now? >>> >>> KNI does not provide Ethtool support for all NICs supported by the Poll-Mode Drivers. >>> >>>> -----Original Message----- >>>> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Olivier Deme >>>> Sent: Friday, April 03, 2015 10:03 PM >>>> To: dev@dpdk.org >>>> Subject: [dpdk-dev] KNI automatic IP configuration >>>> >>>> Hi all, >>>> >>>> Is it possible on Linux to get the Linux network manager to automatically configure a KNI virtual network interface as soon as it >>>> comes up? >>>> I haven’t been able to get Fedora to apply the configuration under /etc/sysconfig/network-scripts/ifcfg-veth0 file upon >> starting >>>> my DPDK application. >>>> >>>> Executing ifup veth0 manually works but somehow the fedora network manager seems to have an issue to apply the if cfg >> config >>>> automatically. >>>> In the system logs I can see something along the lines “kni doesn’t support ethtool”. Is this related? >>>> >>>> I also tried ifplugd but without success. >>>> >>>> Many thanks for your help, >>>> >>>> Olivier. -- *Olivier Demé* *Druid Software Ltd.* *Tel: +353 1 202 1831* *Email: odeme@druidsoftware.com * *URL: http://www.druidsoftware.com* Druid Software: Monetising enterprise small cells solutions. Druid_Footer_Logo