mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
nettest now uses only 8Kb for packet buffers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3143 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1367,6 +1367,11 @@
|
|||||||
* net/send.c -- Check if the destination IP address is in the ARP table. If
|
* net/send.c -- Check if the destination IP address is in the ARP table. If
|
||||||
not, then don't consider the packet sent. It won't be, an ARP packet will go
|
not, then don't consider the packet sent. It won't be, an ARP packet will go
|
||||||
out instead.
|
out instead.
|
||||||
|
* arch/arm/src/lpc17xx/lpc17_emacram.h and lpc17_allocateheap.c -- The Ethernet
|
||||||
|
logic was using all of AHB SRAM Bank0 for Ethernet packet buffers (16Kb). An
|
||||||
|
option was added to limit the amount of SRAM used for packet buffering and to
|
||||||
|
re-use any extra Bank0 memory for heap. configs/olimex-lpc1766stk/nettest
|
||||||
|
now uses only 8Kb at the beginning of Bank0; the 8Kb at the end of Bank0 is
|
||||||
|
included in the heap
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<tr align="center" bgcolor="#e4e4e4">
|
<tr align="center" bgcolor="#e4e4e4">
|
||||||
<td>
|
<td>
|
||||||
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
|
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
|
||||||
<p>Last Updated: November 27, 2010</p>
|
<p>Last Updated: November 28, 2010</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@@ -1988,6 +1988,12 @@ nuttx-5.15 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
|||||||
* net/send.c -- Check if the destination IP address is in the ARP table. If
|
* net/send.c -- Check if the destination IP address is in the ARP table. If
|
||||||
not, then don't consider the packet sent. It won't be, an ARP packet will go
|
not, then don't consider the packet sent. It won't be, an ARP packet will go
|
||||||
out instead.
|
out instead.
|
||||||
|
* arch/arm/src/lpc17xx/lpc17_emacram.h and lpc17_allocateheap.c -- The Ethernet
|
||||||
|
logic was using all of AHB SRAM Bank0 for Ethernet packet buffers (16Kb). An
|
||||||
|
option was added to limit the amount of SRAM used for packet buffering and to
|
||||||
|
re-use any extra Bank0 memory for heap. configs/olimex-lpc1766stk/nettest
|
||||||
|
now uses only 8Kb at the beginning of Bank0; the 8Kb at the end of Bank0 is
|
||||||
|
included in the heap
|
||||||
|
|
||||||
pascal-2.1 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
pascal-2.1 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
|
|
||||||
|
|||||||
@@ -206,7 +206,11 @@ CONFIG_PHY_KS8721=y
|
|||||||
CONFIG_PHY_AUTONEG=y
|
CONFIG_PHY_AUTONEG=y
|
||||||
CONFIG_PHY_SPEED100=n
|
CONFIG_PHY_SPEED100=n
|
||||||
CONFIG_PHY_FDUPLEX=y
|
CONFIG_PHY_FDUPLEX=y
|
||||||
|
CONFIG_NET_EMACRAM_SIZE=8192
|
||||||
|
CONFIG_NET_NTXDESC=9
|
||||||
|
CONFIG_NET_NRXDESC=9
|
||||||
CONFIG_NET_REGDEBUG=n
|
CONFIG_NET_REGDEBUG=n
|
||||||
|
|
||||||
#
|
#
|
||||||
# General build options
|
# General build options
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user