[rtems commit] bsp/lpc32xx: Optimize Ethernet transmit

Sebastian Huber sebh at rtems.org
Mon Jun 27 07:19:01 UTC 2022


Module:    rtems
Branch:    master
Commit:    00f39770cae43db5b2f96cf9b6b1f8573cc694b7
Changeset: http://git.rtems.org/rtems/commit/?id=00f39770cae43db5b2f96cf9b6b1f8573cc694b7

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jun 23 11:46:26 2022 +0200

bsp/lpc32xx: Optimize Ethernet transmit

The updated Ethernet interface driver in libbsd profits from more
transmit descriptors since it no longer uses transmit done interrupts.

---

 bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h b/bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h
index 1100dd7002..790cb72788 100644
--- a/bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h
+++ b/bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h
@@ -47,7 +47,7 @@ extern "C" {
 #define LPC_ETH_CONFIG_RX_UNIT_COUNT_DEFAULT 16
 #define LPC_ETH_CONFIG_RX_UNIT_COUNT_MAX INT_MAX
 
-#define LPC_ETH_CONFIG_TX_UNIT_COUNT_DEFAULT 32
+#define LPC_ETH_CONFIG_TX_UNIT_COUNT_DEFAULT 128
 #define LPC_ETH_CONFIG_TX_UNIT_COUNT_MAX INT_MAX
 
 #define LPC_ETH_CONFIG_UNIT_MULTIPLE 8U



More information about the vc mailing list