Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7547022rwi; Mon, 24 Oct 2022 16:34:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5GfSp8fg8ztKrgZWM6OsuAdbrnxCDHmhp3d5seuUyUaijVJ2h4U8f0mumIgjynlW+B9RSZ X-Received: by 2002:a17:903:2307:b0:17f:78a5:5484 with SMTP id d7-20020a170903230700b0017f78a55484mr35995276plh.15.1666654454355; Mon, 24 Oct 2022 16:34:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666654454; cv=none; d=google.com; s=arc-20160816; b=N0QryQPFP2ctjjhQ9Io8x21oJ30hYDmBLVpCjfgYQim1z0fXDrOePnPAqF9Azarur0 iKHdXlBp9SfNY8C6bW8VtTnJh72NeWIHe+o4x9Hmn9w8CH8ELqaw5veFazf0zrx1jJKd cXVDE8TTcX7myBfkDdDcSb29kaTJQwq6ykqT5sRI/PqSnAv/cKqG8A9s/SgPqUQqS+1K yq6usiEcNlQ7qWdgc5PbZclNsly/1VD1R05soNuJRw44P6bJgiQwC0ST4a/y0ANHQdy6 +ATgg++HR30jOmsnMV8OodZmQAbvQOES1F0EpuVjFWvINjhQsVM0/yihPdOvT1FoIxDC ZpwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:references:in-reply-to :sensitivity:importance:date:subject:cc:to:from:message-id :mime-version:dkim-signature; bh=iKTgfDoIE6UiOiVrNwpBfj8b16I2mBbHe7AmkJlk1L4=; b=fetTbXKme2Bl+NKi/WcToD1Adl6UVTe+ALbZTytizC9UvM3rcmt/5Z9DvLGfb96m9N I4wiCZDK0DfqWA+0kWVV90Ff5bvkQuV99/yKpR6+G180rt7tkbu/MkooDqT7Tdzyi+mM x98ThMPfOJFPxGK3wXuybtW9SCtfXxWJ0wu7N1S/t0mmbWebrM1IueeqnUnFuE6QWNkt yymTvIXzmleOXwkbd9eiPFgQJ3JVwwNjX8TaZnKRMR0uqC27BqA1+o43JdN92y7t7qKI 9GkKm85sk0FE95r9bXxyaNwwHYNAa7p2Zk74bVGVZJfiHTcFPWQYGNOtvRiV8VpFs4le tJPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=iGuIKP9y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oj4-20020a17090b4d8400b001fde53d5d79si12631524pjb.5.2022.10.24.16.34.02; Mon, 24 Oct 2022 16:34:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=iGuIKP9y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231166AbiJXX06 (ORCPT + 99 others); Mon, 24 Oct 2022 19:26:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230434AbiJXX0U (ORCPT ); Mon, 24 Oct 2022 19:26:20 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A64E82EA94E; Mon, 24 Oct 2022 14:47:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1666647999; bh=iKTgfDoIE6UiOiVrNwpBfj8b16I2mBbHe7AmkJlk1L4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=iGuIKP9yZ+CRYrVew1NNnjmZ7cKj1HPQQ8ODSc7WOGKzk/CJvOVmGGQF3kwri7pov FwryWJlHfEQZByBFfxApCs+JhghD11EGvYSAD5kqIG1lmlARYgSbAxNHJKs32nmYO8 u6qUgxAPb/JJeP6oYS9Z0fQShnRV8i4pxb3C9OpM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [80.245.75.40] ([80.245.75.40]) by web-mail.gmx.net (3c-app-gmx-bap55.server.lan [172.19.172.125]) (via HTTP); Mon, 24 Oct 2022 16:45:40 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: "Russell King (Oracle)" Cc: Frank Wunderlich , linux-mediatek@lists.infradead.org, Alexander Couzens , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Aw: Re: Re: Re: [PATCH v2] net: mtk_sgmii: implement mtk_pcs_ops Content-Type: text/plain; charset=UTF-8 Date: Mon, 24 Oct 2022 16:45:40 +0200 Importance: normal Sensitivity: Normal In-Reply-To: References: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:kyHcw3FPKTYvo7tQ0dRRfaP5g86cy9/pBLBRRYb144WrPpKIiE0z+ipmmmiD2vVED2zCR GlQnUkHFMQhJS/cecoz+5bF42AiKgmS+arS3+7TyFVgHUNKI+YWzVEoPBWy6SKZ4c4/MMvjZsnC1 0zWHtxRjESzQjt4HbOEKmM5M7F6sGsiIitAXyDMzBohNJ4xjO3HnanQjHUHbYMuKLVjMQp8ATP+S Z6jauN53KNlyP25g7uBjKzEPCmtLfQH2sQ/+bAInqwWMuHwetY6CmHcSPUsbAA5bPDJ9y5rBunCM jM= X-UI-Out-Filterresults: notjunk:1;V03:K0:Ef09e5V6ayg=:vM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a3YfpgPb492jg7ypkQAD6BkiJxITReQMC5CsQWWeB8Ty6Lvpy3pfGqAIZDAs64PTr hm5zoMA3RYouQiiYmY8gyL+MhTJqejMAA5xClJ3kHy5sunSE4CU6sXA1WDfmB9xt2kVE5CRmT D2piQ3q773BisyA8Joyev58UzWBrYIzlIlq7K99sAG3XNPZrFG6rzEJLXGcmr1tE8EKK8/1mW r6w79N7IJXHtyyFoZwxFrOV8SL9W5KvChzwK8/Kl+yx7Snxb6MQya3bbfiHGcAEQyHzep8dpT x0UhGKFZ Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DATE_IN_PAST_06_12, DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi > Gesendet: Montag, 24. Oktober 2022 um 11:27 Uhr > Von: "Russell King (Oracle)" > Here's the combined patch for where I would like mtk_sgmii to get to. > > It looks like this PCS is similar to what we know as pcs-lynx.c, but > there do seem to be differences - the duplex bit for example appears > to be inverted. > > Please confirm whether this still works for you, thanks. basicly Patch works, but i get some (1-50) retransmitts on iperf3 on first= interval in tx-mode (on r3 without -R), other 9 are clean. reverse mode i= s mostly clean. run iperf3 multiple times, every first interval has retransmitts. same for= gmac0 (fixed-link 2500baseX) i notice that you have changed the timer again to 10000000 for 1000/2500ba= seX...maybe use here the default value too like the older code does? regards Frank