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: 38+ 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-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 7:48 ` Wei Liu
2013-07-10 8:34 ` annie li [this message]
2013-07-09 22:14 ` Matt Wilson
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
2013-07-10 8:13 ` Wei Liu
2013-07-10 8:13 ` Wei Liu
2013-07-10 19:37 ` Wei Liu
2013-07-10 19:37 ` Wei Liu
2013-07-11 1:25 ` annie li
2013-07-11 1:25 ` annie li
2013-07-11 5:14 ` Matt Wilson
2013-07-11 5:14 ` [Xen-devel] " Matt Wilson
2013-07-11 6:01 ` annie li
2013-07-11 6:01 ` [Xen-devel] " annie li
2013-07-11 13:52 ` annie li
2013-07-12 8:49 ` Wei Liu
2013-07-12 9:19 ` annie li
2013-07-18 11:47 ` Ian Campbell
2013-07-18 11:47 ` [Xen-devel] " Ian Campbell
2013-07-12 9:19 ` annie li
2013-07-12 8:49 ` Wei Liu
2013-07-11 13:52 ` annie li
2013-07-11 8:46 ` Wei Liu
2013-07-11 8:46 ` [Xen-devel] " Wei Liu
2013-07-16 10:08 ` annie li
2013-07-16 10:08 ` [Xen-devel] " annie li
2013-07-16 10:27 ` Wei Liu
2013-07-16 17:40 ` Matt Wilson
2013-07-16 17:40 ` [Xen-devel] " Matt Wilson
2013-07-16 10:27 ` Wei Liu
2013-07-09 22: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 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.