I've posted a webrev up at

http://cr.opensolaris.org/~gdamore/afe-mxfe/

This review has both of the afe and mxfe drivers.  I've updated the code 
quite bit.  It includes GLDv3 support, NDD security policy validation, 
zero copy DMA for both tx and rx, and fixes that came about from earlier 
reviews.

I'd love to get a detailed review of the code.  If you want to have a 
look at kernel driver code and help out, this is your chance.  These 
drivers have passed a very exhaustive NICDRV test suite, so I'm pretty 
confident in them at this point... these are far and away the best 
versions of afe and mxfe that have ever existed.  Those of you using my 
unbundled drivers from sol-enet, this putback would integrate them and 
make them better than ever before. :-)

I have had some review, but not an in-depth review of the code.

Note that I recommend reading both afe and mxfe side by side... for much 
of the drivers, the code is nearly identical.  The major differences are 
different PHY support (MII vs. NWay), different multicast hash filtering 
code, workarounds for chip errata, and somewhat different interrupt 
registers.  To answer the obvious question: the reason that these aren't 
integrated into a single driver is that the hardware is sufficiently 
different to make maintaining a single driver to support both kinds of 
hardware difficult.  This allows me to deal with specific chip 
idiosyncrasies in a cleaner way than if I had all the code integrated 
into a single tulip driver.

    -- Garrett

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to