All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: "'netdev@oss.sgi.com'" <netdev@oss.sgi.com>
Subject: Re: 2.4.21: bug report for tg3:  tx lockup when changing MTU
Date: Fri, 01 Aug 2003 17:24:00 -0700	[thread overview]
Message-ID: <3F2B04A0.9030101@candelatech.com> (raw)
In-Reply-To: <3F2AFE7A.10203@pobox.com>

Jeff Garzik wrote:
> Ben Greear wrote:
> 
>> I just noticed that if you change the MTU of a tg3 NIC, it will not work
>> untill you ifdown/ifup it.  This problem is repeatable on tg3, and 
>> does not
>> happen with the e1000 driver/cards.
>>
>> I am setting the MTU via an ioctl call, not via ifconfig or something 
>> like
>> that.
> 
> 
> 
> Can you provide the ioctl call info, so I can reproduce?
> 
> And, are you changing MTU when the interface is up or down?

Interface is up and transmitting/receiving pkts at the time.

I just reproduced it with commands below.  It is probably a race,
so not sure that either of these will always fail.  Running about
10kpps rx+tx.  Was sending pktgen (UDP) traffic of fixed length, so the actual
transmitted packet sizes remains the same in this case.

# MTU is at 1500
ifconfig eth5 mtu 4096  #worked
ifconfig eth5 mtu 4000  # failed.





-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

  reply	other threads:[~2003-08-02  0:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-01 22:54 2.4.21: bug report for tg3: tx lockup when changing MTU Ben Greear
2003-08-01 23:57 ` Jeff Garzik
2003-08-02  0:24   ` Ben Greear [this message]
2003-08-02  9:44 ` Sascha Schumann
2003-08-03  3:48   ` Ben Greear

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=3F2B04A0.9030101@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=jgarzik@pobox.com \
    --cc=netdev@oss.sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.