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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92BB5C43460 for ; Wed, 7 Apr 2021 11:36:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5CA2361382 for ; Wed, 7 Apr 2021 11:36:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347077AbhDGLhH (ORCPT ); Wed, 7 Apr 2021 07:37:07 -0400 Received: from mx2.suse.de ([195.135.220.15]:55362 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235017AbhDGLhD (ORCPT ); Wed, 7 Apr 2021 07:37:03 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1617795413; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5B4EydAFySuCx8ASw1PaHZMQMaOqH+r5Eq4RihuTXNA=; b=CrwLL+E/olIlNRBqWPvrbL0WQ2iEw44W3FFa+BGiNYi7CUUhsahv3kR8QnwYS4h6o86vTW KWULfN8tNgXexqlOlvfkdYcLsAY6C4DsVkYPs44dMykSwaTyFI23MLUn1frgmczfahayzP 8QgEAwTJtIc10kl8CKHnl09/MEjhLEU= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 4B88BB122; Wed, 7 Apr 2021 11:36:53 +0000 (UTC) Message-ID: Subject: Re: [PATCH net-next v4 0/4] usbnet: speed reporting for devices without MDIO From: Oliver Neukum To: Grant Grundler , Andrew Lunn Cc: Jakub Kicinski , Roland Dreier , nic_swsd , netdev , "David S . Miller" , LKML Date: Wed, 07 Apr 2021 13:36:43 +0200 In-Reply-To: References: <20210405231344.1403025-1-grundler@chromium.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, den 06.04.2021, 18:01 +0000 schrieb Grant Grundler: > > Ethernet does not support > > different rates in each direction. So if RX and TX are different, i > > would actually say something is broken. > > Agreed. The question is: Is there data or some heuristics we can use > to determine if the physical layer/link is ethernet? > I'm pessimistic we will be able to since this is at odds with the > intent of the CDC spec. Yes, CDC intends to hide that. We can conclude that an asymmetric link rules out ethernet, but anything else is difficult. Regards Oliver