[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1y7l53pl8.fsf@ebiederm.dsl.xmission.com>
Date: Fri, 06 Apr 2007 20:06:43 -0600
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Ben Greear <greearb@...delatech.com>
Cc: Jeff Garzik <jgarzik@...ox.com>,
Andrew Morton <akpm@...ux-foundation.org>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
Daniel Lezcano <dlezcano@...ibm.com>,
Dmitry Mishin <dim@...nvz.org>,
Linux Containers <containers@...ts.osdl.org>
Subject: Re: [PATCH] net: Add etun driver
Ben Greear <greearb@...delatech.com> writes:
> Is there any way to tell for certain if an interface is a etun or not? Maybe
> a file could be found (or not) in sysfs somewhere?
Link for any decent network driver ethtool -i <interface>
> Also, how do you find the peer device from user-space? This would be very
> useful
> for anyone trying to manage these devices with a user-space program.
Currently "ethtool -S <interface>"
And read the partner_ifindex.
Further whoever generates the pair specifies the initial set of names.
> When you are creating new devices, I think you should check to make
> sure there isn't already a device with that name.
alloc_netdev doesn't let you register two devices with the same name,
and I check the return status of alloc_netdev.
> In general though, I look forward to this being in the kernel so I can drop
> my redirect device code from my out-of-tree patch.
Thanks.
Eric
-
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