From: Rob Herring <robherring2@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 02/10] net: calxedaxgmac: enable rx cut-thru
Date: Wed, 12 Jun 2013 22:24:46 -0500 [thread overview]
Message-ID: <1371093894-16424-2-git-send-email-robherring2@gmail.com> (raw)
In-Reply-To: <1371093894-16424-1-git-send-email-robherring2@gmail.com>
From: Rob Herring <rob.herring@calxeda.com>
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>
---
v2: no change, resend
drivers/net/calxedaxgmac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/calxedaxgmac.c b/drivers/net/calxedaxgmac.c
index e3553d6..803687a 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 */
--
1.8.1.2
next prev parent reply other threads:[~2013-06-13 3:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-13 3:24 [U-Boot] [PATCH v2 01/10] ARM: move interrupt_init to before relocation Rob Herring
2013-06-13 3:24 ` Rob Herring [this message]
2013-06-13 3:24 ` [U-Boot] [PATCH v2 03/10] ARM: highbank: update config options Rob Herring
2013-06-13 3:24 ` [U-Boot] [PATCH v2 04/10] ARM: highbank: fix get_tbclk value to timer rate Rob Herring
2013-06-13 3:24 ` [U-Boot] [PATCH v2 05/10] ARM: highbank: set timer prescaler to 256 Rob Herring
2013-06-13 3:24 ` [U-Boot] [PATCH v2 06/10] ARM: highbank: avoid bss write in timer_init Rob Herring
2013-06-13 3:24 ` [U-Boot] [PATCH v2 07/10] ARM: highbank: enable reset on command timeout Rob Herring
2013-06-13 3:24 ` [U-Boot] [PATCH v2 08/10] ARM: highbank: setup peripherals based on power domain status Rob Herring
2013-06-13 3:24 ` [U-Boot] [PATCH v2 09/10] ARM: highbank: compile misc_init_r only if CONFIG_MISC_INIT_R Rob Herring
2013-06-13 3:24 ` [U-Boot] [PATCH v2 10/10] highbank: enable keyed autoboot stop Rob Herring
2013-07-25 8:52 ` [U-Boot] [PATCH v2 01/10] ARM: move interrupt_init to before relocation Albert ARIBAUD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1371093894-16424-2-git-send-email-robherring2@gmail.com \
--to=robherring2@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox