netdev
[Top] [All Lists]

Re: routable interfaces WAS( Re: [PATCH] hashed device lookup (DoesNOT

To: Gleb Natapov <gleb@xxxxxxxxxxx>
Subject: Re: routable interfaces WAS( Re: [PATCH] hashed device lookup (DoesNOT meet Linus' sumission policy!)
From: jamal <hadi@xxxxxxxxxx>
Date: Sun, 7 Jan 2001 14:05:43 -0500 (EST)
Cc: Ben Greear <greearb@xxxxxxxxxxxxxxx>, Chris Wedgwood <cw@xxxxxxxx>, linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>, "netdev@xxxxxxxxxxx" <netdev@xxxxxxxxxxx>
In-reply-to: <20010107205113.H28257@xxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx

On Sun, 7 Jan 2001, Gleb Natapov wrote:

> And what about bonding device? What major number should they use?

Would that include several ifindeces?
use standards. 802.3ad(?). Didnt Intel release some code on this or
are they still playing the big bad corporation? Normaly standards will
take care of things like MIBs etc.

> Ifindexes not reusable so in your scheme we should have separate minor
> counter for each major interface, what for?

Still each "interface" has its own ifindex, so counters will be
per-interface.
Here's what i mean:

netdevice (major part of ifindex, proto unaware link layer)
        |
        |
        --> protocol level (IPV4, V6 etc)
             | ..........|
             |           |--> interface 2^16
             |
              -->interface 1

The interface could be looked as something on top of a device (struct
ifa) and is distinguishable on the device by its minor number. EG
ifindex 1002 is eth0:2.
I could write a whole lengthy RFC if it is of interest and we could
use that as a starting point for discussion.
Note, i dont think this would affect the core code other than the setup
part.

cheers,
jamal



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