Skip to content
Snippets Groups Projects
Commit 393ee7f3 authored by Rob Herring's avatar Rob Herring Committed by Albert ARIBAUD
Browse files

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: default avatarRob Herring <rob.herring@calxeda.com>
parent 0f5141e9
No related branches found
No related tags found
No related merge requests found
......@@ -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, &regs->core_opmode);
/* enable pause frames */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment