Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp2009980lqp; Tue, 16 Apr 2024 05:03:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVUKEwQngbZh53GtxnmGPxtOsj9QO1e8cNQiHYWYXcYW7WvgZHtgZacYisAfbm4yatOrO3oxsHgdqZinGh9hi6cHYTrLm/IgzeiHXKhGQ== X-Google-Smtp-Source: AGHT+IFrwt9rQKzJjirXLvScLC959aH2arJ7vI/RmgHWyYiW4Fr0AZ4GqbUBX2+AVRLHS1/Uhya6 X-Received: by 2002:a17:90a:72c1:b0:2a2:5e65:f434 with SMTP id l1-20020a17090a72c100b002a25e65f434mr10747252pjk.16.1713269028078; Tue, 16 Apr 2024 05:03:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713269028; cv=pass; d=google.com; s=arc-20160816; b=UgvTv9TK3HG5I2hUqpBda9sRXk6StfCIGcPY6c15fv5+QpxDkXr4YHnNAIYQZ4WCPG h7fmrEPAHoAf+R/Hp6rIf2jrRXAatHY4U5iV7Q70O73tIuVS/kd8f9KljuIE4ba4UiUQ 1i0fNUGZIlvsnaJFsvOBkNW7vRMsg98oOnNormREcoTbfGy1+XVzZbhZ0im0TI85HZ61 54cQX4fdzuv+asPpb14/AcDxetQQpYHeyVORRvYyTv/jDsrDGUzbSmBKE7aXgaoI97g7 QZ0B9WZwm15wSCZxjc20peV5oFtJhbFItNP4UuVUpDR1wLmPMJJfqNfaywJWgtGH1WXJ ILDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=H/WoMqhAq6I91WecG4UJ6RQnqOAvDk5u5OpxrczcPK8=; fh=iDCzsdFwsWJFQNkU5jtQEScRkZQmxU6Yvae2ZkYJQ3M=; b=IvwUjTnPLSqoz2DVDZD75NX95p6tyrS2V5nAk36ZsO0ZbErb9AFJZkHm86ozg6Bhe7 siFQNJm2+MYGXoV+CpkhZH0+LZqfgdMH+u9wkC6njW5m8pVPNyTfwOb+TbZyGIgv81ZT 4bCPp16TgvB2yi8flisYwBZmZiHsF+W1HqUzX74K3wM/wvvqXSFz0qckEnZS6QvBI1V6 uzZAJIotsZKSI4fLifHN42bTwPVpoAizMx+MvA84OQd4rh65q8T7mVnxsh/knG5e/f8C moi2KCi3dxoyd87inb12BUEr7jsoBNyvFnpLcZDaCBp1Wg13WkXYRnqvqF9aAvNaTgvz Kz8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=bp.renesas.com dmarc=pass fromdomain=bp.renesas.com); spf=pass (google.com: domain of linux-kernel+bounces-146739-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146739-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id pc4-20020a17090b3b8400b002a50483b163si9800005pjb.100.2024.04.16.05.03.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 05:03:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146739-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=bp.renesas.com dmarc=pass fromdomain=bp.renesas.com); spf=pass (google.com: domain of linux-kernel+bounces-146739-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146739-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B345E282B80 for ; Tue, 16 Apr 2024 12:03:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D66F812A16A; Tue, 16 Apr 2024 12:03:38 +0000 (UTC) Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 906CB128363; Tue, 16 Apr 2024 12:03:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713269018; cv=none; b=hxJ6qRjMvC7aBZmwkfgCtVZ1+YxQFCJRAnf0pekMWGbvievE24kb1vyNEJDarg296WxR9SSxjINNnuFirULmekLTDCHtl0Xe0hqyb8HDGujlzBMiGJP8IpQurqHwlCpgyQtE3KtvDBIm+NWO9Hsyb5xvP+oS0rD8Xf4rdIEd7DM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713269018; c=relaxed/simple; bh=HQoXKeBHkArTd9CmE/O7gZO7g4WAFGBHSEIJzFgu9yw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=jtlc1t6S7GSGbneYteD5tP4JGfcdvKN1xNvLqcp3L0e6boUEi5oLnLB2J29CpTzqMXiy2GSc3RBOEgi2RpL4hKAZ65+W1IOL7TaVwDNI8EirOkjt/F/3lLjMMO78cTA3XN27p9bGQh5AoH9vkbbLqJevpRG8M9yiWHsCTYdeGz8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; arc=none smtp.client-ip=210.160.252.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com X-IronPort-AV: E=Sophos;i="6.07,205,1708354800"; d="scan'208";a="201616914" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 16 Apr 2024 21:03:28 +0900 Received: from renesas-deb12.cephei.uk (unknown [10.226.93.86]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 78BAC400C44B; Tue, 16 Apr 2024 21:03:23 +0900 (JST) From: Paul Barker To: Sergey Shtylyov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Geert Uytterhoeven Cc: Paul Barker , Claudiu Beznea , Biju Das , YueHaibing , netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [net PATCH v3 0/4] ravb Ethernet driver bugfixes Date: Tue, 16 Apr 2024 13:02:50 +0100 Message-Id: <20240416120254.2620-1-paul.barker.ct@bp.renesas.com> X-Mailer: git-send-email 2.39.2 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=UTF-8 Content-Transfer-Encoding: 8bit These patches fix bugs found during recent work on the ravb driver. Patches 1 & 2 affect the R-Car code paths so have been tested on an R-Car M3N Salvator-XS board - this is the only R-Car board I currently have access to. Patches 2, 3 & 4 affect the GbEth code paths so have been tested on RZ/G2L and RZ/G2UL SMARC EVK boards. Changes v2->v3: * Incorporate feedback from Niklas and add Reviewed-by tag to patch "net: ravb: Count packets instead of descriptors in R-Car RX path". Changes v1->v2: * Fixed typos in commit message of patch "net: ravb: Allow RX loop to move past DMA mapping errors". * Added Sergey's Reviewed-by tags. * Expanded Cc list as Patchwork complained that I had missed people. * Trimmed the call trace in accordance with the docs [1] in patch "net: ravb: Fix GbEth jumbo packet RX checksum handling". [1]: https://docs.kernel.org/process/submitting-patches.html#backtraces-in-commit-messages Paul Barker (4): net: ravb: Count packets instead of descriptors in R-Car RX path net: ravb: Allow RX loop to move past DMA mapping errors net: ravb: Fix GbEth jumbo packet RX checksum handling net: ravb: Fix RX byte accounting for jumbo packets drivers/net/ethernet/renesas/ravb_main.c | 68 +++++++++++------------- 1 file changed, 32 insertions(+), 36 deletions(-) base-commit: 75ce9506ee3dc66648a7d74ab3b0acfa364d6d43 -- 2.39.2