]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: fix and better tune the default buffer sizes
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Mon, 10 Mar 2014 12:40:32 +0000 (13:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Mar 2014 20:14:31 +0000 (16:14 -0400)
commit7d56927082bfcd322c2c7e07a20d10e75f377ded
treef4ecc52fa4f6d75af2d0cc5e95e975784633f0cc
parentae4fcf8c4b54d4d23266fac85952cf289b89a8df
stmmac: fix and better tune the default buffer sizes

This patch is to fix and tune the default buffer sizes.
It reduces the default bufsize used by the driver from
4KiB to 1536 bytes.

Patch has been tested on both ARM and SH4 platform based.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c