From owner-freebsd-net@FreeBSD.ORG Thu Jun 17 18:29:37 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E9581065674; Thu, 17 Jun 2010 18:29:37 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id A29448FC16; Thu, 17 Jun 2010 18:29:36 +0000 (UTC) Received: by vws20 with SMTP id 20so10280777vws.13 for ; Thu, 17 Jun 2010 11:29:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=ftisyFkb/y7fiSe8f6IMgmM8CpB4CZjBBXahV7PHQwY=; b=BzP6+sUx3ykM/R13rGUxLH1k3R1BLV+58YFtjRFqemE5FrCiF81dy61N+9cDvpP6vZ qXkJ8UvIL/P7VUXKJmWMr4+nTG3GKL8uKWU6sD7R63Et6Hvl9zjG2E3a0ixZwmnprYSH Io/20ffdDGQ2/gzSg8f8N3xEItdjgLjTZRByw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XCgjdI0lQ7CZpab0cbMwQrtOdVpJnYaxV06KLQZW6jvtMKfgn15n5UNdaLvNq/a+jv XIIYgZsRvZZco/sQw0Dvx+gLQBDSDRED0fILgJEtgMoBRovuhO93O7IjwqQGZW/HLMlC mCAWVUBDXT+xHIyP0JszcGofCa04gI3O/Ni/I= MIME-Version: 1.0 Received: by 10.224.78.155 with SMTP id l27mr4238657qak.124.1276799374606; Thu, 17 Jun 2010 11:29:34 -0700 (PDT) Received: by 10.229.246.65 with HTTP; Thu, 17 Jun 2010 11:29:34 -0700 (PDT) In-Reply-To: References: <82D310BD-48DE-4F79-84C6-356AB4F04C42@averesystems.com> Date: Thu, 17 Jun 2010 11:29:34 -0700 Message-ID: From: Jack Vogel To: Alexander Sack Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Juli Mallett , freebsd-net@freebsd.org, Andrew Boyer Subject: Re: Dual-rate transceivers with ixgbe? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2010 18:29:37 -0000 I have been working on this this morning, and I have a way of doing the same thing you do with ethtool on Linux, I should have something in HEAD shortly. This will let you "force" the advertisement of the link to 1G only. Jack On Thu, Jun 17, 2010 at 3:16 AM, Alexander Sack wrote: > On Wed, Jun 16, 2010 at 8:14 PM, Jack Vogel wrote: > > You cannot force the link speed, but my validation engineer just checked > the > > current driver and it links down to 1G just fine, but you cannot do it > > manually, > > it is only negotiated. > > > > I am going to look at the code to add the manual control. > > Thanks Jack! The problem is that right now the card is connected to a > passive tap and there is no AN. When I do ifconfig ix0 down && > ifconfig ix0 up, the multispeed fiber logic goes into action but a > link never happens (it does for 10G but there is no AN on 10G so this > is expected). (I tried various settings for LMS bits in AUTOC but I > could not get a link - the datasheet is very vague - actually come to > think of it, I dont think I tried setting it to 0 which is 1G which > maybe the trick) > > -aps >