lkml.org 
[lkml]   [2001]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From


    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


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:52    [W:8.649 / U:0.684 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site