From owner-freebsd-net@freebsd.org Tue Aug 28 18:32:46 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 4EF0D1094B37 for ; Tue, 28 Aug 2018 18:32:46 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B79BC917CA for ; Tue, 28 Aug 2018 18:32:45 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by mail-pg1-x533.google.com with SMTP id v66-v6so1118896pgb.10 for ; Tue, 28 Aug 2018 11:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:openpgp:autocrypt:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=c40vpHuCDi4TrnXfH2BWjW+Vi7FHO4AN+1dAW5l6lr0=; b=ImoMpbdCLn8sFG+CoQz8Py4NwjwkfQN3KXRA6UUdwysPmFxDvkr/YUCyl4j4f5yc8g cleKBIw5UnrXzajtgxI6uoaJmV+XhEO68XT0TYJ8+J+Zc2a9G9Dp9jLOXypN2FPEMPVD j1NGTL7sSOnkIXmVolpJXmAikZwid9xbSPbZh/zTnLTRih6COIxfg1pR/08wC9NRSH16 jFBFBXwgEHsTeXlPkimS3/uVw0CFiWbxCC4qh1YiETYZ145E00MhytqA/rOLuxyZGRsq qQm5uVjscW0uT42/ASjb/6T82wsDRR45ygs2tNIDCgY0cxhfTdNF4/uD9A+a8/2uiQqq S7Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:openpgp :autocrypt:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=c40vpHuCDi4TrnXfH2BWjW+Vi7FHO4AN+1dAW5l6lr0=; b=qgboadfbKGuMdpNvcL5gHGvYC9ZKCVWqBS/UoNuOCDzcw7X2a/SdMvA+E536zWdoo5 97nZxj76UXBPv1GR3O8d5ezRCSg/tNAo9n8MbHK/7GC8z7sp0SuSi4hjSYNKxXRZukXa D99Zh/RiN1n7xKe5l4mBCZ5TjkIYmpE6Bf+R8ptefwmniqdySUjnbhSPgXcd2tJowjYO vMBjC/Od/nSCcW3T4mXc7gYuuT3O7PJ13L/pEs5cC5LyRAL4GTNp/66ITvDUiJtm3UCR Qi8WD+xXaw3xWZbSfXY55sKNO4dhf05MVVUDioV1r/5sGNsHv8Gn6jjGMGxdp0UDrIVL NgAg== X-Gm-Message-State: APzg51B5qSvcWlo6EvggFMmREkRR6K6EPiL9/2GcRV1wbCNXGWIEPvFm nScw864hRGRJkxMzoRbeyKNFym65 X-Google-Smtp-Source: ANB0VdaRjhXfuIBYDN1xKe1awbL9+F/Ja/9LAhrnjpCVm3dx7z8yWSp51Z7uJKnCo7RkyGRAL0ghnA== X-Received: by 2002:a62:89d8:: with SMTP id n85-v6mr2702359pfk.83.1535481164472; Tue, 28 Aug 2018 11:32:44 -0700 (PDT) Received: from [10.192.166.0] (stargate.chelsio.com. [12.32.117.8]) by smtp.googlemail.com with ESMTPSA id 3-v6sm4104906pfq.10.2018.08.28.11.32.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Aug 2018 11:32:43 -0700 (PDT) Sender: Navdeep Parhar Subject: Re: cxl nic not working after reboot To: Marius Halden Cc: freebsd-net@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> From: Navdeep Parhar Openpgp: preference=signencrypt Autocrypt: addr=np@FreeBSD.org; prefer-encrypt=mutual; keydata= xsDiBEosaGcRBACOXnXquGEW53BjpMt2jViod/TUf1xgjMekcbDxqOODPeX7eYfrwJ8G6BCN OpGjBmWDu/JcNj4Z+gmTilJ6WLZQ7ecFZfEeO91pt6ys0cyWh0xfO+/mT83D7W81S/kqrJBk QbBIdV6LumevdErHo272r8RcMELC4Ru87eRtX3hmEwCgnnGNJMpQFUfYTt5XE7nY0yQoeV8D /0OcWmJbEZWxX9O7AuliCe3zd2Dw0B4LB9SZ2Dis7+gpVd3xVgYnt5wRE9kM+ThgrMA/wqr8 07qmEG6bcfUsfwwGN9YUtNF3xAN07cXTs026sCIFNZK816PrThBzCgkwR7pDpkMzGWIBr8Wi XXy0eB+JlQ6UV4PEiXuZ5ulzP0b1A/9CZm3wJfrNC0r1gMyrfVedg4zwKU997bmPLGcYs+rW XDTI9CvMseOUYn4CoDZQCp/9zxuHK+VU7Y/w0c/hVE5ERACSn4SjN2unEDstK9njZBMHEPVk Ae/YvSG5cmc97SHlVE+eu/bbLKcvFb6rRLPOaVFQJMJA2VJEGWtYhvP7Zc0fTmF2ZGVlcCBQ YXJoYXIgPG5wQEZyZWVCU0Qub3JnPsJgBBMRAgAgBQJKLGhnAhsDBgsJCAcDAgQVAggDBBYC AwECHgECF4AACgkQyrIrk6yriBL0MQCfUJOiS2PbJFDeiav1ylcXXwfpggAAoJRoS7GDENGy M4BzjJ4b0ptZqTLRzsFNBEosaGcQCACFCWs47SL4DQA6bNDlVJu4w8wLf8uVOyatuGmdXX8Y /OTVQJgA3vS+ODNVJCxhKVlvhcn7bhBdGdWKS9K+lr8+eEvr4hf2bQpesoHC+uFgKyILkCBN L8raixbhysyq0pfZWWDJMyn+G42BG1yJJi+bykygdpYnbIVA8dYHmBibI8mkPKOHSohjXT1S RfGGn+l1w54OO4NlJhCXMkjTA/Z9Bt4XeaiR85uJi0UUfV8FGZHhgSvT+/P1xIvz+nytuehS P/QLXl13CtAG/nKVkAcZnsT/3NrJ4Z2r45k+c50Wrf210scAaBogrrV5eIHfNGgOANApN8+8 vj+aXO4pXRuXAAMFB/44ea8rd+P5N3OMrfuM8i91Qe1bJ+BIoroKPOr8jvCry0h3QpdfLKUN IgaqbS3JZeBJ8HHnWSGCF+o6H5gzRe1hvylPEclLPDCuPe7T746h9Mzejf2hNDJvOg+BuweD ZW4KhovVbdS+syJEvpGF4bO8qgHT2CKgruXSHbFetdQWbkM0rfMmTuo0GcR2BEVrPb/SPFv6 4ZZyAZzmnGO4vT1bzClnTzJixrDpH74M3vSEYegMB4KdbLYBi8Jx4QUKgVEhJHjJubKWX4et yU/uuehOC3xYrmr1UXvsom3U8r36Dvdo77Yr3dgDVXa7bolNx0TIhdWxZI+R4z9E75QY+/wg wkkEGBECAAkFAkosaGcCGwwACgkQyrIrk6yriBI+JQCfUxgyqGtzZvLh5Al7gsTmRc11PLwA niD3NfWGRcO2+9uxSSQqRH1ywC4n Message-ID: <72e8b5b8-631b-35b3-b378-804e69dd3250@FreeBSD.org> Date: Tue, 28 Aug 2018 11:32:42 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <1535480853.1508751.1489107768.35E0F6F1@webmail.messagingengine.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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 18:32:46 -0000 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? Regards, Navdeep