All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathieu Gagné" <mgagne@iweb.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Volunteers required for 4.2 TODO items (Re: 4.2 TODO update)
Date: Mon, 12 Mar 2012 12:00:04 -0400	[thread overview]
Message-ID: <4F5E1D84.7050100@iweb.com> (raw)
In-Reply-To: <1331554940.23971.72.camel@zakaz.uk.xensource.com>

On 3/12/12 8:22 AM, Ian Campbell wrote:
> On Mon, 2012-03-12 at 12:11 +0000, Ian Campbell wrote:
>> There are several things below which are in need of a volunteer to take care of them...
>
> Specifically:
>
>> tools, nice to have:
>>        * support for vif "rate" parameter (No one, AFAICT)
>

I'm working on a patch to add support for vif rate limiting in libxl.

I don't have much experience with C and my knowledge is limited. 
(although I develop in other languages)

At this moment, I only have a "proof of concept" with a main function so 
I can play and do tests to verify the parsing/results. 
(bytes_per_interval,interval_usecs)

I would have a couple of questions about how to integrate the 
feature/code within libxl/xl.

The rate syntax requires relatively complex parsing which would require 
at least 3 new functions which could all be combined in one if required. 
(parse_vif_rate, parse_vif_rate_bytes_per_sec and 
parse_vif_rate_interval_usecs)

Where should those functions be added? xl_cmdimpl.c?

What should be the names of the new struct members of libxl_device_nic? 
I same some "suggestions" in the previous rejected patch [1]. Are those 
names good? Should they be closer to the concept of "rate" instead of "qos"?

Also, should more information be provided to the user about the rate 
syntax? rate=<rate> isn't that useful.

Thanks!

[1] http://lists.xen.org/archives/html/xen-devel/2011-03/msg01963.html


-- 
Mathieu

  reply	other threads:[~2012-03-12 16:00 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12 12:11 4.2 TODO update Ian Campbell
2012-03-12 12:20 ` Paging/sharing in 4.2 (Was: Re: 4.2 TODO update) Ian Campbell
2012-03-12 13:04   ` Olaf Hering
2012-03-12 13:41     ` Ian Campbell
2012-03-13 10:54       ` Olaf Hering
2012-03-13 11:37         ` Ian Campbell
2012-03-13 13:36           ` Olaf Hering
2012-03-13 13:46             ` Ian Campbell
2012-03-13 13:53               ` Olaf Hering
2012-03-13 14:17             ` Andres Lagar-Cavilla
2012-03-12 15:05     ` Andres Lagar-Cavilla
2012-03-12 16:08       ` Tim Deegan
2012-03-12 12:22 ` Volunteers required for 4.2 TODO items (Re: " Ian Campbell
2012-03-12 16:00   ` Mathieu Gagné [this message]
2012-03-12 16:19     ` Ian Campbell
2012-03-12 16:00   ` Lin Ming
2012-03-12 16:40     ` Ian Campbell
2012-03-12 16:59       ` Lin Ming
2012-03-12 17:23         ` Ian Campbell
2012-03-12 18:18   ` Goncalo Gomes
2012-03-13 14:26     ` Ian Campbell
2012-03-13 15:07       ` Goncalo Gomes
2012-03-12 13:37 ` Xen 4.2 release plan (Was: " Ian Campbell
2012-03-12 13:45   ` Keir Fraser
2012-03-19  9:38     ` Ian Campbell
2012-03-12 14:12   ` Sander Eikelenboom
2012-03-12 15:22     ` Ian Campbell
2012-03-13 13:43   ` Ross Philipson
2012-03-13 13:53     ` Ian Campbell
2012-03-13 13:54       ` Ross Philipson
2012-03-12 13:42 ` 4.2 TODO update Ian Campbell
2012-03-12 13:51   ` Jan Beulich
2012-03-12 15:27     ` Ian Campbell
2012-03-12 13:55   ` Roger Pau Monné
2012-03-12 16:01 ` Stefano Stabellini
2012-03-13  8:57   ` Ian Campbell
2012-03-12 16:36 ` George Dunlap
2012-03-12 16:42   ` Ian Campbell
2012-03-13 10:50     ` George Dunlap
2012-03-13 11:40 ` Nested SVM (was: Re: 4.2 TODO update) Christoph Egger
2012-03-13 11:56   ` Ian Campbell
2012-03-13 12:56     ` Nested SVM Christoph Egger
2012-03-13 17:08 ` libxl stable API (Re: 4.2 TODO update) Ian Campbell
     [not found] ` <m2n.s.1S7VHr-136963@chiark.greenend.org.uk>
2012-03-14 11:16   ` Ian Jackson
     [not found]   ` <20320.32272.203100.527161@mariner.uk.xensource.com>
2012-03-14 13:37     ` Ian Campbell
2012-03-14 16:48 ` 4.2 TODO update Dario Faggioli
2012-03-14 16:51   ` Ian Campbell

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=4F5E1D84.7050100@iweb.com \
    --to=mgagne@iweb.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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 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.