qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: "Nguyễn Thái Ngọc Duy" <pclouds@gmail.com>
Cc: Mark McLoughlin <markmc@redhat.com>,
	Anthony Liguori <aliguori@us.ibm.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] net: add drop_packets parameter to -net nic
Date: Mon, 25 Apr 2011 14:40:38 +0100	[thread overview]
Message-ID: <BANLkTik1GXp4D-TJAOXFmKYWuo1yMXs1ew@mail.gmail.com> (raw)
In-Reply-To: <1303697435-12542-1-git-send-email-pclouds@gmail.com>

2011/4/25 Nguyễn Thái Ngọc Duy <pclouds@gmail.com>:
> Dropping packets is sometimes perferred behavior. Add drop_packets
> parameter to NICConf struct and let nic simulation decide how to use
> it.
>
> Only e1000 supports this for now.
>
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
> ---
>  Documentation is missing, but I'm not even sure if there's any other
>  user who finds this useful.

Can you explain why you are adding this?  You are trying to bypass the
send queue and drop packets instead?

Stefan

  reply	other threads:[~2011-04-25 13:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-25  2:10 [Qemu-devel] [PATCH] net: add drop_packets parameter to -net nic Nguyễn Thái Ngọc Duy
2011-04-25 13:40 ` Stefan Hajnoczi [this message]
2011-04-25 13:42   ` Anthony Liguori
2011-04-25 14:06   ` Nguyen Thai Ngoc Duy
2011-04-26  9:14     ` Stefan Hajnoczi
2011-04-26 10:07       ` Nguyen Thai Ngoc Duy

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=BANLkTik1GXp4D-TJAOXFmKYWuo1yMXs1ew@mail.gmail.com \
    --to=stefanha@gmail.com \
    --cc=aliguori@us.ibm.com \
    --cc=markmc@redhat.com \
    --cc=pclouds@gmail.com \
    --cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).