Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3945500pxf; Tue, 6 Apr 2021 04:28:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/lQadtl/IpFIB2fNOm222BvhMjNZAM9b6ZkBR6WiMmHKX80u0zr25GtD27g4vHvJ++W0L X-Received: by 2002:a17:907:9611:: with SMTP id gb17mr34117122ejc.325.1617708512214; Tue, 06 Apr 2021 04:28:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617708512; cv=none; d=google.com; s=arc-20160816; b=ZL9n42w8avi8II6zXgUQVCFYYcwp6C/FrTqBl9kE3VYL/gu5XX0cz1JRVTWxuciJCU yZvpda7c9cvcHln0uEhyy38vvKLKT7+ZLt/Tix9MhOxBqUXebSvpU1fPVMjrSxVPylVR zJAPU/PTkHf932axfBhsdgRkF0CalHtrJd8txc2Loxy9pv1kOew87gvsnGcC3KlPVW6L oQN7A6IEz8K/9ZfJ1r6Y7/lM052jDhJkzyNsBbZIzaV5+hAqOoNUKICS6/WS6oPFQzYk WoqOGka3YaYH+O99S/hkrfYqR1OI4/GWYLalf02iTc0XrwNFiiRUuxaISoYkhPXxij7+ R2eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=TZ4SU456AZ0sRnkU59VN4dhYN/vEDkB4fkKtZPG7t/Q=; b=K4dvPzdSR4d6EMiqjptEqR0E4+Hhf6Kgar9w0VxiEIjDCZFs8GVV1U6JlxZFgKHhAN snEhAtS51YaQvwGETDuJuSd7DoRXdEQZ5A2sur5Xku2DoAfIka1SUt81bNvELUT2wVQY dqISR7giRl3xIOYMtgEOJbS7D020QEaSg32JU7k8Y2G7ZHqocnbBBqYUO9zhnST6w4VR sXK8traGrSpJ6pYo+aWqoD9lt2nnHh45X10N4J2OlurXLtcVPiwHtsYfC6Mgn4VpwmNP FMFB50kaV7rmuEJpKrf7UFbkzMyCViHXtzyct20mD3QURgJWRIqKXgqqYZcxA9Lf8w7y zUDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nSKbjaWW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si9825985eju.460.2021.04.06.04.28.08; Tue, 06 Apr 2021 04:28:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nSKbjaWW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238192AbhDEXQu (ORCPT + 99 others); Mon, 5 Apr 2021 19:16:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235453AbhDEXQu (ORCPT ); Mon, 5 Apr 2021 19:16:50 -0400 Received: from mail-ua1-x934.google.com (mail-ua1-x934.google.com [IPv6:2607:f8b0:4864:20::934]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36523C061756 for ; Mon, 5 Apr 2021 16:16:43 -0700 (PDT) Received: by mail-ua1-x934.google.com with SMTP id r8so4041656ual.9 for ; Mon, 05 Apr 2021 16:16:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TZ4SU456AZ0sRnkU59VN4dhYN/vEDkB4fkKtZPG7t/Q=; b=nSKbjaWWDIe11E8mPB0cgzonTrp6Ogy34Aja7sJfyo0Xea5LpnY5F9QETb9Hb/OLMz 1+YuTGDD9T1RJ/qpoKxasnid5RD7ufvowKztCoEppdbi9NLleaMyCwCZf9qWmmEDBdFR mOFHZZdakb0rzMJPTPGzXjK6jX+xe9udqC5qU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TZ4SU456AZ0sRnkU59VN4dhYN/vEDkB4fkKtZPG7t/Q=; b=STznyxyIHxH8NbOJ/g3h3AmBuriJBmlc4DdqI3MGWomyNpxt7ATGLpWu8IhaASTQOC 06gWY7OOoULDLkG1fYoFk8ciZVzFtSdoEh93Ych5NIwpxPHzXqznBoli4YyHueTsGApR FGdrVooJy/dUyjz2DyMOt2e1AdpuGzmtoDRx7IEmpNfk1Qo7G/1vo5vdJnSIXFuiuBJI G3MuKONtjgHfuBY0nOXeMQ0+PSA94Lan2GSue1YzrF0LASpqWdf/tMAAVkAUHbH3Irdz wFBoiwPV9AJBBSpKPMn3nPXYyajZbGU0ql0HjO6sdJMn5j6Cxbssd8WGYz6DAKrXUFUs pDOA== X-Gm-Message-State: AOAM53321nD4f69ieH18k+R2KSskP4HOGfoKYX41atfLoMUvYWvSFkyq /1qiXuggEnPBBC5RUMPCB4G3EgBtAzsvSWzCzi908Q== X-Received: by 2002:ab0:395:: with SMTP id 21mr7986341uau.25.1617664601990; Mon, 05 Apr 2021 16:16:41 -0700 (PDT) MIME-Version: 1.0 References: <20210330021651.30906-1-grundler@chromium.org> In-Reply-To: <20210330021651.30906-1-grundler@chromium.org> From: Grant Grundler Date: Mon, 5 Apr 2021 23:16:30 +0000 Message-ID: Subject: Re: [PATCHv4 0/4] usbnet: speed reporting for devices without MDIO To: Grant Grundler Cc: Oliver Neukum , Jakub Kicinski , Roland Dreier , nic_swsd , netdev , "David S . Miller" , LKML , Andrew Lunn Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 30, 2021 at 2:17 AM Grant Grundler wrote: > > This series introduces support for USB network devices that report > speed as a part of their protocol, not emulating an MII to be accessed > over MDIO. > > v2: rebased on recent upstream changes > v3: incorporated hints on naming and comments > v4: fix misplaced hunks; reword some commit messages; > add same change for cdc_ether FTR I've reposted V4 with Andrew Lunn's Reviewed-by line and added net-next to the subject line. It will show up as a different thread and hopefully the automation can pick this up now. :) cheers, grant > > I'm reposting Oliver Neukum's patch series with > fix ups for "misplaced hunks" (landed in the wrong patches). > Please fixup the "author" if "git am" fails to attribute the > patches 1-3 (of 4) to Oliver. > > I've tested v4 series with "5.12-rc3+" kernel on Intel NUC6i5SYB > and + Sabrent NT-S25G. Google Pixelbook Go (chromeos-4.4 kernel) > + Alpha Network AUE2500C were connected directly to the NT-S25G > to get 2.5Gbps link rate: > # ethtool enx002427880815 > Settings for enx002427880815: > Supported ports: [ ] > Supported link modes: Not reported > Supported pause frame use: No > Supports auto-negotiation: No > Supported FEC modes: Not reported > Advertised link modes: Not reported > Advertised pause frame use: No > Advertised auto-negotiation: No > Advertised FEC modes: Not reported > Speed: 2500Mb/s > Duplex: Half > Auto-negotiation: off > Port: Twisted Pair > PHYAD: 0 > Transceiver: internal > MDI-X: Unknown > Current message level: 0x00000007 (7) > drv probe link > Link detected: yes > > > "Duplex" is a lie since we get no information about it. > > I expect "Auto-Negotiation" is always true for cdc_ncm and > cdc_ether devices and perhaps someone knows offhand how > to have ethtool report "true" instead. > > But this is good step in the right direction. > > base-commit: 1c273e10bc0cc7efb933e0ca10e260cdfc9f0b8c