From: Paul Durrant <paul.durrant@citrix.com>
To: xen-devel@lists.xensource.com
Cc: Paul Durrant <paul.durrant@citrix.com>
Subject: [PATCH] patch fix-tx-work-todo
Date: Tue, 14 Dec 2010 17:38:02 +0000 [thread overview]
Message-ID: <1292348283-5786-4-git-send-email-paul.durrant@citrix.com> (raw)
In-Reply-To: <1292348283-5786-3-git-send-email-paul.durrant@citrix.com>
---
drivers/xen/netback/netback.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/xen/netback/netback.c b/drivers/xen/netback/netback.c
index 87a2cd4..eca61a9 100644
--- a/drivers/xen/netback/netback.c
+++ b/drivers/xen/netback/netback.c
@@ -1712,6 +1712,10 @@ static inline int tx_work_todo(struct xen_netbk *netbk)
if (netbk->dealloc_cons != netbk->dealloc_prod)
return 1;
+ if (netbk_copy_skb_mode == NETBK_DELAYED_COPY_SKB &&
+ !list_empty(&netbk->pending_inuse_head))
+ return 1;
+
if (((nr_pending_reqs(netbk) + MAX_SKB_FRAGS) < MAX_PENDING_REQS) &&
!list_empty(&netbk->net_schedule_list))
return 1;
--
1.5.6.5
next prev parent reply other threads:[~2010-12-14 17:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-14 17:37 [PATCH] patch fix-PKT_PROT_LEN Paul Durrant
2010-12-14 17:38 ` [PATCH] patch fix-rx-packets-accounting Paul Durrant
2010-12-14 17:38 ` [PATCH] patch remove-timeout Paul Durrant
2010-12-14 17:38 ` Paul Durrant [this message]
2010-12-14 17:38 ` [PATCH] patch move-pending-tx-copy Paul Durrant
2010-12-15 15:45 ` [PATCH] patch remove-timeout Konrad Rzeszutek Wilk
2010-12-15 15:45 ` [PATCH] patch fix-rx-packets-accounting Konrad Rzeszutek Wilk
2010-12-16 11:37 ` Paul Durrant
2010-12-16 11:44 ` Ian Campbell
2010-12-16 11:49 ` Paul Durrant
2010-12-16 15:06 ` Konrad Rzeszutek Wilk
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=1292348283-5786-4-git-send-email-paul.durrant@citrix.com \
--to=paul.durrant@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 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).