2017-08-23 05:51:31 -04:00
|
|
|
menu Ethernet
|
2016-11-08 04:45:17 -05:00
|
|
|
|
2019-04-30 06:30:32 -04:00
|
|
|
config ETH_DMA_RX_BUF_NUM
|
2019-01-28 07:29:58 -05:00
|
|
|
int "Number of DMA RX buffers"
|
|
|
|
range 3 20
|
|
|
|
default 10
|
|
|
|
help
|
|
|
|
Number of DMA receive buffers. Each buffer is 1600 bytes.
|
|
|
|
These buffers are allocated dynamically.
|
|
|
|
More buffers will increase throughput.
|
|
|
|
If flow ctrl is enabled, make sure this number is larger than 9.
|
|
|
|
|
2019-04-30 06:30:32 -04:00
|
|
|
config ETH_DMA_TX_BUF_NUM
|
2019-01-28 07:29:58 -05:00
|
|
|
int "Number of DMA TX buffers"
|
|
|
|
range 3 20
|
|
|
|
default 10
|
|
|
|
help
|
|
|
|
Number of DMA transmit buffers. Each buffer is 1600 bytes.
|
|
|
|
These buffers are allocated dynamically.
|
|
|
|
More buffers will increase throughput.
|
|
|
|
|
2019-04-30 06:30:32 -04:00
|
|
|
config ETH_EMAC_L2_TO_L3_RX_BUF_MODE
|
2019-01-28 07:29:58 -05:00
|
|
|
bool "Enable received buffers be copied to Layer3 from Layer2"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
If this option is selected, a copy of each received buffer will be allocated from the heap
|
|
|
|
before passing it to the IP Layer (L3).
|
|
|
|
Which means, the total amount of received buffers is limited by the heap size.
|
|
|
|
|
|
|
|
If this option is not selected, IP layer only uses the pointers to the DMA buffers owned by Ethernet MAC.
|
|
|
|
When Ethernet MAC doesn't have any available buffers left, it will drop the incoming packets.
|
|
|
|
|
2019-04-30 06:30:32 -04:00
|
|
|
config ETH_CHECK_LINK_STATUS_PERIOD_MS
|
2019-01-28 07:29:58 -05:00
|
|
|
int "Period (ms) of checking Ethernet linkup status"
|
|
|
|
range 1000 5000
|
|
|
|
default 2000
|
|
|
|
help
|
|
|
|
The emac driver uses an internal timer to check the Ethernet linkup status.
|
|
|
|
Here you should choose a valid interval time.
|
|
|
|
|
2019-04-30 06:30:32 -04:00
|
|
|
config ETH_EMAC_TASK_PRIORITY
|
2019-01-28 07:29:58 -05:00
|
|
|
int "EMAC_TASK_PRIORITY"
|
|
|
|
default 20
|
|
|
|
range 3 22
|
|
|
|
help
|
|
|
|
Priority of Ethernet MAC task.
|
|
|
|
|
2019-04-30 06:30:32 -04:00
|
|
|
config ETH_EMAC_TASK_STACK_SIZE
|
2019-01-28 07:29:58 -05:00
|
|
|
int "Stack Size of EMAC Task"
|
|
|
|
default 3072
|
|
|
|
range 2000 8000
|
|
|
|
help
|
|
|
|
Stack Size of Ethernet MAC task.
|
2018-09-05 09:43:03 -04:00
|
|
|
|
2017-08-23 05:51:31 -04:00
|
|
|
endmenu
|