mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
net: calxedaxgmac: enable rx cut-thru
There is no reason to wait for the entire frame to start DMA on receive, so enable rx cut-thru for better performance. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
This commit is contained in:
parent
0f5141e9c5
commit
393ee7f342
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ static int xgmac_init(struct eth_device *dev, bd_t * bis)
|
|||
/* set flow control parameters and store and forward mode */
|
||||
value = (FIFO_MINUS_12K << XGMAC_CORE_OMR_RFD_SHIFT) |
|
||||
(FIFO_MINUS_4K << XGMAC_CORE_OMR_RFA_SHIFT) |
|
||||
XGMAC_CORE_OMR_EFC | XGMAC_CORE_OMR_TSF | XGMAC_CORE_OMR_RSF;
|
||||
XGMAC_CORE_OMR_EFC | XGMAC_CORE_OMR_TSF;
|
||||
writel(value, ®s->core_opmode);
|
||||
|
||||
/* enable pause frames */
|
||||
|
|
Loading…
Add table
Reference in a new issue