From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 13 20:47:03 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60F61106564A; Mon, 13 Aug 2012 20:47:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 06C418FC15; Mon, 13 Aug 2012 20:47:02 +0000 (UTC) Received: by ghrr13 with SMTP id r13so4217368ghr.13 for ; Mon, 13 Aug 2012 13:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=tDidtfkjjIdH38UjNl+SQ2iFRg2J8XATW0PRtpJYTK4=; b=nCbvHv63a9ERrNOv1aFUzzS9qteBSu/jOO0FYkT1GrVKRrlRzRH+CMAibMKKkZY+7r uKTGzNMFAYNYBNWRsoh4rTjdlpfTtT+7dOZhNl0fjC0H3kzpWYarSS6B74ZJ0Y0vZiRU OoAz31hxs9j/ASgwEVSaDcw1LqOaFdfjy+M3FhepzZhynet+g9qa8BDEuEmXHBJDZjSO FMgveNMZAwMI9gjvg75zSRrnQEz0i4ms3dMzCg6YHUfgVUdqvSe42charoiQ/TAoEo8r Zp/a/151CBPBsnYO4OqyXs0EQrdPeR6WnWnTV7libG23kZG4nOhqPU875jkjbVOjPdGB X9sg== MIME-Version: 1.0 Received: by 10.68.222.103 with SMTP id ql7mr34529246pbc.48.1344890821778; Mon, 13 Aug 2012 13:47:01 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.43.169 with HTTP; Mon, 13 Aug 2012 13:47:01 -0700 (PDT) In-Reply-To: References: Date: Mon, 13 Aug 2012 13:47:01 -0700 X-Google-Sender-Auth: cmDvJRYFgLTH9vY-43m-8hnLYnw Message-ID: From: Adrian Chadd To: David Duchscher Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Marius Strobl , hackers@freebsd.org Subject: Re: Disabling ethernet link on an Intel nic? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 20:47:03 -0000 Hi, On 11 August 2012 06:35, David Duchscher wrote: > Greetings, > > I have a need to turn off the link of an ethernet port on a Intel nic. T= he issue is not a big deal but one we would like to solve. we have no way = of signaling an upstream router that a path is down but via turning off the= link of the ethernet port. This would only be used when something goes wr= ong. The hope is that we could automate some problems and handle other situ= ations remotely avoiding having to visit the system in person. > > Any thoughts? We can modify the system so if it means modifying the driv= er or some other code, I am willing to try. Just need a little direction. Marius talked about doing this. Maybe it's time we added it as a device option, so people can have the PHY disabled when the NIC is brought down? Adrian