From owner-freebsd-net@freebsd.org Tue Aug 28 19:30:39 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7563A10962AB for ; Tue, 28 Aug 2018 19:30:39 +0000 (UTC) (envelope-from marius.h@lden.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1C29C9381D; Tue, 28 Aug 2018 19:30:39 +0000 (UTC) (envelope-from marius.h@lden.org) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id D1B6921A29; Tue, 28 Aug 2018 15:30:38 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute7.internal (MEProxy); Tue, 28 Aug 2018 15:30:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lden.org; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=Vd0qFDH9lREIr1nSycgRfLgG3EvGm seU2l0678KdwY4=; b=erPFcGK7gl4S25HOGhbbS/zTyElqLjaE8pyJk85VZfKm+ he2HB6zLHVYKrDKjGDR98E1ox+yG+q084kP/0tF/RuXj+nRCO00e5ro1wq2CP/xj WR6uTVR/rq/wXQ1781HyrGTW0p20yXAl71fGM7VRKxnDLYPmuFSbfydu8wlOLdkG WYma8fYDUZdV/mEWLlHYXvhij59qSpKlWlckpFKX02FJlLdxsEczUP4ygbYyIW/e 0VsbID7p7Mjeksa3LxuVCLinNQU42Ar3DgNONWpTRTQw8eIUGKyGOtGi4mwMDp7C khuibWZ9V9eCwEHLP8YLEaqzw/+PNi0Z9kidT6aVQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Vd0qFD H9lREIr1nSycgRfLgG3EvGmseU2l0678KdwY4=; b=AiYdb3zgdT73ZcVCEy75QU wyxTO6g0SedITKqg0V5Ee2zSo/kaDpIv4uq/Aj/dcja9dHbEuK2FP+YE35WA+5bK mdaUtnKss2Nq5bMoMgjRD+081lM+EZcP3hxvrQxkkb8D1n1Irvwmbs7MGIA7QQxL /S6R7WadCcY3aD+q/lxju9iIvNL43ZS03qbf9vPEmqqVmKcJT4G6AJ7iPscofmXZ kmna4hsE/csLdsC1AlCuRjfWwfzhOtJYw8koEy+UFBUcv+gU4SQAhTIcroSSQ79A Jre9e8e3uo0raXKcaDBPD6YEqE4mnC66iePmzuxdl+KmF/lQtJaJ05or7dbucMmg == X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 2C3B89E48A; Tue, 28 Aug 2018 15:30:38 -0400 (EDT) Message-Id: <1535484638.1530345.1489178328.3374515B@webmail.messagingengine.com> From: Marius Halden To: Navdeep Parhar Cc: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-7b72137a In-Reply-To: <72e8b5b8-631b-35b3-b378-804e69dd3250@FreeBSD.org> References: <1535379569.2132387.1487489784.45227861@webmail.messagingengine.com> <20180827151302.GA10167@ox> <1535395530.234212.1487804896.64257978@webmail.messagingengine.com> <1535448912.3229649.1488521184.1EE83C33@webmail.messagingengine.com> <3bdfa15a-1b9f-e8cd-00a5-f5fdaaa5d15e@FreeBSD.org> <1535480853.1508751.1489107768.35E0F6F1@webmail.messagingengine.com> <72e8b5b8-631b-35b3-b378-804e69dd3250@FreeBSD.org> Date: Tue, 28 Aug 2018 21:30:38 +0200 Subject: Re: cxl nic not working after reboot X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 28 Aug 2018 19:30:39 -0000 On Tue, Aug 28, 2018, at 20:32, Navdeep Parhar wrote: > On 8/28/18 11:27 AM, Marius Halden wrote: > > On Tue, Aug 28, 2018, at 20:06, Navdeep Parhar wrote: > >> On 8/28/18 2:35 AM, Marius Halden wrote: > >>> ... > >>> media: Ethernet 1000baseSX > >>> status: active > >>> supported media: > >>> media 1000baseSX mediaopt full-duplex,rxpause,txpause > >>> media 1000baseSX mediaopt full-duplex,rxpause > >>> media 1000baseSX mediaopt full-duplex,txpause > >>> media 1000baseSX mediaopt full-duplex > >>> plugged: SFP/SFP+/SFP28 1000BASE-LX (LC) > >> > >> This shows that the SFP+ is recognized properly and the link is up > >> (active). Can you please provide the outputs of ifconfig and sysctl > >> from when the system is in the problem state, when the link doesn't come up? > > > > This is from when it's in the problem state. According to ifconfig there is link and everything looks fine to me, but it doesn't seem to pass any traffic through the interface at all. > > > > Try passing some network traffic through the interface and look at > before/after state of the MAC counters in sysctl dev.cxl.0.stats. Do > you see the tx_frames/rx_frames counter move at all? tx_frames does move, rx_frames is stuck at zero. The following counters are non-zero and does increase when traffic is sent through the interface, all other are stuck at zero: dev.cxl.0.stats.tx_frames_65_127: 26083 dev.cxl.0.stats.tx_frames_64: 4084 dev.cxl.0.stats.tx_mcast_frames: 26083 dev.cxl.0.stats.tx_bcast_frames: 4084 dev.cxl.0.stats.tx_frames: 30167 dev.cxl.0.stats.tx_octets: 2608846 Anything else I should look at? -- Marius Halden