Received: by 2002:ab2:7988:0:b0:1f4:b336:87c4 with SMTP id g8csp99700lqj; Thu, 11 Apr 2024 10:56:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXl1k0iqeKvJ6Q0cCNAiLQKXqnLwRDSG++Tj5e0PedVvf3tdhIkI5eZD6hNTC9fu68w0IsjP54OOHCRUa9ylV+sFPnGW6VFoc0c7q4KTA== X-Google-Smtp-Source: AGHT+IHQyZ7y4S82GAjXAjoW/F7NKXV8R66JEACrsN/pNSkfcR/8/SfjSrSiHnGXs6W5qe3MXSgS X-Received: by 2002:a05:6808:128c:b0:3c5:fe95:2371 with SMTP id a12-20020a056808128c00b003c5fe952371mr466012oiw.29.1712858162103; Thu, 11 Apr 2024 10:56:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712858162; cv=pass; d=google.com; s=arc-20160816; b=uTbVOUDq4FKEGImul8skaZVMKbuh3rvro4Sf799hZJD97CEV12gYJbgXxly95jyhXN 0dKP1RF5Nl2QCaPpZn4CMpFjKoSpQS+xzYvL7Df8JP01ilkz3aWUEHegxI2kSmlRzDiZ djbLUzPWqTc9V3qwPkZVnsj4+qvX8u6enEe/JZXE3Jz8917MUkWOi7ZHG8SiJCvwGrLR tnQPqXuZakqveCwGMRVeZOIq69l0Cj0qE0c/tuSHy7ByP079hgQNpYGdQ7NRNrjxGwVo Nqeiq10fw6v5eI90CrBjjJxRYFuVLkHU+Q0i64cOKWV7f/PUM0lmyHvNlg4kKSEgR/SN aqCA== 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=aID2aNjwqMs/V9pZO1mDx7CYXP6sJDCxzQNby1fwf74=; fh=sxorC0j7DMlOzBbPy8wTgiTTHmeRULP/kNU/8DH2ZWg=; b=q6YWR2FDURt9TUwwF2dXP4PSO3LVKiTkEgjUt4LusDYFTTW1m/4uFL/GuAuJ9VP7cR yKYepxVP5KzJjjOPCWtHKvRt+c1B55WJ832ffEl+/lCqqs8PTz/7db3ZN13ZJ2YWhAkq gCSF/9WNr/XWynvB0QrIajlGAoh0He7iZRKKYBAG1NWOEGzQvKDUl3zxTTBe4vHfF2tf Ia/bcNLh2dvxAg77AUFdmferabAeTwUebIFWBi5kjfH/1+B3+fmJk+xRcJtOASnrTDrq J1ujNETBbeYjNNMNob2ZOctuptx/F8yS0tvT7+/LS0hjgWMWwlScpePiJXGaYR8EKBUO LluA==; 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-141333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141333-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v7-20020a05622a130700b0043675588323si1007324qtk.126.2024.04.11.10.56.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 10:56:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=omp.ru); spf=pass (google.com: domain of linux-kernel+bounces-141333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141333-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B61781C23A32 for ; Thu, 11 Apr 2024 17:56:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8071D1BAA67; Thu, 11 Apr 2024 16:38:37 +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 DB52E17D15F; Thu, 11 Apr 2024 16:38:33 +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=1712853517; cv=none; b=aXvf2KMlTSHlY0VNbAsVE1PNUcmzVvY8ZUumSdzF8tRULSrO7V0PVWsIFA0doSPMkD6OdbhNqtaeOasudibzwwKrX6NLy4p2pNWC6RSbmrwrsFyEKtDQf9hTBCpqgyR7rY3vvUyHVlJgQIfsCMb4xBte3Ax88SjfTuF3mu/se8M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712853517; c=relaxed/simple; bh=j/Q76hTU8UR+7Ef0M5oxbCd1Szjx6a9UJwzmW2x5+vM=; h=Subject:To:CC:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=AYQNafpzNsxQeMvFjMRveLvyKyWRuOVMfw2nFrWxQgssXPumoZDGkhHilAQh0bGz83lRzt+C8WD8KFy0eegC7udHM0cIaeJRugJlbO5AihNIVyv6xKLQsh4h3YlQLhNMUC3wfQDVoaqHwXYrCw2pSA8vhK6KeYuxWorjwwp7zOk= 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] (178.176.74.224) 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; Thu, 11 Apr 2024 19:23:23 +0300 Subject: Re: [PATCH net 1/4] net: ravb: Count packets instead of descriptors in R-Car RX path To: Paul Barker , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , =?UTF-8?Q?Niklas_S=c3=b6derlund?= , Geert Uytterhoeven CC: , , References: <20240411114434.26186-1-paul.barker.ct@bp.renesas.com> <20240411114434.26186-2-paul.barker.ct@bp.renesas.com> From: Sergey Shtylyov Organization: Open Mobile Platform Message-ID: Date: Thu, 11 Apr 2024 19:23:22 +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: <20240411114434.26186-2-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: 04/11/2024 16:01:11 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 0 X-KSE-AntiSpam-Info: Lua profiles 184677 [Apr 11 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: 16 0.3.16 6e64c33514fcbd07e515710c86ba61de7f56194e X-KSE-AntiSpam-Info: {rep_avail} X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: omp.ru:7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2 X-KSE-AntiSpam-Info: ApMailHostAddress: 178.176.74.224 X-KSE-AntiSpam-Info: Rate: 0 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: 04/11/2024 16:04:00 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 4/11/2024 10:51:00 AM X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: InTheLimit On 4/11/24 2:44 PM, Paul Barker wrote: > The units of "work done" in the RX path should be packets instead of > descriptors. > > Descriptors which are used by the hardware to record error conditions or > are empty in the case of a DMA mapping error should not count towards > our RX work budget. > > Fixes: c156633f1353 ("Renesas Ethernet AVB driver proper") > Signed-off-by: Paul Barker Reviewed-by: Sergey Shtylyov [...] MBR, Sergey