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=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham 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 624D5C282CB for ; Tue, 5 Feb 2019 06:09:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 200972080D for ; Tue, 5 Feb 2019 06:09:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CRHkiLuM" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727773AbfBEGJn (ORCPT ); Tue, 5 Feb 2019 01:09:43 -0500 Received: from mail-pf1-f170.google.com ([209.85.210.170]:44508 "EHLO mail-pf1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727757AbfBEGJm (ORCPT ); Tue, 5 Feb 2019 01:09:42 -0500 Received: by mail-pf1-f170.google.com with SMTP id u6so1028449pfh.11 for ; Mon, 04 Feb 2019 22:09:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=sXJRo6hKb1i+wThlpH1GhkuLrKZuFjEUm8qu5xG0KBA=; b=CRHkiLuMJfx5vNE2jHMVoHCZxZEKuXDhPZHW+b4ImhM0Exqp8Bru/BPfuwog5mn9Fo sN1zxyi0UyZooKn6s5liRav7+IoNtbFfhTEFdGlFpWjPSOobFWi9YEmqoFBRxUKwJHB9 IbCLbfGwTTwUCmXcHrOQLBlrhJQSFl+OiLtq5qtThnjp8VwSKMoI8xKzHDNHlmxonWFV B2GSh+S5go9hSO5FR0ETMG6fWlKH7JnNQidFJ8PAH1giYRooAGkkhWV7lPuRdpqMuucl lukVCLTXifZawQwivwDecmkEq7hp6YG+TyyXbufiQv2MIh7KaWsNlwgoT5rX/JVziXSW ht0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=sXJRo6hKb1i+wThlpH1GhkuLrKZuFjEUm8qu5xG0KBA=; b=cFTvcgYqjqcEYYDOf21cvIsrhSh0ZBCHtkDk/wov17VxIWolYNWXHpNVrKgj83A2Oq ntyWUV1E01+pLaMDWTXqIGINEWITXbMaQirDzphfy37by4zBAxEfQWVsHcYTCVA1FdcH f4bknMmirQMcPeUmS+mFUQm8IR+IjQx3tuClnzQ7Q6zOaF8xzWBDZJBuSEFkzzgOji5B JGiFYtauDK4I2KNa5bM7gQXPBfgOBwKSz/kfYEDKbqPy+6Ci5zxmJgfz2WEAzDeOy5RG y89iAKYK3YtWUCSc4WT0O77NHPRHr1n6OISadY6D8sTGKYSzSK/n6saG5oLa6IRaNr+x zcxQ== X-Gm-Message-State: AHQUAubFVsqeteo/3AfzlFOrgx8EBePPMKZUO+K3erZPhMaqAtU8iJzu E4isrgdr5IvvhsUTqM49XpgASJ4h X-Google-Smtp-Source: AHgI3IZ0XdjlknPaS2x8GVTOG4FHd08CitV4TuDiGtF72fhZeQx3Wm7Cl9xSNogj0eG67JZ474wTlQ== X-Received: by 2002:a63:7c41:: with SMTP id l1mr3019852pgn.45.1549346980982; Mon, 04 Feb 2019 22:09:40 -0800 (PST) Received: from [10.4.1.141] ([103.66.79.6]) by smtp.gmail.com with ESMTPSA id r76sm3729943pfb.69.2019.02.04.22.09.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Feb 2019 22:09:40 -0800 (PST) To: netdev@vger.kernel.org From: abhijit Subject: Is advertising of 2500Mbps support must from phy device to set phy at 2500Mbps link speed Message-ID: <496b56c8-666a-7c5c-f3c6-0e709584ec0d@gmail.com> Date: Tue, 5 Feb 2019 11:39:34 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi All, We are using Ethernet MAC which has integrated Phy. This phy supports speed up to 10000Mbps. The phy has, 1000Base-X PCS(Physical Coding Sub-layer) followed by SerDes interface to support 10Mbps to 10000Mbps. Currently we are trying to get this phy at 2500Mbps. This device has 16 registers that corresponds to Clause 37, which can be used to advertise speed till 1000Mbps. So my question is, 1. Without phy advertising its capability of 2500Mbps, is there any way I can set phy speed at 2500Mbps? 2. I tried disabling auto-negotiation and setting speed at 2500Mbps with ethtool (ethtool -s eth0  speed 2500 autoneg off), but the ethtool reported this configuration as invalid? 3. At the end we are targeting print of "link up (2500/Full)" Regards,   Abhijit