From owner-freebsd-net@FreeBSD.ORG Thu May 16 11:11:47 2013 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EA02A2C7 for ; Thu, 16 May 2013 11:11:47 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from ost.citrin.ru (ost.citrin.ru [193.169.234.215]) by mx1.freebsd.org (Postfix) with ESMTP id ABAC7EC7 for ; Thu, 16 May 2013 11:11:47 +0000 (UTC) Received: from citrin.office.vega.ru (citrin.office.vega.ru [10.100.124.49]) (Authenticated sender: citrin@citrin.ru) by ost.citrin.ru (Postfix) with ESMTPSA id 3C089CEA5FB for ; Thu, 16 May 2013 11:11:45 +0000 (UTC) Message-ID: <5194BEF0.5090809@citrin.ru> Date: Thu, 16 May 2013 15:11:44 +0400 From: Anton Yuzhaninov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130409 Thunderbird/17.0.5 MIME-Version: 1.0 To: net@freebsd.org Subject: ifconfig media for ixgbe Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 16 May 2013 11:11:48 -0000 I'm testing Intel 82599EB network adapter. Sometimes link is lost. 1. /usr/src/sys/dev/ixgbe/README said When 82599-based SFP+ devices are connected back to back, they should be set to the same Speed setting via Ethtool. Results may vary if you mix speed settings. But manual speed settings for ixgbe don't work under FreeBSD: # ifconfig -m ix0 ix0: flags=8843 metric 0 mtu 1500 options=407bb capabilities=1507bb ... skipped ... media: Ethernet autoselect (10Gbase-SR ) status: active supported media: media autoselect media 10Gbase-SR # ifconfig ix0 media 10Gbase-SR ifconfig: SIOCSIFMEDIA (media): Invalid argument And as I can see it is limited in driver: http://bxr.su/FreeBSD/sys/dev/ixgbe/ixgbe.c#1697 README file is outdated? 2. Link sometimes (but no always) lost aster starting /usr/src/tools/tools/netmap/pkt-gen Sometime link restorted after aboring pkt-gen, sometimes only after power off/on (ifconfig down/up don't help). Is this netmap related issue?