All of lore.kernel.org
 help / color / mirror / Atom feed
* KNI automatic IP configuration
@ 2015-04-03 14:02 Olivier Deme
       [not found] ` <D5E90DD2-6AF3-4A38-BB52-6B94117E359B-UsMDwKmwmRBx67MzidHQgQC/G2K4zDHf@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Olivier Deme @ 2015-04-03 14:02 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KNI automatic IP configuration
       [not found] ` <D5E90DD2-6AF3-4A38-BB52-6B94117E359B-UsMDwKmwmRBx67MzidHQgQC/G2K4zDHf@public.gmane.org>
@ 2015-04-04 11:51   ` Zhou, Danny
       [not found]     ` <DFDF335405C17848924A094BC35766CF0AB44326-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Zhou, Danny @ 2015-04-04 11:51 UTC (permalink / raw)
  To: Olivier Deme, dev-VfR2kkLFssw

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KNI automatic IP configuration
       [not found]     ` <DFDF335405C17848924A094BC35766CF0AB44326-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2015-04-04 17:02       ` Olivier Deme
       [not found]         ` <197B7176-9E88-4E24-9343-68E597CB143F-UsMDwKmwmRBx67MzidHQgQC/G2K4zDHf@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Olivier Deme @ 2015-04-04 17:02 UTC (permalink / raw)
  To: Zhou, Danny; +Cc: dev-VfR2kkLFssw

Currently I’m using the e1000 PMD driver.

Thanks,
Olivier.

> On 4 Apr 2015, at 12:51, Zhou, Danny <danny.zhou-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> 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-VfR2kkLFssw@public.gmane.org] On Behalf Of Olivier Deme
>> Sent: Friday, April 03, 2015 10:03 PM
>> To: dev-VfR2kkLFssw@public.gmane.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.
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KNI automatic IP configuration
       [not found]         ` <197B7176-9E88-4E24-9343-68E597CB143F-UsMDwKmwmRBx67MzidHQgQC/G2K4zDHf@public.gmane.org>
@ 2015-04-05  1:08           ` Zhou, Danny
       [not found]             ` <DFDF335405C17848924A094BC35766CF0AB460E0-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Zhou, Danny @ 2015-04-05  1:08 UTC (permalink / raw)
  To: Olivier Deme; +Cc: dev-VfR2kkLFssw

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 <danny.zhou@intel.com> 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.
> >


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KNI automatic IP configuration
       [not found]             ` <DFDF335405C17848924A094BC35766CF0AB460E0-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2015-04-16 11:16               ` Olivier Deme
  0 siblings, 0 replies; 5+ messages in thread
From: Olivier Deme @ 2015-04-16 11:16 UTC (permalink / raw)
  To: Zhou, Danny; +Cc: dev-VfR2kkLFssw

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-UsMDwKmwmRBx67MzidHQgQC/G2K4zDHf@public.gmane.org]
>> Sent: Sunday, April 05, 2015 1:03 AM
>> To: Zhou, Danny
>> Cc: dev-VfR2kkLFssw@public.gmane.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 <danny.zhou-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> 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-VfR2kkLFssw@public.gmane.org] On Behalf Of Olivier Deme
>>>> Sent: Friday, April 03, 2015 10:03 PM
>>>> To: dev-VfR2kkLFssw@public.gmane.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-UsMDwKmwmRBx67MzidHQgQC/G2K4zDHf@public.gmane.org <mailto:odeme-UsMDwKmwmRBx67MzidHQgQC/G2K4zDHf@public.gmane.org>*
*URL: http://www.druidsoftware.com*
Druid Software: Monetising enterprise small cells solutions.


Druid_Footer_Logo

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-16 11:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-03 14:02 KNI automatic IP configuration Olivier Deme
     [not found] ` <D5E90DD2-6AF3-4A38-BB52-6B94117E359B-UsMDwKmwmRBx67MzidHQgQC/G2K4zDHf@public.gmane.org>
2015-04-04 11:51   ` Zhou, Danny
     [not found]     ` <DFDF335405C17848924A094BC35766CF0AB44326-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-04 17:02       ` Olivier Deme
     [not found]         ` <197B7176-9E88-4E24-9343-68E597CB143F-UsMDwKmwmRBx67MzidHQgQC/G2K4zDHf@public.gmane.org>
2015-04-05  1:08           ` Zhou, Danny
     [not found]             ` <DFDF335405C17848924A094BC35766CF0AB460E0-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-16 11:16               ` Olivier Deme

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.