netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Michlmayr <tbm@cyrius.com>
To: Francois Romieu <romieu@fr.zoreil.com>
Cc: netdev@vger.kernel.org, Edward Hsu <edward_hsu@realtek.com.tw>,
	bunk@stusta.de
Subject: Re: [PATCH 12/21] r8169: confusion between hardware and IP header alignment
Date: Mon, 26 Nov 2007 09:36:13 +0100	[thread overview]
Message-ID: <20071126083613.GL20922@deprecation.cyrius.com> (raw)
In-Reply-To: <20071125230524.GC21363@electric-eye.fr.zoreil.com>

* Francois Romieu <romieu@fr.zoreil.com> [2007-11-26 00:05]:
> > I'd like to backport the fix to the 2.6.18 kernel that is in our
> > stable release and have a couple of questions:
> >  - Does your later patch "align the IP header when there is no DMA
> >    constraint" fix any bugs or is it merely an improvement?
> It fixes a "it was faster before" problem.

Before the patch I'm interested in backporting, right?  In that case,
the patch I suggested would fix a bug but also introduce a performance
regression.  So maybe the later patch should also be backported.  What
do you think?

> >  - Should I change "align" to 8 for RTL_CFG_1, as it's done in
> >    current kernels?
> No. RTL_CFG_1 is for the 8168 (slightly different beast).

Yes, but might 8168 users face similar problems as the one I saw?

> If you have 6dccd16b7c2703e8bbf8bca62b5cf248332afbe2 applied, you
> want c946b3047205d7e107be16885bbb42ab9f10350a too.
...
> If you move from the 8110SB to the 8110SC, you will probably want to apply
> 65d916d95314566f426cc40ff0f17b754a773b0b

I don't have 6dccd16b7c2703e8bbf8bca62b5cf248332afbe2 and it still
says 8110SB, so I won't need these patches for my device.  However,
these patches look like candidates to put into 2.6.18 anyway.  I'd
like to avoid backporting too many changes from 2.6.24 to 2.6.18, but
are there any fixes we should absolutely have?

> Btw, could you send me a dmesg from a recent kernel ? I'd like to keep a
> trace of the XID value for your device.

With 2.6.24-rc2-g8c086340-dirty:
r8169 Gigabit Ethernet driver 2.2LK loaded
eth0: RTL8169sb/8110sb at 0xe085c200, 00:14:fd:10:33:8e, XID 10000000 IRQ 27
r8169 Gigabit Ethernet driver 2.2LK loaded
eth1: RTL8169sb/8110sb at 0xe085e300, 00:14:fd:10:33:8f, XID 10000000 IRQ 30

-- 
Martin Michlmayr
http://www.cyrius.com/

  reply	other threads:[~2007-11-26  8:36 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-29 20:12 [PATCH 00/21] r8169: pull request for 'r8169-for-jeff-20070629' branch Francois Romieu
2007-06-29 20:13 ` [PATCH 01/21] r8169: use netdev_alloc_skb Francois Romieu
2007-06-29 20:17 ` [PATCH 02/21] r8169: de-obfuscate modulo arithmetic Francois Romieu
2007-06-29 20:17 ` [PATCH 03/21] r8169: kill eth_copy_and_sum() Francois Romieu
2007-06-29 20:18 ` [PATCH 04/21] r8169: Rx path update Francois Romieu
2007-06-29 20:23 ` [PATCH 05/21] r8169: add hooks for per-device hw_start handler Francois Romieu
2007-06-29 20:23 ` [PATCH 06/21] r8169: add helpers " Francois Romieu
2007-06-29 20:23 ` [PATCH 07/21] r8169: populate the hw_start handler for the 8168 Francois Romieu
2007-06-29 20:24 ` [PATCH 08/21] r8169: populate the hw_start handler for the 8110 Francois Romieu
2007-06-29 20:24 ` [PATCH 09/21] r8169: prettify mac_version Francois Romieu
2007-06-29 20:25 ` [PATCH 10/21] r8169: merge with version 6.001.00 of Realtek's r8169 driver Francois Romieu
2007-06-29 20:35   ` Arjan van de Ven
2007-06-29 20:49     ` Jeff Garzik
2007-06-30  9:41       ` Francois Romieu
2007-06-30  9:47         ` Jeff Garzik
2007-06-30 14:43           ` Arjan van de Ven
2007-06-29 20:25 ` [PATCH 11/21] r8169: merge with version 8.001.00 of Realtek's r8168 driver Francois Romieu
2007-06-29 20:25 ` [PATCH 12/21] r8169: confusion between hardware and IP header alignment Francois Romieu
2007-11-23  7:45   ` Martin Michlmayr
2007-11-25 23:05     ` Francois Romieu
2007-11-26  8:36       ` Martin Michlmayr [this message]
2007-11-26 22:42         ` Francois Romieu
2007-06-29 20:26 ` [PATCH 13/21] r8169: small 8101 comment Francois Romieu
2007-06-29 20:26 ` [PATCH 14/21] r8169: remove the media option Francois Romieu
2007-06-29 20:27 ` [PATCH 15/21] r8169: cleanup Francois Romieu
2007-06-29 20:27 ` [PATCH 16/21] r8169: add bit description for the TxPoll register Francois Romieu
2007-06-29 20:27 ` [PATCH 17/21] r8169: align the IP header when there is no DMA constraint Francois Romieu
2007-06-29 20:28 ` [PATCH 18/21] r8169: add endianess annotations to [RT]xDesc Francois Romieu
2007-06-29 20:28 ` [PATCH 19/21] r8169: display some extra debug information during startup Francois Romieu
2007-06-29 20:29 ` [PATCH 20/21] r8169: mac address change support Francois Romieu
2007-06-29 20:29 ` [PATCH 21/21] r8169: perform RX config change after mac filtering Francois Romieu
2007-06-29 20:48 ` [PATCH 00/21] r8169: pull request for 'r8169-for-jeff-20070629' branch Jeff Garzik

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=20071126083613.GL20922@deprecation.cyrius.com \
    --to=tbm@cyrius.com \
    --cc=bunk@stusta.de \
    --cc=edward_hsu@realtek.com.tw \
    --cc=netdev@vger.kernel.org \
    --cc=romieu@fr.zoreil.com \
    /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;
as well as URLs for NNTP newsgroup(s).