From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Paul Durrant <Paul.Durrant@citrix.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
Wei Liu <wei.liu2@citrix.com>,
David Vrabel <david.vrabel@citrix.com>,
Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: [PATCH net-next] xen-netback: improve guest-receive-side flow control
Date: Tue, 3 Dec 2013 15:22:43 -0500 [thread overview]
Message-ID: <20131203202243.GB17195@phenom.dumpdata.com> (raw)
In-Reply-To: <9AAE0902D5BC7E449B7C8E4E778ABCD019C3D2@AMSPEX01CL01.citrite.net>
On Mon, Dec 02, 2013 at 11:55:50AM +0000, Paul Durrant wrote:
> > -----Original Message-----
> > From: David Vrabel
> > Sent: 02 December 2013 11:52
> > To: Paul Durrant
> > Cc: xen-devel@lists.xen.org; Wei Liu; Ian Campbell
> > Subject: Re: [PATCH net-next] xen-netback: improve guest-receive-side flow
> > control
> >
> > On 28/11/13 13:11, Paul Durrant wrote:
> > > The flow control code relies on a double pass of tke skb, firstly to count
> > > the number of ring slots needed to supply sufficient grant references, and
> > > another to actually consume those references and build the grant copy
> > > operations. It transpires that, in some scenarios, the initial count and the
> > > number of references consumed differs and, after this happens a number
> > of
> > > times, flow control is completely broken.
> >
> > Can you describe in more detail the cases where it gets it wrong?
> >
>
> I've already elaborated on this thread (at Annie Li's request). That explanation is probably a little long for inclusion in the comment though.
Please do add it. It never hurts to have more documentation.
>
> > > -unsigned int xenvif_count_skb_slots(struct xenvif *vif, struct sk_buff
> > *skb)
> >
> > Any patch that gets rid of this gets my vote (provided it works!).
> >
> > Can you list all the guest frontends that you've tested this with?
> >
>
> So, far a couple of windows guests for dev test purposes, but it is going through XenRT too which will exercise linux guests too.
>
> Paul
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
prev parent reply other threads:[~2013-12-03 20:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-28 13:11 [PATCH net-next] xen-netback: improve guest-receive-side flow control Paul Durrant
2013-11-28 15:51 ` Wei Liu
2013-11-28 16:05 ` Paul Durrant
2013-11-28 16:27 ` Wei Liu
2013-11-28 16:33 ` Paul Durrant
2013-11-28 16:44 ` Wei Liu
2013-12-02 11:53 ` David Vrabel
2013-11-29 8:20 ` annie li
2013-11-29 10:03 ` Paul Durrant
2013-12-01 4:18 ` annie li
2013-12-02 10:52 ` Paul Durrant
2013-12-02 11:52 ` David Vrabel
2013-12-02 11:55 ` Paul Durrant
2013-12-02 11:59 ` David Vrabel
2013-12-02 12:01 ` Paul Durrant
2013-12-03 20:22 ` Konrad Rzeszutek Wilk [this message]
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=20131203202243.GB17195@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@citrix.com \
--cc=Paul.Durrant@citrix.com \
--cc=david.vrabel@citrix.com \
--cc=wei.liu2@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.