Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp829810rdb; Fri, 2 Feb 2024 05:31:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IFLcpFKkVQ57MkMS1dRQ1ir9u3wfyvGuu+NQNDXkLdpYWuG0YGzbhiV0PUifYXFD6oI97GZ X-Received: by 2002:a05:6102:125b:b0:46b:34a2:3ef8 with SMTP id p27-20020a056102125b00b0046b34a23ef8mr7897859vsg.8.1706880685184; Fri, 02 Feb 2024 05:31:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706880685; cv=pass; d=google.com; s=arc-20160816; b=CQxt7TIdvXsECLtAK97icPa2625ANi/9rJmKROBFA10kmD3y1lxc/Jhq6EFerV1GWO i/1UyEx5bWUVhOpLx+ty4M9HjG4eYFZfFV4wIYp4g8VwACgYZ6QahpbMW3rdd7kEp1oe ixYioosSPxHX98mPOn4JOw6AD6oxrOu7afcSxc0X7c2SIStsJOnXYNTS3DPPYiW5w5Pv AeOsZKSaMi99Xe+EDXdim8ztdWYvljDwEED13VNVmrkzHNUFvhSsgvBto1SHZEkuTd7t zYu1V7z7WViTFGAOjO5GE9+6plINx8MpZ58z6wwtjYcP/8/o0R+BM6M3PLfXJtsI1M05 BkMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UJtePW7G3zS/E7YKl1YdieFpwO+voJfGNG2qCQLfOqc=; fh=gPmLqO+JjNrmgBkae4ii7I0hMlELveFu0dhdCLD6RxU=; b=fIbXoLrAUE/8XvRipvKKx7Kl0g/UpvhUsaL7reyTZPpVDn6FcLlLZZy6KQrPJj6b1/ Cv5V6K3IsmD4kC9VmFXULe9SDHNjrn2vYbgyp+mKrCmZYgtcAl8U6+kJzGxFYxv5T0Er Mtrn5dCKs1j+CB5ST5DqZk5rApRY0iizQTrjMIdVIn9sUNO8BFO+52abLCbBCyqIlAJp iNCUopCXld3B+oeZxz4QQY9zjQhKAncjn02ysX1xaJpr1bCSQuCzGN7C7d6d93Jnxq6R 12cBIjW460xWnm+DGRfkXZLB2GTvQeAeQjcKHJTez/oQ7qJdApsgWSX4+c/WBda4f7IP T1Rw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=13CS27RR; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-49901-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49901-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch X-Forwarded-Encrypted: i=1; AJvYcCXKkr8Gw9TpK8iMJzjSLoa2Imxy3Q+0scBhr/9hIvA2OleBGN5M5fZRJoD4q0Vcww+LJZiNtZsNGlXgZBr++/SqN1tMUKWx1CjRDu5ZRA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e10-20020a67eb8a000000b0046d0bb6350fsi1631vso.385.2024.02.02.05.31.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 05:31:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49901-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=13CS27RR; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-49901-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49901-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E1A331C26949 for ; Fri, 2 Feb 2024 13:31:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 463DA46557; Fri, 2 Feb 2024 13:31:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="13CS27RR" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 25A1E4643A; Fri, 2 Feb 2024 13:31:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706880673; cv=none; b=GvhTWdmh1KEDAP+SlNWUgyj8sxZ3BvKMhJmhN4XCVdyMoFwFLG9pRHsRI9J0/KSOcJ3K0Pj0ubY6K1ygGMJLUqIoL1jRjQpceRn4p/DhEXsEr1+aTfChq2RF3V9I4yFbqnic7GnH98DicNjns+gQvqIlQMPqVjHAKBT68iwVTcE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706880673; c=relaxed/simple; bh=wjIesRNRmTFPIurZUIwcdu/x+OKKFfccb8BJIDCLZoU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pM3xsPP0f24FrCwTluoeRu3RR9B2Td2sXIGOd9+wDmPTzPLpSUbWsVwTqcSjt8im0Bd1gxMYjrUFWnac0LdS1xd+uQ3x8UbtDT8RuaKO82C1pW7gWqfesu+OIF3q1G3aGwEc5i8ULhAr16qTzdSJYtLFfViAy5u3WQyFuadPnPs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=13CS27RR; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=UJtePW7G3zS/E7YKl1YdieFpwO+voJfGNG2qCQLfOqc=; b=13CS27RReCaCMvL2TvBp5duvQV zUaK75JRSZaaYaDQaOfl44auKpA/eceP68ecjbfnIqZkmMBOsLttVXaMHN8d4ZhWwK+Yo9m+GcZUT qUvmMJReymInZ03LuC8CWZJ4XwJ/xsTSafWWMq8dVke25ap8ivDunV7lZjoQxZkbyh4k=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rVtdD-006mqR-Hm; Fri, 02 Feb 2024 14:30:59 +0100 Date: Fri, 2 Feb 2024 14:30:59 +0100 From: Andrew Lunn To: Paul Barker Cc: Sergey Shtylyov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Yoshihiro Shimoda , Wolfram Sang , netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 0/8] Improve GbEth performance on Renesas RZ/G2L and related SoCs Message-ID: References: <20240131170523.30048-1-paul.barker.ct@bp.renesas.com> <953f6b82-c4b1-43f7-af68-e504d663f070@lunn.ch> <1daa9e95-df98-4a08-bc55-21838e555519@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1daa9e95-df98-4a08-bc55-21838e555519@bp.renesas.com> On Fri, Feb 02, 2024 at 09:39:42AM +0000, Paul Barker wrote: > On 31/01/2024 18:26, Andrew Lunn wrote: > >> Changes are made specific to the GbEth IP, avoiding potential impact on > >> the other Renesas R-Car based SoCs which also use the ravb driver. This > >> follows the principle of only submitting patches that we can fully test. > > > > Are you saying that Renesas does not have access to all Renesas RDKs? > > > > I don't particularly like the way your first patch makes a copy of > > shared functions. Is it not likely that R-Car would also benefit from > > this? > > We have the required RDKs. For the R-Car based SoCs, we need to confirm > that gPTP still works if we change the poll/receive code paths - this > will require an AVB-capable network switch and additional time to test. > So our plan was to handle the GbEth code paths first without affecting > R-Car, then follow up with another patch set for the R-Car code paths > when we've done the required tests. > > I discussed this with our team, and we're happy to do this in one go for > both R-Car and GbEth code paths if that's preferred. Hi Paul I think it would be simpler, since you would then need to recombine the code paths you have just split. Its better to not split them in the first place if possible. Andrew