public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Du Fan <fengyuleidian0615@gmail•com>
To: Florian Westphal <fw@strlen•de>
Cc: Thomas Graf <tgraf@suug•ch>,
	"Michael S. Tsirkin" <mst@redhat•com>,
	Jesse Gross <jesse@nicira•com>, Flavio Leitner <fbl@redhat•com>,
	"davem@davemloft•net" <davem@davemloft•net>,
	pshelar@nicira•com, netdev <netdev@vger•kernel.org>,
	"dev@openvswitch•org" <dev@openvswitch•org>,
	"Du, Fan" <fan.du@intel•com>
Subject: [Discussion] About over-MTU-sized skb in virtualized env
Date: Wed, 03 Dec 2014 14:39:37 +0800	[thread overview]
Message-ID: <547EB029.5010102@gmail.com> (raw)

Sorry for resend this mail, because my company email is rejected by netdev.


Hi Florian

  214 static int ip_finish_output_gso(struct sk_buff *skb)
  215 {
  216     netdev_features_t features;
  217     struct sk_buff *segs;
  218     int ret = 0;
  219
  220     /* common case: locally created skb or seglen is <= mtu */
  221     if (((IPCB(skb)->flags & IPSKB_FORWARDED) == 0) ||
  222           skb_gso_network_seglen(skb) <= ip_skb_dst_mtu(skb))
  223         return ip_finish_output2(skb);

Could you please state _concrete_ reason why locally created skb
length is _always_ fitting into MTU size? or why we needs this
checking.
Especially in below scenario:
http://docs.openstack.org/admin-guide-cloud/content/figures/14/a/a/common/figures/under-the-hood-scenario-1-ovs-compute.png

As many people have discuss it in this thread:
http://marc.info/?t=141715669700004&r=1&w=2

             reply	other threads:[~2014-12-03  6:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-03  6:39 Du Fan [this message]
2014-12-03 10:50 ` [Discussion] About over-MTU-sized skb in virtualized env Florian Westphal
  -- strict thread matches above, loose matches on Subject: below --
2014-12-03  5:40 Du, Fan

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=547EB029.5010102@gmail.com \
    --to=fengyuleidian0615@gmail$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=dev@openvswitch$(echo .)org \
    --cc=fan.du@intel$(echo .)com \
    --cc=fbl@redhat$(echo .)com \
    --cc=fw@strlen$(echo .)de \
    --cc=jesse@nicira$(echo .)com \
    --cc=mst@redhat$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pshelar@nicira$(echo .)com \
    --cc=tgraf@suug$(echo .)ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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