From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC6DFC433F5 for ; Mon, 20 Dec 2021 08:53:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238055AbhLTIx0 (ORCPT ); Mon, 20 Dec 2021 03:53:26 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:34582 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234623AbhLTIxX (ORCPT ); Mon, 20 Dec 2021 03:53:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=b+6xKrg6vSboIYypCIRjdq4sXhhRrZhMc1QRBVXRq5Y=; b=33iRf9eWVwIriO2ZeU2SMWQlO+ lK5qsdG/3ojD1CwSQk4BSoVFGO/p96bioJoYAl55qFAzF39zjklPadqdGqdIEopffQgswMcAYmyac kWUTXoDKu+jIoZR+KUxtEQySb9PhOSZNRTF1uhdB2f/Bi4hVQZGzvfdj7iK/RoluqtU4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1mzEQ4-00H1g2-J7; Mon, 20 Dec 2021 09:53:20 +0100 Date: Mon, 20 Dec 2021 09:53:20 +0100 From: Andrew Lunn To: Gabriel Hojda Cc: Martyn Welch , netdev Subject: Re: Issues with smsc95xx driver since a049a30fc27c Message-ID: References: <199eebbd6b97f52b9119c9fa4fd8504f8a34de18.camel@collabora.com> <36f765d8450ba08cb3f8aecab0cadd89@yo2urs.ro> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > # ip link set eth0 up > # ip link show eth0 > 2: eth0: mtu 1500 qdisc fq_codel state UP > mode DEFAULT group default qlen 1000 > link/ether ee:f1:a8:e7:0c:8f brd ff:ff:ff:ff:ff:ff > > ... now link is up with the same mac address > > # ifconfig eth0 > eth0: flags=4163 mtu 1500 > inet6 2a02:2f09:3d09:1b00:ecf1:a8ff:fee7:c8f prefixlen 64 scopeid > 0x0 > inet6 fe80::ecf1:a8ff:fee7:c8f prefixlen 64 scopeid 0x20 > inet6 fd00:cafe::c772:d58f:1061:4df3 prefixlen 64 scopeid > 0x0 > inet6 fd00:cafe::ecf1:a8ff:fee7:c8f prefixlen 64 scopeid > 0x0 > inet6 2a02:2f09:3d09:1b00:eef4:bb1d:f9d5:febc prefixlen 64 scopeid > 0x0 These make use of multicast. Router Advertisements are multicast, both at L2 and L3, by the router to the Internet. > # ping -6 -c 10 ipv6.l.google.com > PING ipv6.l.google.com(ipv6.l.google.com (2a00:1450:400d:806::200e)) 56 data > bytes > From odroid (2a02:2f09:3d09:1b00:eef4:bb1d:f9d5:febc) icmp_seq=1 Destination > unreachable: Address unreachable > ... > --- ipv6.l.google.com ping statistics --- > 10 packets transmitted, 0 received, +7 errors, 100% packet loss, time 9311ms ping uses unicast. > ... neither does it work for my local router, so network layer 3 does not > seem to work I think it is still pointing towards L2 unicast. > next, when i have time and if there's still no progress, i think i should > try to insert: > > ret = smsc95xx_reset(dev); > if (ret) > goto free_pdata; > > before > > ret = phy_connect_direct(dev->net, pdata->phydev, > &smsc95xx_handle_link_change, > PHY_INTERFACE_MODE_MII); > > in smsc95xx_bind() to try to emulate the old behavior for the first call to > start_phy(). Yes, that will be in interesting experiment. Something in smsc95xx_reset() is required. Andrew