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
@ -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…
Reference in New Issue
Block a user