From: annie li <annie.li@oracle.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: xen-devel@lists.xensource.com, netdev@vger.kernel.org,
Ian.Campbell@citrix.com, konrad.wilk@oracle.com
Subject: Re: [PATCH 1/1] xen/netback: correctly calculate required slots of skb.
Date: Wed, 10 Jul 2013 16:34:50 +0800 [thread overview]
Message-ID: <51DD1CAA.7060908@oracle.com> (raw)
In-Reply-To: <20130710074851.GH19798@zion.uk.xensource.com>
On 2013-7-10 15:48, Wei Liu wrote:
> On Wed, Jul 10, 2013 at 10:31:49AM +0800, annie li wrote:
> [...]
>>> This seems to differ from netbk_gop_frag_copy. In that function it's
>>> like
>>>
>>> if (*head && skb_shinfo(skb)->gso_size && !vif->gso_prefix)
>> I mixed netbk_gop_frag_copy and xen_netbk_count_skb_slots just now,
>> so please ignore the comments here in my last email.
>> In xen_netbk_count_skb_slots, we have following code already, so it
>> is not necessary to add gso condition here.
>>
>> if (skb_shinfo(skb)->gso_size)
>> count++;
>>
> Oh I see. But the condition still seems to be different from the
> original one -- you missed !vif->gso_prefix.
The original code in xen_netbk_count_skb_slots does not have
!vif->gso_prefix. But I think you are right, it is better to keep
consistent with that in netbk_gop_frag_copy.
Thanks
Annie
next prev parent reply other threads:[~2013-07-10 8:34 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-09 6:15 [PATCH 1/1] xen/netback: correctly calculate required slots of skb Annie Li
2013-07-09 16:16 ` Wei Liu
2013-07-10 1:57 ` annie li
2013-07-10 2:31 ` annie li
2013-07-10 7:48 ` Wei Liu
2013-07-10 8:34 ` annie li [this message]
2013-07-09 22:14 ` Matt Wilson
2013-07-09 22:40 ` [PATCH RFC] xen-netback: calculate the number of slots required for large MTU vifs Matt Wilson
[not found] ` <1373409659-22383-1-git-send-email-msw@amazon.com>
2013-07-10 8:13 ` Wei Liu
[not found] ` <20130710081333.GI19798@zion.uk.xensource.com>
2013-07-10 19:37 ` Wei Liu
[not found] ` <20130710193703.GB20453@zion.uk.xensource.com>
2013-07-11 1:25 ` annie li
2013-07-11 5:14 ` Matt Wilson
[not found] ` <20130711051441.GA5189@u109add4315675089e695.ant.amazon.com>
2013-07-11 6:01 ` annie li
2013-07-11 8:46 ` Wei Liu
[not found] ` <51DE4A1D.8030203@oracle.com>
2013-07-11 13:52 ` annie li
[not found] ` <51DEB8B4.4030201@oracle.com>
2013-07-12 8:49 ` Wei Liu
[not found] ` <20130712084905.GG23269@zion.uk.xensource.com>
2013-07-12 9:19 ` annie li
[not found] ` <51DFCA1F.7040100@oracle.com>
2013-07-18 11:47 ` Ian Campbell
2013-07-16 10:08 ` annie li
[not found] ` <51E51B83.7040302@oracle.com>
2013-07-16 10:27 ` Wei Liu
[not found] ` <20130716102719.GD5674@zion.uk.xensource.com>
2013-07-16 17:40 ` Matt Wilson
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=51DD1CAA.7060908@oracle.com \
--to=annie.li@oracle.com \
--cc=Ian.Campbell@citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=netdev@vger.kernel.org \
--cc=wei.liu2@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).