From: David Miller <davem@davemloft.net>
To: ilant@mellanox.com
Cc: netdev@vger.kernel.org, alexander.h.duyck@intel.com,
eric.dumazet@gmail.com, steffen.klassert@secunet.com,
borisp@mellanox.com, ilyal@mellanox.com
Subject: Re: [PATCH] gso: Validate assumption of frag_list segementation
Date: Mon, 17 Apr 2017 15:32:59 -0400 (EDT) [thread overview]
Message-ID: <20170417.153259.1519976990479511796.davem@davemloft.net> (raw)
In-Reply-To: <20170416080007.15990-1-ilant@mellanox.com>
From: <ilant@mellanox.com>
Date: Sun, 16 Apr 2017 11:00:07 +0300
> From: Ilan Tayari <ilant@mellanox.com>
>
> Commit 07b26c9454a2 ("gso: Support partial splitting at the frag_list
> pointer") assumes that all SKBs in a frag_list (except maybe the last
> one) contain the same amount of GSO payload.
>
> This assumption is not always correct, resulting in the following
> warning message in the log:
> skb_segment: too many frags
>
> For example, mlx5 driver in Striding RQ mode creates some RX SKBs with
> one frag, and some with 2 frags.
> After GRO, the frag_list SKBs end up having different amounts of payload.
> If this frag_list SKB is then forwarded, the aforementioned assumption
> is violated.
>
> Validate the assumption, and fall back to software GSO if it not true.
>
> Fixes: 07b26c9454a2 ("gso: Support partial splitting at the frag_list pointer")
> Signed-off-by: Ilan Tayari <ilant@mellanox.com>
> Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
> ---
Your commit message mentions a fixes tag which make this change seem
relevant for 'net', but your patch depends upon things in 'net-next'
and therefore only applies there.
I've added this change to net-next, but I want an explanation of why
this change is not targettting 'net' if it seems to fix a problem
there.
Thanks.
next prev parent reply other threads:[~2017-04-17 19:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-16 8:00 [PATCH] gso: Validate assumption of frag_list segementation ilant
2017-04-17 19:32 ` David Miller [this message]
2017-04-19 11:17 ` Ilan Tayari
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=20170417.153259.1519976990479511796.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=alexander.h.duyck@intel.com \
--cc=borisp@mellanox.com \
--cc=eric.dumazet@gmail.com \
--cc=ilant@mellanox.com \
--cc=ilyal@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=steffen.klassert@secunet.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