tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: adding new descriptor format to the if_wm driver

Dear all,

The descriptors for the new version and the legacy version are pretty similar 
in functionality, however the bit formats are rather different. Of course the 
new descriptors bring in new features, however some of those are not needed if 
we want a driver implementation that functions similarly to the current one. 
Such features include splitting the header and the payload into separate 
buffers, for example. 

We should keep a single code base, since this is the only change between the 
old cards and the new cards.

To Saitoh, the URL for my code is:

The only files that one needs to graft into the kernel source to test the new 
descriptors are in sys/dev/pci/if_wm*. If you disable the WM_TIMESTAMPING flag, 
the timestamping dependencies are removed and you can test just the new 
descriptor code. So far I only have the header definitions for the descriptors, 
but I will let you know when I have running code.


On Jul 7, 2012, at 9:06 AM, SAITOH Masanobu <> 

> (2012/07/07 6:38), David Young wrote:
>> On Fri, Jul 06, 2012 at 08:44:41AM +0200, Ignatios Souvatzis wrote:
>>> Hi,
>>> On Thu, Jul 05, 2012 at 02:37:45PM -0700, Vlad Balan wrote:
>>>> The current if_wm driver uses an older descriptor format which is
>>>> referred in the newer documentation as a "legacy" format.
>>> Say, are there older chips currently supported by if_wm that don't
>>> understand the new descriptor format? If yes, we'd have to rename
>>> either the driver with the old format, or the new one, when 
>>> integrating....
>> I hope that we can share most of the code.
>> What do the new and old descriptors look like, Vlad?
>> Dave
> Vlad? How do I get your code on SourceForge? Could you show the URL
> or something?
> -- 
> -----------------------------------------------
>                SAITOH Masanobu (

Home | Main Index | Thread Index | Old Index