diff options
author | Rob Herring | 2013-06-12 22:24:46 -0500 |
---|---|---|
committer | Albert ARIBAUD | 2013-07-25 08:14:44 +0200 |
commit | 393ee7f3429965148dcc0e3ec77cba456e9762f8 (patch) | |
tree | 9aba2fb0b31f8b9b21323a6b20e4c5f26bbd366a /drivers/net | |
parent | 0f5141e9c57e96de11642a5baa7ffbb17aecc761 (diff) |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/calxedaxgmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/calxedaxgmac.c b/drivers/net/calxedaxgmac.c index e3553d68d86..803687a7eff 100644 --- a/drivers/net/calxedaxgmac.c +++ b/drivers/net/calxedaxgmac.c @@ -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 */ |