[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1397171799.16584.48.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Thu, 10 Apr 2014 16:16:39 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ezequiel Garcia <ezequiel.garcia@...e-electrons.com>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
Gregory Clement <gregory.clement@...e-electrons.com>,
Simon Guinot <simon.guinot@...uanux.org>,
Willy Tarreau <w@....eu>, Tawfik Bayouk <tawfik@...vell.com>,
Lior Amsalem <alior@...vell.com>,
Simon Guinot <sguinot@...ie.com>
Subject: Re: [PATCH 3/3] net: mvneta: Introduce a software TSO implementation
On Thu, 2014-04-10 at 19:58 -0300, Ezequiel Garcia wrote:
> + /* Calculate expected number of TX descriptors */
> + desc_count = skb_shinfo(skb)->gso_segs * 2 + skb_shinfo(skb)->nr_frags;
> + if ((txq->count + desc_count) >= txq->size)
> + return 0;
> +
Hmm.. have you tried to play with small MSS ?
I think you should set dev->gso_max_segs to a sensible value...
see commit 7e6d06f0de3f7 for details.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists