[PATCH 1/2] Fix: RX buffer size
Cyril Bur
cyril.bur at au1.ibm.com
Tue Dec 8 11:02:11 AEDT 2015
Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>
---
drivers/net/aspeednic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/aspeednic.c b/drivers/net/aspeednic.c
index d75ef67..0bfc8c1 100644
--- a/drivers/net/aspeednic.c
+++ b/drivers/net/aspeednic.c
@@ -227,7 +227,7 @@ static u8 g_phy_addr = 0;
#define NUM_RX_DESC PKTBUFSRX
#define NUM_TX_DESC 1 /* Number of TX descriptors */
-#define RX_BUFF_SZ PKTSIZE_ALIGN
+#define RX_BUFF_SZ 1600 /* Hardware defaults to this */
#define TX_BUFF_SZ 1514
#define TOUT_LOOP 1000000
--
2.6.3
More information about the openbmc
mailing list