Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp500869lqr; Wed, 5 Jun 2024 12:02:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVGA6wsI44vBxB3Q9xkJ+aZkFnYl7j5gAvP4DmGfGbPwGP66vJ7bV1L1eh0g0kCweFGM0BmJp3rejuBAxQrYgbU0++VG9R3uTT2Oiqszw== X-Google-Smtp-Source: AGHT+IHw68+aCu1NvHGHSkAUmQAOSmStoJBEJCMKemgzrp8BLd4VZH+gP2kXFxQGDs4UT4IxOvZb X-Received: by 2002:a05:6a21:1798:b0:1b2:c01d:a31 with SMTP id adf61e73a8af0-1b2c01d0d49mr2110167637.58.1717614179524; Wed, 05 Jun 2024 12:02:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717614179; cv=pass; d=google.com; s=arc-20160816; b=qV6Iq1HCWApnhFlNSYAj1FKHThn86rHRiNTTKQ+Gx+VkIJuiQZMpSwN9tqwqzRMuNx nCAYHW4EG4LO5ZdIrkhfYnKUWpA4tlu3HBP05M7mDMPvRLQkAxQNNenRYxQxJkox7wAX 5VHx83949s4UgNus9jbl1EwOUFTEh9rNpm9h8aMqOAm9u1VmQTFCWEXqfc0qeh+W2vCo gDWW3jD5sqwjRc0mhgj01AdA2WsBgur3lYe6M7EDiPtTOv33iqBR4BTmuMF4NENv+LIs 4ro2cQvBkX46N9lQDf+uLX8DUFUi+s1PcBogEmh+t9nnjw7uAAu6ZC3o1Fa7HsXtal3s RnvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=Efioiag+SXHDama2IraV/6BFn5KEfQDY8xMGeEQpxl8=; fh=7y2qK2D0UF9HW5ZEnsWpaGNSjl/SvSoZKehC2SEzJgU=; b=AoOgh8rOvu+RIimttkFD3bXaR6uG73u41dC/9xZ9TNhGEqh+fxvKpnF2rOvVYW8gQa IXnW8nTnvWM1KSFmK+TJRvcjEBuO4o6BULkkSSVASL0hG2h58kdfD1djtLv+MhtwSrai bHx72+c/HIJgs/UdNfvj9+UQheLzqBa1xZQQS6hl008lSCGKdOJ9a/T4ahJAGuIFMjrH h5Rrw+j6nd6cyulFBY7xfpszmRI2YX1BCz7EbwCtO1AAQJws2FkqK1gc7+Nxu9ogNHl4 dLhahJRr2EB3rWOmPRCaQCzuUOBIt9W29flD4a7VFPsgiFCQo14zBoPe58SS658XCXlL yHVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=omp.ru); spf=pass (google.com: domain of linux-kernel+bounces-203076-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203076-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c5b8a3e220si9352794a12.900.2024.06.05.12.02.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 12:02:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203076-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=omp.ru); spf=pass (google.com: domain of linux-kernel+bounces-203076-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203076-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 009E5B215AA for ; Wed, 5 Jun 2024 18:51:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C23DD13BAFB; Wed, 5 Jun 2024 18:51:15 +0000 (UTC) Received: from mx01.omp.ru (mx01.omp.ru [90.154.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5985C22615; Wed, 5 Jun 2024 18:51:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.154.21.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717613475; cv=none; b=amd9CbUCSFqIb72Mp4ztgpZkcvQ0uC5KonPSPAI6QkflyESCeSj1f485t4v9a9hW4/VoHqQYswhjVDp3uO8XNr0wgfiCMGXsbcFN1fFCKBPkpr7IV1hDBJ4OEf2gSWdSthcQVeSh+3k2tCBAiXRyo3DdX9xSyCH9QaInYw8eq8E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717613475; c=relaxed/simple; bh=zx9Pn72XW+0OyeDmaj8nqxeP/1TM/BNsr82eIksOpv8=; h=Subject:To:CC:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=FGAzRPu3eHxSG0S/BTpwBdBNxr33EE18VTMti11s6J/aHwlu/pe4mBg2bhj9MXN6WIwf/n+nSM3k2bIZSWlcJlU6NzCU4Pw/F+P9YOYViG0SoGpScGA7WILiiC4an7JgtthUpZSPVo3S5qc5LZjLbxbHEKrPml3vLKDHtxUJP38= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=omp.ru; spf=pass smtp.mailfrom=omp.ru; arc=none smtp.client-ip=90.154.21.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=omp.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=omp.ru Received: from [192.168.1.105] (31.173.84.195) by msexch01.omp.ru (10.188.4.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1258.12; Wed, 5 Jun 2024 21:51:02 +0300 Subject: Re: [net-next PATCH v5 4/7] net: ravb: Refactor GbEth RX code path To: Paul Barker , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , =?UTF-8?Q?Niklas_S=c3=b6derlund?= , Simon Horman CC: Biju Das , Claudiu Beznea , Yoshihiro Shimoda , , , References: <20240604072825.7490-1-paul.barker.ct@bp.renesas.com> <20240604072825.7490-5-paul.barker.ct@bp.renesas.com> From: Sergey Shtylyov Organization: Open Mobile Platform Message-ID: <9fc54591-532e-2dc0-6f83-52a5d4a6312e@omp.ru> Date: Wed, 5 Jun 2024 21:51:02 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20240604072825.7490-5-paul.barker.ct@bp.renesas.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: msexch01.omp.ru (10.188.4.12) To msexch01.omp.ru (10.188.4.12) X-KSE-ServerInfo: msexch01.omp.ru, 9 X-KSE-AntiSpam-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 6.1.0, Database issued on: 06/05/2024 18:28:34 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 59 X-KSE-AntiSpam-Info: Lua profiles 185750 [Jun 05 2024] X-KSE-AntiSpam-Info: Version: 6.1.0.4 X-KSE-AntiSpam-Info: Envelope from: s.shtylyov@omp.ru X-KSE-AntiSpam-Info: LuaCore: 20 0.3.20 743589a8af6ec90b529f2124c2bbfc3ce1d2f20f X-KSE-AntiSpam-Info: {rep_avail} X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: {relay has no DNS name} X-KSE-AntiSpam-Info: {SMTP from is not routable} X-KSE-AntiSpam-Info: {Found in DNSBL: 31.173.84.195 in (user) b.barracudacentral.org} X-KSE-AntiSpam-Info: {Found in DNSBL: 31.173.84.195 in (user) dbl.spamhaus.org} X-KSE-AntiSpam-Info: 127.0.0.199:7.1.2;31.173.84.195:7.1.2;omp.ru:7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1 X-KSE-AntiSpam-Info: ApMailHostAddress: 31.173.84.195 X-KSE-AntiSpam-Info: {DNS response errors} X-KSE-AntiSpam-Info: Rate: 59 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-AntiSpam-Info: Auth:dmarc=temperror header.from=omp.ru;spf=temperror smtp.mailfrom=omp.ru;dkim=none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Heuristic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 06/05/2024 18:33:00 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 6/5/2024 4:42:00 PM X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: InTheLimit On 6/4/24 10:28 AM, Paul Barker wrote: > We can reduce code duplication in ravb_rx_gbeth(). > > Signed-off-by: Paul Barker Reviewed-by: Sergey Shtylyov [...] MBR, Sergey