[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <063D6719AE5E284EB5DD2968C1650D6D0F6D14A3@AcuExch.aculab.com>
Date: Wed, 5 Mar 2014 09:33:05 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Giuseppe CAVALLARO' <peppe.cavallaro@...com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: [PATCH (net.git) 2/4] stmmac: fix and better tune the default
buffer sizes
From: Giuseppe CAVALLARO
> Hello David
>
> Sorry, can you tell me what is the final your opinion about
> this patch?
>
> I think that it not good to keep 4KiB as default and your main concern
> was about the default buffer size that depended on VLAN ifconfig.
>
> So I could adopt 1536bytes as default and remove ifdef.
If the rx buffer size has to match the mtu then the minimum
size needs to be that for non-vlan packets.
OTOH if the rx buffer size only has to be 'long enough' and
a frame length check is done in software then you can always
use the vlan length and save reconfig is someone enables vlans.
My real concern was that you were setting the minimum buffer
size based on a vlan config option - which really didn't seem
right at all.
David
--
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