Re: [systemd-devel] persisting sriov_numvfs

2015-02-16 Thread Michal Sekletar
On Sat, Feb 14, 2015 at 12:47:54AM +0100, Tom Gundersen wrote: On Tue, Jan 27, 2015 at 5:49 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 27.01.15 08:41, Martin Polednik (mpoled...@redhat.com) wrote: b) Expose this via udev .link files. This would be appropriate if

Re: [systemd-devel] persisting sriov_numvfs

2015-02-13 Thread Tom Gundersen
On Tue, Jan 27, 2015 at 5:49 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 27.01.15 08:41, Martin Polednik (mpoled...@redhat.com) wrote: b) Expose this via udev .link files. This would be appropriate if adding/removing VFs is a one-time thing, when a device pops up.

Re: [systemd-devel] persisting sriov_numvfs

2015-01-27 Thread Martin Polednik
- Original Message - From: Lennart Poettering lenn...@poettering.net To: Martin Polednik mpoled...@redhat.com Cc: Andrei Borzenkov arvidj...@gmail.com, systemd-devel@lists.freedesktop.org, ibar...@redhat.com Sent: Tuesday, January 27, 2015 2:21:21 PM Subject: Re: [systemd-devel

Re: [systemd-devel] persisting sriov_numvfs

2015-01-27 Thread Jóhann B. Guðmundsson
On 01/27/2015 12:40 PM, Tom Gundersen wrote: Hi Dan, On Mon, Jan 19, 2015 at 3:18 PM, Dan Kenigsberg dan...@redhat.com wrote: I'm an http://oVirt.org developer, and we plan to (finally) support SR-IOV cards natively. Working on this feature, we've noticed that something is missing in the

Re: [systemd-devel] persisting sriov_numvfs

2015-01-27 Thread Lennart Poettering
On Tue, 27.01.15 07:35, Martin Polednik (mpoled...@redhat.com) wrote: Hmm, I see. In many ways this feels like VLAN setup from a configuration PoV, right? i.e. you have one hw device the driver creates, and then you configure a couple of additional interfaces on top of it.

Re: [systemd-devel] persisting sriov_numvfs

2015-01-27 Thread Martin Polednik
- Original Message - From: Lennart Poettering lenn...@poettering.net To: Andrei Borzenkov arvidj...@gmail.com Cc: Martin Polednik mpoled...@redhat.com, systemd-devel@lists.freedesktop.org, ibar...@redhat.com Sent: Tuesday, January 27, 2015 1:21:32 PM Subject: Re: [systemd-devel

Re: [systemd-devel] persisting sriov_numvfs

2015-01-27 Thread Lennart Poettering
On Tue, 27.01.15 06:47, Andrei Borzenkov (arvidj...@gmail.com) wrote: Hmm, I see. In many ways this feels like VLAN setup from a configuration PoV, right? i.e. you have one hw device the driver creates, and then you configure a couple of additional interfaces on top of it. This of

Re: [systemd-devel] persisting sriov_numvfs

2015-01-27 Thread Lennart Poettering
On Tue, 27.01.15 08:41, Martin Polednik (mpoled...@redhat.com) wrote: b) Expose this via udev .link files. This would be appropriate if adding/removing VFs is a one-time thing, when a device pops up. This would be networking specific, not cover anything else like GPU or storage

Re: [systemd-devel] persisting sriov_numvfs

2015-01-27 Thread Jóhann B. Guðmundsson
, 2015 2:21:21 PM Subject: Re: [systemd-devel] persisting sriov_numvfs On Tue, 27.01.15 07:35, Martin Polednik (mpoled...@redhat.com) wrote: snip Hmm, so there are three options I think. a) Expose this in networkd .netdev files, as I suggested originally. This would be appropriate if we can add

Re: [systemd-devel] persisting sriov_numvfs

2015-01-26 Thread Lennart Poettering
On Fri, 23.01.15 08:51, Martin Polednik (mpoled...@redhat.com) wrote: Quite frankly, I cannot make sense of these sentences. I have no clue what a SR-IOV, virtual function, physical function is supposed to be. Please explain what this all is, before we can think of adding any

Re: [systemd-devel] persisting sriov_numvfs

2015-01-26 Thread Andrei Borzenkov
В Tue, 27 Jan 2015 03:30:22 +0100 Lennart Poettering lenn...@poettering.net пишет: On Fri, 23.01.15 08:51, Martin Polednik (mpoled...@redhat.com) wrote: Quite frankly, I cannot make sense of these sentences. I have no clue what a SR-IOV, virtual function, physical function is supposed

Re: [systemd-devel] persisting sriov_numvfs

2015-01-23 Thread Martin Polednik
- Original Message - From: Lennart Poettering lenn...@poettering.net To: Dan Kenigsberg dan...@redhat.com Cc: systemd-devel@lists.freedesktop.org, mpole...@redhat.com, ibar...@redhat.com Sent: Friday, January 23, 2015 3:49:59 AM Subject: Re: [systemd-devel] persisting sriov_numvfs

Re: [systemd-devel] persisting sriov_numvfs

2015-01-22 Thread Lennart Poettering
On Mon, 19.01.15 14:18, Dan Kenigsberg (dan...@redhat.com) wrote: Hello, list. I'm an http://oVirt.org developer, and we plan to (finally) support SR-IOV cards natively. Working on this feature, we've noticed that something is missing in the platform OS. If I maintain a host with sr-iov

Re: [systemd-devel] persisting sriov_numvfs

2015-01-19 Thread Jóhann B. Guðmundsson
On 01/19/2015 09:57 PM, Dan Kenigsberg wrote: On Mon, Jan 19, 2015 at 04:51:48PM +, Jóhann B. Guðmundsson wrote: On 01/19/2015 02:18 PM, Dan Kenigsberg wrote: How should this be implemented in the realm of systemd? I would think via udev rule + systemd-networkd Could you elaborate your

Re: [systemd-devel] persisting sriov_numvfs

2015-01-19 Thread Dan Kenigsberg
On Mon, Jan 19, 2015 at 04:51:48PM +, Jóhann B. Guðmundsson wrote: On 01/19/2015 02:18 PM, Dan Kenigsberg wrote: How should this be implemented in the realm of systemd? I would think via udev rule + systemd-networkd Could you elaborate your idea? Do you suggest adding a udev rule to