[ofw] [PATCH] Bump up CI and AL interface version numbers

Fab Tillier ftillier at windows.microsoft.com
Mon Aug 25 09:52:48 PDT 2008


>>> This patch bumps up the CI and AL interface version numbers
>>> to account for changes in structures used in those interfaces
>>> made in past revisions.
>>>
>>> These should be incremented anytime interface structures are
>>> changed so that driver updates work properly.
>
>  There's really no reason to change the interface versions except at a
> release.

Wrong - the versions should change any time the interface changes (not if there's new functionality added, but if there's a change to an existing interface.)  If you build something from the tree and try to update an existing install you can end up with systems in a perpetual crash/reboot cycle if the interface changed but the version didn't.  Move pointers around (like swapping the p_next and wr_id in the ib_send_wr_t structure) and you'll get a crash if both the client and provider of the interface don't agree on what the interface looks like.

-Fab



More information about the ofw mailing list