All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathieu Gagné" <mgagne@iweb.com>
To: xen-devel@lists.xensource.com
Cc: ian.jackson@eu.citrix.com, stefano.stabellini@eu.citrix.com
Subject: [PATCH 0 of 4 v2] xl: add support for vif rate limiting
Date: Mon, 16 Apr 2012 21:58:22 -0400	[thread overview]
Message-ID: <patchbomb.1334627902@mgagne.users.dev.iweb.com> (raw)

Hi,

This patch series implements the required plumbering for vif rate limiting in libxl/xl.

The first patch fixes trivial indentation issues and introduces no functional changes.

The second patch implements dry-run for `xl network-attach` for debugging and testing purposes.

The third patch adds the required plumbering in libxl/xl to add vif rate limiting support. It uses the `rate` option syntax from xm/xend, ensuring full backward compatiblity.

The final patch adds the "check-xl-vif-parse" test script which tests various `rate` syntax.

Changes in v2:
- Don't default to unlimited in case of overflow/underflow or invalid syntax in rate
- Add error handling
- Remove use of matches in regex which weren't used anyway
- Add docs about the syntax
- Add note in docs explaining that limitations are netback implementation specific
- Modify test cases according to new behavior

Please comment on the overflow and error handling.

Sorry for the delay.

--
Mathieu

             reply	other threads:[~2012-04-17  1:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-17  1:58 Mathieu Gagné [this message]
2012-04-17  1:58 ` [PATCH 1 of 4 v2] xl: cleanup indentation Mathieu Gagné
2012-04-17  1:58 ` [PATCH 2 of 4 v2] xl: xl network-attach -N (dry run) option Mathieu Gagné
2012-04-17  1:58 ` [PATCH 3 of 4 v2] xl: add support for vif rate limiting Mathieu Gagné
2012-04-17 10:48   ` Ian Campbell
2012-04-17  1:58 ` [PATCH 4 of 4 v2] xl: add "check-xl-vif-parse" test script Mathieu Gagné
2012-04-17 10:50   ` Ian Campbell
2012-04-17 18:15 ` [PATCH 0 of 4 v2] xl: add support for vif rate limiting Ian Jackson
2012-04-17 20:37   ` Mathieu Gagné

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=patchbomb.1334627902@mgagne.users.dev.iweb.com \
    --to=mgagne@iweb.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xensource.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 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.