Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3542711rdb; Wed, 13 Sep 2023 15:45:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEhshHfa9BIEvoO3FWFXPZtVqdNBjwBKH3QywSkVmC0vgN8WkSw3kTI2kfFp1npwe65pxt X-Received: by 2002:a05:6a20:7f84:b0:13d:7aa3:aa6c with SMTP id d4-20020a056a207f8400b0013d7aa3aa6cmr3387904pzj.0.1694645118554; Wed, 13 Sep 2023 15:45:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694645118; cv=none; d=google.com; s=arc-20160816; b=pgnrt8dNgo3pPEqrW6XPRnjtw+pt9mdSOSF9pXggVs00vb7qHwxHZt03kWK3nBqhq5 S5vgorwlTMqA2Hbm6YrHDhzs19feQwv1w4Qy/b6otU+qDhXSALtzrcnqzsItkCnXqtd6 FPq6oqnWU4po2dAvUo1ug6LFFgGwTBMpalFF9hzmrPawu7+PO/2OJ7TQJJrYpKiCoPCb oKSc+QNtS+Prtom2DiXNen0qjwa1m0n4I0iYr1xI21UqDj2mTfLghzwoXr8KRmw8gyuO Ym2HGG7P1Ctuy1u64E/sRG72hDGY2MpQvEDh+QAr+7R6fQLcbK8Zm7Df2z7Caujy3n5d tTdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=au/7PSHEheAOFV6kauhcShIfB51spSoacnx+jNp9SGs=; fh=umggnw+/E8GlFEz1w4B4XKZNX2Zaqy1EhnB1IByUkcY=; b=iya6gpx0Fhyci1XKsewWZq4JLnphNdjhcKEylFJFZG9vf7TFrpt4I4Wrij9C/wyLVs nbZ3erJXeqpw0odB1RXZ4ufmvdtM/PCjZg1nANxE2/i2y3lci2LSu5urhY0z+XAs/RkE y4Cne17Kw3C+rS8DkFz8BBJI/JrxuE2jWUI5+81xcXWTKHKRW8vEeFBfasAKc/cfkPn0 0pRBLlvnqsTksQZy++rBqiRQKceuss9PTDtcMQKopkxtQJF20rK0N8KIf9A7yrySclWR lBXNxcoNtvlOCeUXhhPRB2EBe4txA9rnSSKQlZ5TR3W/D75Z5WqqqOJslo6kzsvTxYEn URZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=R5kkvVIh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id bt8-20020a632908000000b00565f0e91894si106124pgb.394.2023.09.13.15.45.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 15:45:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=R5kkvVIh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0E71E81E64AF; Wed, 13 Sep 2023 04:00:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239875AbjIMLAa (ORCPT + 99 others); Wed, 13 Sep 2023 07:00:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239798AbjIMLA2 (ORCPT ); Wed, 13 Sep 2023 07:00:28 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFBD81726; Wed, 13 Sep 2023 04:00:24 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-9ad810be221so251996866b.2; Wed, 13 Sep 2023 04:00:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694602823; x=1695207623; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=au/7PSHEheAOFV6kauhcShIfB51spSoacnx+jNp9SGs=; b=R5kkvVIhbFUE6mCMpOt0PtzC71M4K2heFLKLeFLM9gWgXJZwvtKlNfcJ/SFW5Tc1wf CN9h37jExPXTRxhyTzuW1I0YSuI6cSERb46paJbSOaV37z57nYu/AVjQqqgOyqJrHVGM zywUKxXNwaaftR6Yzwm6e17MknB5ud7ehmmT99zhF5BCPRe6N5jUKS2zZYp1aLTM7kbl tRl3MjFp5HOxtzCxEP/ULsHe3GBb7qeDLHu6HCPP3sp5saVg/yOFFNrro8velw1WKTuJ M8ytU0wjTjvyfIDyoVIfUz0nAYgSislVT/4eKFLECUeNgBY5jE5P76etPUCli+nHZ4vj wn4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694602823; x=1695207623; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=au/7PSHEheAOFV6kauhcShIfB51spSoacnx+jNp9SGs=; b=gzDgoONjo2ErDJv8/94orXhHpDT7JbWFpalBeQ7NsmU2ptklRvKmqaUrxtxJYw6Txi W5mv+tnvm/kBo2qWZ+Ooyxq7MyocaPp3eVA5YBGWF0QBYUIDtmlnKRdXnz3zaAueHyZM GMYfnkb0MvULKNorR+sNMhkaR5iySmJ0Bh4BGIk8zULdWiZ3BnLJeBCEgvuGvrZSEuwd X/XzUJ5BlefuKr9WEgPZphaODHo07R9gxqLwcCcbOuREJFKi7PabbC5R2828ohAv2wE3 FYRUQQWtiFVlbWHN8T1RWrlSrkhMsI4BYxUdWAvcuzbNI28rWt0XHicN5HjP1WLCcj2E eZ8A== X-Gm-Message-State: AOJu0YyJWft5iaHntSZ9OIDw0FUzfiNGnLS9pZSiMaJAvt/EVeMDFWdQ DAmSQtVtVWYK859ez9mJyLw= X-Received: by 2002:a17:906:51c8:b0:9a1:d915:637a with SMTP id v8-20020a17090651c800b009a1d915637amr1685038ejk.61.1694602822867; Wed, 13 Sep 2023 04:00:22 -0700 (PDT) Received: from skbuf ([188.26.184.93]) by smtp.gmail.com with ESMTPSA id pv26-20020a170907209a00b00992d122af63sm8199511ejb.89.2023.09.13.04.00.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 04:00:22 -0700 (PDT) Date: Wed, 13 Sep 2023 14:00:20 +0300 From: Vladimir Oltean To: Linus Walleij Cc: Alvin =?utf-8?Q?=C5=A0ipraga?= , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] net: dsa: rtl8366rb: Implement setting up link on CPU port Message-ID: <20230913110020.mly455oreyrsyld6@skbuf> References: <20230912-rtl8366rb-link-v1-1-216eed63f357@linaro.org> <20230912-rtl8366rb-link-v1-1-216eed63f357@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230912-rtl8366rb-link-v1-1-216eed63f357@linaro.org> <20230912-rtl8366rb-link-v1-1-216eed63f357@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 13 Sep 2023 04:00:31 -0700 (PDT) On Tue, Sep 12, 2023 at 11:24:18PM +0200, Linus Walleij wrote: > We auto-negotiate most ports in the RTL8366RB driver, but > the CPU port is hard-coded to 1Gbit, full duplex, tx and > rx pause. > > This isn't very nice. People may configure speed and > duplex differently in the device tree. > > Actually respect the arguments passed to the function for > the CPU port, which get passed properly after Russell's > patch "net: dsa: realtek: add phylink_get_caps implementation" > > After this the link is still set up properly. > > Signed-off-by: Linus Walleij > --- Reviewed-by: Vladimir Oltean