Paul Durrant wrote: > Agreed, but you can still do that by the driver exporting a version > field in a statically defined structure. The framework just parses the > versioned structure and copies relevant fields into the mac_impl_t. No > need for the extra function calls.
There is certainly more than one way to build this particular shed. There are advantages and disadvantages to both methods. My opinion is that allowing incremental additions without having to bump the version number is worth a couple of function calls in the driver. The framework does not necessitate added complexity of supporting multiple versioned structures for backward compatible changes. In the current implementation, only incompatible changes need to be handled via versioned structures. -Seb _______________________________________________ networking-discuss mailing list [email protected]
