mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Some minor improvement to some comments.
This commit is contained in:
@@ -1821,13 +1821,18 @@ config SAMV7_EMAC0_NRXBUFFERS
|
|||||||
descriptors that will be allocated The selected value must be an
|
descriptors that will be allocated The selected value must be an
|
||||||
even power of 2.
|
even power of 2.
|
||||||
|
|
||||||
|
NOTE that the defaut of 16 correspond to a total of only 2Kb of
|
||||||
|
RX buffering. That can easily exceeded on a busy network or with
|
||||||
|
large packet MTUs. You will know if this happens because you will
|
||||||
|
see the "Buffer Not Available (BNA)" receive error.
|
||||||
|
|
||||||
config SAMV7_EMAC0_NTXBUFFERS
|
config SAMV7_EMAC0_NTXBUFFERS
|
||||||
int "Number of TX buffers"
|
int "Number of TX buffers"
|
||||||
default 8
|
default 8
|
||||||
---help---
|
---help---
|
||||||
EMAC buffer memory is segmented into full Ethernet packets (size
|
EMAC buffer memory is segmented into full Ethernet packets (size
|
||||||
NET_BUFSIZE bytes). This setting provides the number of such packets
|
CONFIG_NET_BUFSIZE bytes). This setting provides the number of such
|
||||||
that can be in flight. This is also equal to the number of TX
|
packets that can be in flight. This is also equal to the number of TX
|
||||||
descriptors that will be allocated.
|
descriptors that will be allocated.
|
||||||
|
|
||||||
config SAMV7_EMAC0_PHYADDR
|
config SAMV7_EMAC0_PHYADDR
|
||||||
|
|||||||
@@ -280,7 +280,7 @@ void __start(void)
|
|||||||
showprogress('F');
|
showprogress('F');
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Initialize onboard resources */
|
/* Initialize on-board resources */
|
||||||
|
|
||||||
tiva_boardinitialize();
|
tiva_boardinitialize();
|
||||||
showprogress('G');
|
showprogress('G');
|
||||||
|
|||||||
Reference in New Issue
Block a user