[rtems-libbsd commit] ffec: Increase buffer descriptor count to 512
Sebastian Huber
sebh at rtems.org
Wed Oct 25 12:31:12 UTC 2017
Module: rtems-libbsd
Branch: master
Commit: fd5ee5737261c9c9265178607c05251f92a4be7d
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=fd5ee5737261c9c9265178607c05251f92a4be7d
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Oct 25 13:25:15 2017 +0200
ffec: Increase buffer descriptor count to 512
Update #3090.
---
freebsd/sys/dev/ffec/if_ffec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/freebsd/sys/dev/ffec/if_ffec.c b/freebsd/sys/dev/ffec/if_ffec.c
index 51c2e79..f37dcbd 100644
--- a/freebsd/sys/dev/ffec/if_ffec.c
+++ b/freebsd/sys/dev/ffec/if_ffec.c
@@ -127,9 +127,9 @@ static struct ofw_compat_data compat_data[] = {
/*
* Driver data and defines. The descriptor counts must be a power of two.
*/
-#define RX_DESC_COUNT 64
+#define RX_DESC_COUNT 512
#define RX_DESC_SIZE (sizeof(struct ffec_hwdesc) * RX_DESC_COUNT)
-#define TX_DESC_COUNT 64
+#define TX_DESC_COUNT 512
#define TX_DESC_SIZE (sizeof(struct ffec_hwdesc) * TX_DESC_COUNT)
#define TX_MAX_DMA_SEGS 8
More information about the vc
mailing list