netdev
[Top] [All Lists]

Re: iproute2 and kernel headers

To: hadi@xxxxxxxxxx
Subject: Re: iproute2 and kernel headers
From: Mariusz Mazur <mmazur@xxxxxxxxx>
Date: Sun, 8 Aug 2004 11:38:08 +0200
Cc: Stephen Hemminger <shemminger@xxxxxxxx>, jt@xxxxxxxxxx, jt@xxxxxxxxxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <1091847950.1800.6.camel@jzny.localdomain>
References: <20040805005019.GA11538@bougret.hpl.hp.com> <20040806093920.045b379e@dell_ss3.pdx.osdl.net> <1091847950.1800.6.camel@jzny.localdomain>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.6.2
On sobota 07 sierpień 2004 16:04, jamal wrote:
> > >   By the way, one of the consequence of versioning the API is
> > > that I tend to do most API changes in batches. The idea is that I want
> > > to minimise the number of API versions, because I have to test the
> > > tools and drivers with each of them, and I have finite time.
>
> There should really be no reason you have to change versions. It should
> be the last resort. You can use tricks like data structure augmentation
> and and new TLV types to go for a long time and still be backward (as
> well as forward) compatible. When you are no longer capable of doing
> these tricks, then it would make sense upping the version.
> There also should be rules for evolution reasons against having data
> structures which cross kernel/userspace from having things like
> lookatme[0] elements.

If I understand correctly how the new linux-abi headers are supposed to work - 
this is the way to go (meaning - new versions of linux-abi should not break 
old stuff if they don't have to).


-- 
In the year eighty five ten
God is gonna shake his mighty head
He'll either say,
"I'm pleased where man has been"
Or tear it down, and start again

<Prev in Thread] Current Thread [Next in Thread>