[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140915135508.5b346e22@urahara>
Date: Mon, 15 Sep 2014 13:55:08 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Sebastian Moeller <moeller0@....de>
Cc: Cong Wang <cwang@...pensource.com>, netdev <netdev@...r.kernel.org>
Subject: Re: how to figure out which device a given IFB is connected to
On Mon, 15 Sep 2014 21:06:31 +0200
Sebastian Moeller <moeller0@....de> wrote:
> Hi Mr. Wang,
>
> Thank you for your help.
>
> On Sep 15, 2014, at 18:08 , Cong Wang <cwang@...pensource.com> wrote:
>
> > On Mon, Sep 15, 2014 at 7:37 AM, Sebastian Moeller <moeller0@....de> wrote:
> >> I am looking for a way of doing the reverse,i.e. figuring out for a given IFB if it is “connected” to a real interface and, if yes, which interface. Basically, I want to recycle unused IFBs, but want to make sure that they really are unused…
> >>
> >
> > There is no way to figure that out.
>
> That is rather unfortunate, so my only recourse is to get a list of all interfaces and query each whether it is attached to an fib and prune a list of IFBs so that only the unused ones remain (which is far from elegant ;) ).
It can be a many to one mapping.
There are cases where you want multiple incoming devices to all be QoS'd together.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists