Dave,
Refer to my comments:
any device that ends up having to do that is a hack in my opinion;->
The dev_id maybe useful for other things. the qeth driver needs fixing
so it can stack the per-os instance interfaces.
cheers,
jamal
On Mon, 2005-01-17 at 16:42, David S. Miller wrote:
> On Sun, 16 Jan 2005 12:54:31 +0100
> Christoph Hellwig <hch@xxxxxx> wrote:
>
> > Let's try again solvign the EUI64 generation for S/390. I looked over
> > the IBM patch and I think it can be done a lot simpler:
> >
> > - put a dev_id field in struct net_device, so that it uses space that
> > would be wasted by padding otherwise.
> > - if this fields is non-null let ipv6_generate_eui64 use the algorithm
> > from the QETH code to generate an EUI that's different for each
> > OS instance. See code comments for details.
>
> I'll apply this patch.
>
> It might be nice to genericize that huge comment. This will likely
> be not the last time we see devices which have this characteristic.
>
>
|