mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Willy Tarreau <willy@w.ods.org>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: greearb@candelatech.com, akpm@osdl.org, alan@redhat.com,
	jgarzik@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: PATCH: VLAN support for 3c59x/3c90x
Date: Sat, 31 Jul 2004 10:33:08 +0200	[thread overview]
Message-ID: <20040731083308.GA24496@alpha.home.local> (raw)
In-Reply-To: <E1BqkzY-0003mK-00@gondolin.me.apana.org.au>

Hi Herbert,

On Sat, Jul 31, 2004 at 01:57:04PM +1000, Herbert Xu wrote:
> Willy Tarreau <willy@w.ods.org> wrote:
> > no, because the driver has no change_mtu() function, so it uses the generic
> > one, eth_change_mtu(), which is bound to 1500.
> 
> What is preventing you from implementing a change_mtu() function?

well, now I see where you want to bring me :-)

So several reasons :
  - the change_mtu() function might be called at any time after driver
    initialization. I don't know at all if there are things to do to
    "lock" the hardware during such changes, as well as I don't know
    what parts of the code I will need to extract to change the hard
    MTU. The initial MTU is really different since it's used to
    initialize hardware registers. The generic change_mtu() function
    only plays with dev->mtu and not hardware since it never goes
    above standard size. I could try, but if it works I would offer
    no warranties for other hardware.

  - I really, really, really... lack time. I would do this during
    my few hours nighty sleep and I wouldn't want to use the resulting
    code :-)

  - many (all ?) other drivers already have an MTU parameter, and many
    of them don't have a problem with using generic change_mtu(). So why
    would this one in particular need such a change ? (and please don't
    tell me that *I* will have to do this for all others :-))

As previously said, I can take a few minutes to add the 'MODULE_PARM'
line, it's not much more than replying to this mail. At least it will
be a good start.

Cheers,
Willy


  reply	other threads:[~2004-07-31  8:41 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-28 12:42 Alan Cox
2004-07-28 21:33 ` Ben Greear
2004-07-28 22:15   ` Alan Cox
2004-07-28 22:30     ` Ben Greear
2004-07-29 17:19       ` Alan Cox
2004-07-28 21:36 ` Andrew Morton
2004-07-28 21:45   ` Ben Greear
2004-07-29  4:18     ` Willy Tarreau
2004-07-30  2:20       ` Herbert Xu
2004-07-30 12:10         ` Willy Tarreau
2004-07-31  3:57           ` Herbert Xu
2004-07-31  8:33             ` Willy Tarreau [this message]
     [not found]               ` <200407310846.i6V8k3qq006659@uai.com.br>
2004-07-31  8:57                 ` Willy Tarreau
2004-07-31  9:34               ` Jeff Garzik
2004-07-31 10:11                 ` Willy Tarreau
2004-07-31 14:12                   ` Matti Aarnio
2004-07-31 16:18                     ` Jeff Garzik
2004-07-31 17:13                       ` Ben Greear
2004-07-31 17:03                     ` Ben Greear
2004-07-31 17:05                       ` Willy Tarreau
2004-07-31 17:21                         ` Ben Greear
2004-07-31 20:16                           ` Lee Revell
2004-07-31 20:23                             ` Willy Tarreau
2004-07-31 20:25                             ` Alan Cox
2004-07-31 20:40                               ` Lee Revell
2004-08-06 12:30                     ` Willy Tarreau
2004-07-31 16:05                   ` Jeff Garzik
2004-07-31 16:12                     ` Willy Tarreau
2004-07-31 16:26                       ` Jeff Garzik
2004-07-31 21:06                         ` PATCH-2.4: MTU fix for tulip driver Willy Tarreau
2004-07-31  9:35               ` PATCH: VLAN support for 3c59x/3c90x Herbert Xu
2004-07-31 10:01                 ` Willy Tarreau

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=20040731083308.GA24496@alpha.home.local \
    --to=willy@w.ods.org \
    --cc=akpm@osdl.org \
    --cc=alan@redhat.com \
    --cc=greearb@candelatech.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=jgarzik@redhat.com \
    --cc=linux-kernel@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®