Mark McLoughlin
2006-Jul-14 15:16 UTC
[Xen-devel] [PATCH] netfront: support ethtool''s get_link()
Hi, Attached is a very simple patch to support ethtool''s get_link() operation. This allows things like NetworkManager''s and anaconda''s carrier detection code to work with netfront. It seems sane to take the simple approach of reporting the link as active as soon as we''ve connected to the backend device. It''s irrelevant whether the physical device in dom0 has link, since there could well be someone else on the bridge responding. I haven''t looked at any of the other ethtool operations. Cheers, Mark. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark McLoughlin
2006-Jul-17 09:30 UTC
[Xen-devel] Re: [PATCH] netfront: support ethtool''s get_link()
Hi, I hadn''t spotted that netfront already supports some ethtool ops. That was just dumb; apologies. More correct patch attached. Thanks, Mark. On Fri, 2006-07-14 at 16:16 +0100, Mark McLoughlin wrote:> Hi, > Attached is a very simple patch to support ethtool''s get_link() > operation. This allows things like NetworkManager''s and anaconda''s > carrier detection code to work with netfront. > > It seems sane to take the simple approach of reporting the link as > active as soon as we''ve connected to the backend device. It''s irrelevant > whether the physical device in dom0 has link, since there could well be > someone else on the bridge responding._______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel