patch-2.1.101 linux/drivers/net/sunhme.h

Next file: linux/drivers/net/sunlance.c
Previous file: linux/drivers/net/sunhme.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/drivers/net/sunhme.h linux/drivers/net/sunhme.h
@@ -468,9 +468,9 @@
 			    (hp)->tx_old - (hp)->tx_new - 1)
 
 #define RX_OFFSET          2
-#define RX_BUF_ALLOC_SIZE  (ETH_FRAME_LEN + RX_OFFSET + (64 * 3))
+#define RX_BUF_ALLOC_SIZE  (1546 + RX_OFFSET + 64)
 
-#define RX_COPY_THRESHOLD  128
+#define RX_COPY_THRESHOLD  256
 
 struct hmeal_init_block {
 	struct happy_meal_rxd happy_meal_rxd[RX_RING_MAXSIZE];

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov