netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* e100-3.0.0_dev8 "Minneapolis Moline" release
@ 2003-06-18  2:48 Feldman, Scott
  2003-06-18 15:33 ` Jason Lunz
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Feldman, Scott @ 2003-06-18  2:48 UTC (permalink / raw)
  To: netdev, linux-net

[Someone once suggested e100 as the first nominee into the driver hall
of shame.  I'd like to revoke that nomination with this rewrite of
e100].

    DON'T USE THIS DRIVER ON A PRODUCTION SYSTEM!

http://sf.net/projects/e1000, download e100-3.0.0_dev8 (tar file or
kernel patches).

Your help in testing would be greatly appreciated.  There are many 8255x
devices supported by e100, so hopefully we'll get good coverage from the
community.

Also, any feedback on the code correctness, maintainability, credits,
etc. would help.  We're really motivated in getting this driver as
perfect as possible.  It's about 2200 lines, down from about 9000
before, so hopefully that helps.  :)

It does NAPI, ethtool (probably the most ethtool-compliant driver out
there), and MII ioctl.  The only module parameter is "debug", used to
set the initial message level.  All other driver settings must be done
via ethtool.

     DON'T USE THIS DRIVER ON A PRODUCTION SYSTEM!

Thanks to Jeff and Arjan for great feedback and encouragement.

-scott

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: e100-3.0.0_dev8 "Minneapolis Moline" release
@ 2003-06-18 16:39 Feldman, Scott
  0 siblings, 0 replies; 7+ messages in thread
From: Feldman, Scott @ 2003-06-18 16:39 UTC (permalink / raw)
  To: Jason Lunz, netdev

> Is the anonymous union in struct cb some kind of gcc3-only 
> thing? It doesn't compile for my debian woody gcc 2.95 unless 
> I name the union member.

I'm not sure, but it's easy enough to make it known to avoid the issue.
I'll do that.

-scott

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: e100-3.0.0_dev8 "Minneapolis Moline" release
@ 2003-06-18 16:52 Feldman, Scott
  0 siblings, 0 replies; 7+ messages in thread
From: Feldman, Scott @ 2003-06-18 16:52 UTC (permalink / raw)
  To: Jason Lunz, netdev

> It's running on my workstation with no problems. passes the 
> "ping -qf" load test.

Do you have any other tests you can through at it?

> ethtool output seems normal, but what's with the rx-mini and 
> rx-jumbo max settings in the -g output?

Good catch.  Needs this:

@@ -1848,8 +1848,12 @@ static int e100_ethtool(struct net_devic
        case ETHTOOL_GRINGPARAM:
                ecmd->ring.rx_max_pending = rfds->max;
                ecmd->ring.tx_max_pending = cbs->max;
+               ecmd->ring.rx_mini_max_pending = 0;
+               ecmd->ring.rx_jumbo_max_pending = 0;
                ecmd->ring.rx_pending = rfds->count;
                ecmd->ring.tx_pending = cbs->count;
+               ecmd->ring.rx_mini_pending = 0;
+               ecmd->ring.rx_jumbo_pending = 0;
                if(copy_to_user(useraddr, ecmd, sizeof(ecmd->ring)))
                        err = -EFAULT;
                break;

-scott

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-06-23 17:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-18  2:48 e100-3.0.0_dev8 "Minneapolis Moline" release Feldman, Scott
2003-06-18 15:33 ` Jason Lunz
2003-06-18 17:26   ` David S. Miller
2003-06-18 15:54 ` Jason Lunz
2003-06-23 17:45 ` Udo A. Steinberg
  -- strict thread matches above, loose matches on Subject: below --
2003-06-18 16:39 Feldman, Scott
2003-06-18 16:52 Feldman, Scott

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).