From owner-freebsd-net@freebsd.org Tue Mar 24 22:48:49 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B59DE26D03F for ; Tue, 24 Mar 2020 22:48:49 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48n5y50Sb2z430G for ; Tue, 24 Mar 2020 22:48:28 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by mail-wm1-x332.google.com with SMTP id c81so410845wmd.4 for ; Tue, 24 Mar 2020 15:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=zaev03eGGrGmT7n653L1k36v+23UFXqrotDvhxOnsVQ=; b=pFpcyL1KUV1XCnPstf0FjWkJWbLZPQ/Sj7HtVkIcfTqxX4t2eEd8uNifG+PAUb3UPG FZMFHrzKlDVLMXrxrgsmnFEA1qDSv82yMPmhS/fkyF9LKjRtGud22ICe48cihdYP4Jj1 QWtz54Pj8GXdS+lyUEpwewysJ8jUYE0LU6ugl3P0JtM1/KMFRNOWEQI4hVGsYVqu26YW kbReYg2eId83AXJ3XY86ANSog50B9hWMP4vMxKYOH/2ALMYy7Elczc6ECubINT+kjYj+ KTzmaXxwy2WN+tVJToslJ1aL/ZCS/0UkPC0HTjrcP+yfGUDp+VmesOhzV5jRVs/fIF3W u1Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=zaev03eGGrGmT7n653L1k36v+23UFXqrotDvhxOnsVQ=; b=bKGput3rJAyfnnS8xvMHFfGfPjfxa7NZ5iwAUSxuWo79lX13IQQ3zKsYifvUvHLUM5 OthvqMA9XPSqgl4kXAt8QD15gg4ci6i0q9Lv+6LKupjkjDZkPnIQo2pPKYqRua7Sguza 08BYwF0gn8NL9ItniErYxZhBWRzQz1yZyTV3zaJ+f1HJp7eDknhmIWuGC2I/wyEPIQTY mvcZwQCQnXfydEfcSERsZF0Q9mOYM07R2RFfB1qO0B7nNFsTUqRrPDwtFHOAWfOz8IO2 DB6np+ArJ83gPe4YSYq7s1nl27+aAcO7EdCHGwie2rSnYeaipsi40D5nOCVJUWiFC499 UH8Q== X-Gm-Message-State: ANhLgQ32darCkqXmaxFlakUMAVqNVdOgORfeaHREX9/jhCcavVoH7ywC 7qzZlyfS0X2FhQlpA5eOJXUEvcuHyokrdw== X-Google-Smtp-Source: ADFU+vvgBqSAu/BSpqviDa4io9hqi9YBIyKYiowepZMsH+UiEY7E5bN8rLsoOu0Ux2lHQ2ZJlzw0Vg== X-Received: by 2002:a1c:9658:: with SMTP id y85mr293396wmd.63.1585090098389; Tue, 24 Mar 2020 15:48:18 -0700 (PDT) Received: from [10.44.128.75] ([193.117.175.106]) by smtp.gmail.com with ESMTPSA id m19sm6607875wml.48.2020.03.24.15.48.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Mar 2020 15:48:17 -0700 (PDT) Subject: Re: SFP+ on PRO/10GbE To: freebsd-net@freebsd.org References: <2A35EA60C3C77D438915767F458D6568B90935EC@ORSMSX111.amr.corp.intel.com> <88679204-4c23-7fce-681d-ab633b326fef@akhmatov.ru> <3265c7ca-656c-9269-c889-fe5499958232@akhmatov.ru> <0afabbfe-ffd8-43f6-aeb8-647712232a0c@www.fastmail.com> From: Steven Hartland Message-ID: Date: Tue, 24 Mar 2020 22:48:17 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <0afabbfe-ffd8-43f6-aeb8-647712232a0c@www.fastmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 48n5y50Sb2z430G X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=multiplay-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=pFpcyL1K; dmarc=pass (policy=none) header.from=multiplay.co.uk; spf=pass (mx1.freebsd.org: domain of killing@multiplay.co.uk designates 2a00:1450:4864:20::332 as permitted sender) smtp.mailfrom=killing@multiplay.co.uk X-Spamd-Result: default: False [-5.41 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[multiplay-co-uk.20150623.gappssmtp.com:s=20150623]; URIBL_BLOCKED(0.00)[gappssmtp.com.multi.uribl.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; DKIM_TRACE(0.00)[multiplay-co-uk.20150623.gappssmtp.com:+]; ZRD_FAIL(0.00)[query timed out]; RCVD_IN_DNSWL_NONE(0.00)[2.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[multiplay.co.uk,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.41)[ip: (-9.11), ipnet: 2a00:1450::/32(-2.38), asn: 15169(-0.48), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2020 22:48:49 -0000 Watch out for the fact some nics don't fully initialise until they are given an IP. On 24/03/2020 21:45, Dan Langille wrote: > On Tue, Mar 24, 2020, at 4:58 PM, Sergey Akhmatov wrote: >> On 2020-03-24 11:22 PM, Dan Langille wrote: >>> media: Ethernet autoselect (1000baseSX ) >>> status: active >>> supported media: >>> media autoselect >>> media 10Gbase-SR >>> nd6 options=23 >>> plugged: SFP/SFP+/SFP28 10G Base-SR (LC) >>> vendor: AVAGO PN: AFBR-703SDZ SN: AD0946A00YB DATE: 2009-11-10 >>> module temperature: 38.09 C Voltage: 3.33 Volts >>> RX: 0.31 mW (-4.95 dBm) TX: 0.56 mW (-2.48 dBm) >>> [dan@r720-01:~] $ >>> >>> That looks right to me, but I have never inspected this before. >> Not right actually. The supported media is "10Gbase-SR" which is correct >> for this type of SFP,  but autodetected is "1000baseSX" and it's not >> even listed as supported. >> >> That doesn't make sense to me, maybe try to set media type manually? >> >> # ifconfig ix0 media 10gbase-sr > See my recent post. ifconfig down/up fixed the NIC. > > Thank you for your help. It is appreciated. >