mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: Matheos.Worku@Sun.COM
Cc: jesper@krogh.cc, yhlu.kernel@gmail.com,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: NIU - Sun Neptune 10g - Transmit timed out reset (2.6.24)
Date: Fri, 30 May 2008 00:00:09 -0700 (PDT)	[thread overview]
Message-ID: <20080530.000009.02995266.davem@davemloft.net> (raw)
In-Reply-To: <483F46E5.9030707@sun.com>

From: Matheos Worku <Matheos.Worku@Sun.COM>
Date: Thu, 29 May 2008 17:14:29 -0700

> Actually what I am suggesting was a workaround for the lack of "TX Ring 
> Empty" interrupt by not relying on the TX interrupt at all.

Ahh I see.

Some of the things I talked about in my presentation here in
Berlin at LinuxTAG yesterday can help mitigate the effects.
Most of it revolves around batching, and allowing the driver
to manage the backlog of packets directly when the TX queue
fills up.

In such a case we could batch the TX queue refill, know how many more
TX packets we will queue up to the chip right now, and therefore know
that we can safely set periodic MARK bits and only need to force set
the MARK bit at the very end.

> As for the TX hang, I will try to reproduce the problem and look at
> the registers for the clue.

Thanks a lot.

  reply	other threads:[~2008-05-30  7:00 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07 18:23 Jesper Krogh
2008-05-07 18:30 ` Yinghai Lu
2008-05-07 21:15   ` David Miller
2008-05-09 18:32     ` Jesper Krogh
2008-05-09 21:32       ` David Miller
2008-05-09 21:59         ` Jesper Krogh
2008-05-09 22:07           ` David Miller
2008-05-09 22:13             ` Jesper Krogh
2008-05-09 22:09           ` Matheos Worku
2008-05-09 22:15             ` Jesper Krogh
2008-05-09 22:36               ` Matheos Worku
2008-05-09 22:43                 ` Matheos Worku
2008-05-09 22:46                   ` David Miller
2008-05-09 23:10                   ` Jesper Krogh
2008-05-09 23:21                     ` Matheos Worku
2008-05-09 22:45                 ` David Miller
2008-05-22 16:32                   ` Jesper Krogh
2008-05-22 17:15                     ` Ben Hutchings
2008-05-22 17:41                     ` David Miller
2008-05-22 18:14                       ` Ben Hutchings
2008-05-22 18:28                         ` David Miller
2008-06-01  7:25                       ` Andrey Panin
2008-06-01 16:01                         ` David Miller
2008-05-09 22:20           ` Rick Jones
2008-05-09 22:48             ` Jesper Krogh
2008-05-09 23:03               ` Rick Jones
2008-05-09 23:13                 ` Jesper Krogh
2008-05-09 23:33                   ` Rick Jones
2008-05-09 23:08               ` David Dillow
2008-05-10  6:22                 ` Jesper Krogh
2008-05-10 15:53                   ` Roland Dreier
2008-05-12  6:49                     ` Jesper Krogh
2008-05-10  2:20               ` Bill Fink
2008-05-10 11:01       ` Jesper Krogh
2008-05-11  4:34         ` David Miller
2008-05-11  5:44           ` Jesper Krogh
2008-05-11  6:08             ` David Miller
2008-05-11  9:47               ` Jesper Krogh
2008-05-12  6:52           ` Jesper Krogh
2008-05-26 19:03             ` Jesper Krogh
2008-05-26 19:33               ` David Miller
2008-05-26 19:39                 ` David Miller
2008-05-26 20:54                   ` Jesper Krogh
2008-05-26 22:15                     ` David Miller
2008-05-26 22:21                       ` Jesper Krogh
2008-05-26 22:30                         ` David Miller
2008-05-27  6:19                       ` Jesper Krogh
2008-05-28  1:18                         ` Matheos Worku
2008-05-29  5:34                           ` David Miller
2008-05-30  0:14                             ` Matheos Worku
2008-05-30  7:00                               ` David Miller [this message]
2008-06-16 18:09                                 ` Matheos Worku
2008-06-16 18:21                                   ` Jesper Krogh
2008-06-18  0:02                           ` 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=20080530.000009.02995266.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=Matheos.Worku@Sun.COM \
    --cc=jesper@krogh.cc \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=yhlu.kernel@gmail.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

all inboxes | Powered by JetHome®