[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150924125009.GA890@gospo.rdu.cumulusnetworks.com>
Date: Thu, 24 Sep 2015 08:50:10 -0400
From: Andy Gospodarek <gospo@...ulusnetworks.com>
To: Naveen <dear.chap@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: Fwd: Delivery Status Notification (Failure)
On Thu, Sep 24, 2015 at 08:03:39AM -0400, Naveen wrote:
> Hi
> Right now the only way to detect if an interface has a peer(veth)
> is touse ethtool -S. Instead I was thinking of adding it to device
> attributes as a peer_ifndex entry. In drivers/net/veth.c I could add
> an entry to
> dev->groups for a veth specific group. Would that be acceptable ?
>
I've had similar discussions with others who agree with you that the
current method is not ideal -- especially when there are a large number
of namespaces in in use on a system. One such proposal was to have the
output in ip link show (possibly only with the '-d' option), but no test
patches have been written yet....
--
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