mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Francois Romieu <romieu@fr.zoreil.com>
To: David Miller <davem@davemloft.net>
Cc: jamagallon@ono.com, greg@kroah.com, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org, bonbons@linux-vserver.org,
	ivecera@redhat.com, Ben Hutchings <bhutchings@solarflare.com>,
	ishikawa <chiaki.ishikawa@ubin.jp>, Mark Lord <lkml@rtr.ca>,
	edward_hsu@realtek.com.tw
Subject: [PATCH 06/14] r8169: 8168b Tx performance tweak
Date: Fri, 10 Oct 2008 23:42:34 +0200	[thread overview]
Message-ID: <20081010214234.GF27195@electric-eye.fr.zoreil.com> (raw)
In-Reply-To: <20081010213638.GA25005@electric-eye.fr.zoreil.com>

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
---
 drivers/net/r8169.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 60d2ded..f929dba 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -2386,7 +2386,8 @@ static void rtl_ephy_init(void __iomem *ioaddr, struct ephy_info *e, int len)
 
 static void rtl_hw_start_8168bb(void __iomem *ioaddr, struct pci_dev *pdev)
 {
-	rtl_tx_performance_tweak(pdev, 0x5 << MAX_READ_REQUEST_SHIFT);
+	rtl_tx_performance_tweak(pdev,
+		(0x5 << MAX_READ_REQUEST_SHIFT) | PCI_EXP_DEVCTL_NOSNOOP_EN);
 }
 
 static void rtl_hw_start_8168bef(void __iomem *ioaddr, struct pci_dev *pdev)
-- 
1.5.3.3


  reply	other threads:[~2008-10-10 21:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-06  0:16 Update request for r8169 J.A. Magallón
2008-10-06  3:59 ` Greg KH
2008-10-06  7:12   ` Francois Romieu
2008-10-07 22:22     ` Francois Romieu
2008-10-09 19:00       ` Francois Romieu
2008-10-09 19:20         ` David Miller
2008-10-10 21:36           ` [PATCH 0/14] Pull request for 'r8169' branch Francois Romieu
2008-10-10 21:42             ` Francois Romieu [this message]
2008-10-10 21:45             ` David Miller

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=20081010214234.GF27195@electric-eye.fr.zoreil.com \
    --to=romieu@fr.zoreil.com \
    --cc=bhutchings@solarflare.com \
    --cc=bonbons@linux-vserver.org \
    --cc=chiaki.ishikawa@ubin.jp \
    --cc=davem@davemloft.net \
    --cc=edward_hsu@realtek.com.tw \
    --cc=greg@kroah.com \
    --cc=ivecera@redhat.com \
    --cc=jamagallon@ono.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@rtr.ca \
    --cc=netdev@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®