* Re: Request for an ARPHRD_
[not found] ` <200510241807.23290.ak@suse.de>
@ 2005-10-24 21:33 ` Daniele Orlandi
2005-10-24 21:51 ` Lennert Buytenhek
2005-10-24 22:24 ` Andi Kleen
0 siblings, 2 replies; 6+ messages in thread
From: Daniele Orlandi @ 2005-10-24 21:33 UTC (permalink / raw)
To: netdev; +Cc: netdev
On Monday 24 October 2005 18:07, Andi Kleen wrote:
>
> ETH_P_* is managed by the IEEE (part of the ethernet standard) You would
> need to ask them.
I need a pseudo protocol like it is already done for some internal protocol,
e.g.:
/*
* Non DIX types. Won't clash for 1500 types.
*/
[.....]
#define ETH_P_WAN_PPP 0x0007 /* Dummy type for WAN PPP frames*/
#define ETH_P_PPP_MP 0x0008 /* Dummy type for PPP MP frames */
#define ETH_P_LOCALTALK 0x0009 /* Localtalk pseudo type */
#define ETH_P_PPPTALK 0x0010 /* Dummy type for Atalk over PPP*/
[....]
> Normally Linux doesn't pre-allocate ABIs for out of tree code, mostly
> because it is not guaranteed that the interface won't change there.
Could you clarify? What interface do you fear that could change?
My main concern is that without an ARPHRD_ constant guaranteed to be unique I
wouldn't be able to propose a patch for libpcap people to map the (already
allocated) DLT_ to the correct ARPHRD_.
Bye,
--
Daniele Orlandi
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Request for an ARPHRD_
2005-10-24 21:33 ` Request for an ARPHRD_ Daniele Orlandi
@ 2005-10-24 21:51 ` Lennert Buytenhek
2005-10-24 22:08 ` Daniele Orlandi
2005-10-24 22:24 ` Andi Kleen
1 sibling, 1 reply; 6+ messages in thread
From: Lennert Buytenhek @ 2005-10-24 21:51 UTC (permalink / raw)
To: Daniele Orlandi; +Cc: netdev, netdev
On Mon, Oct 24, 2005 at 11:33:04PM +0200, Daniele Orlandi wrote:
> My main concern is that without an ARPHRD_ constant guaranteed to be
> unique I wouldn't be able to propose a patch for libpcap people to map
> the (already allocated) DLT_ to the correct ARPHRD_.
First get your code in the kernel, then submit the patch to libpcap.
--L
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Request for an ARPHRD_
2005-10-24 21:51 ` Lennert Buytenhek
@ 2005-10-24 22:08 ` Daniele Orlandi
2005-10-24 22:22 ` Lennert Buytenhek
0 siblings, 1 reply; 6+ messages in thread
From: Daniele Orlandi @ 2005-10-24 22:08 UTC (permalink / raw)
To: netdev; +Cc: netdev
On Monday 24 October 2005 23:51, Lennert Buytenhek wrote:
>
> First get your code in the kernel, then submit the patch to libpcap.
Hopefully I will but currently vISDN is not mature enough to be evaluated for
kernel inclusion.
I would like to keep it out of the tree while it matures, however I would also
like to avoid potential constants clashes with outher/future code.
You may see the constants allocation as the first step to include that code in
the kernel.
Bye,
--
Daniele Orlandi
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Request for an ARPHRD_
2005-10-24 22:08 ` Daniele Orlandi
@ 2005-10-24 22:22 ` Lennert Buytenhek
2005-10-24 22:58 ` Daniele Orlandi
0 siblings, 1 reply; 6+ messages in thread
From: Lennert Buytenhek @ 2005-10-24 22:22 UTC (permalink / raw)
To: Daniele Orlandi; +Cc: netdev, netdev
On Tue, Oct 25, 2005 at 12:08:09AM +0200, Daniele Orlandi wrote:
> > First get your code in the kernel, then submit the patch to libpcap.
>
> Hopefully I will but currently vISDN is not mature enough to be
> evaluated for kernel inclusion.
>
> I would like to keep it out of the tree while it matures, however I
> would also like to avoid potential constants clashes with outher/future
> code.
>
> You may see the constants allocation as the first step to include that
> code in the kernel.
Your code might never end up in the kernel at all, for example if you
ever lose interest in it. The situation that we'd like to avoid is
ending up with reserved constants for code that was never submitted
upstream at all.
cheers,
Lennert
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Request for an ARPHRD_
2005-10-24 22:22 ` Lennert Buytenhek
@ 2005-10-24 22:58 ` Daniele Orlandi
0 siblings, 0 replies; 6+ messages in thread
From: Daniele Orlandi @ 2005-10-24 22:58 UTC (permalink / raw)
To: netdev; +Cc: netdev
On Tuesday 25 October 2005 00:22, Lennert Buytenhek wrote:
>
> Your code might never end up in the kernel at all, for example if you
> ever lose interest in it. The situation that we'd like to avoid is
> ending up with reserved constants for code that was never submitted
> upstream at all.
Okay, I see your point.
IMHO I'd have preferred a more open politic like libpcap's. There may be valid
reasons to keep code out of the tree and this makes maintenance even harder
to perform than it already is.
Thanks anyway,
Bye,
--
Daniele Orlandi
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Request for an ARPHRD_
2005-10-24 21:33 ` Request for an ARPHRD_ Daniele Orlandi
2005-10-24 21:51 ` Lennert Buytenhek
@ 2005-10-24 22:24 ` Andi Kleen
1 sibling, 0 replies; 6+ messages in thread
From: Andi Kleen @ 2005-10-24 22:24 UTC (permalink / raw)
To: Daniele Orlandi; +Cc: netdev, netdev
On Monday 24 October 2005 23:33, Daniele Orlandi wrote:
>
> > Normally Linux doesn't pre-allocate ABIs for out of tree code, mostly
> > because it is not guaranteed that the interface won't change there.
>
> Could you clarify? What interface do you fear that could change?
Any interface implemented by your out of tree code for which you're
requesting to reserve constants.
-Andi
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-10-24 22:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200510240255.28416.daniele@orlandi.com>
[not found] ` <200510241807.23290.ak@suse.de>
2005-10-24 21:33 ` Request for an ARPHRD_ Daniele Orlandi
2005-10-24 21:51 ` Lennert Buytenhek
2005-10-24 22:08 ` Daniele Orlandi
2005-10-24 22:22 ` Lennert Buytenhek
2005-10-24 22:58 ` Daniele Orlandi
2005-10-24 22:24 ` Andi Kleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).