From patchwork Wed Jul 24 08:00:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paul Barker X-Patchwork-Id: 13740654 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 307E8C3DA63 for ; Wed, 24 Jul 2024 08:00:58 +0000 (UTC) Received: from relmlie6.idc.renesas.com (relmlie6.idc.renesas.com [210.160.252.172]) by mx.groups.io with SMTP id smtpd.web11.5791.1721808050872173989 for ; Wed, 24 Jul 2024 01:00:51 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: bp.renesas.com, ip: 210.160.252.172, mailfrom: paul.barker.ct@bp.renesas.com) X-IronPort-AV: E=Sophos;i="6.09,232,1716217200"; d="scan'208";a="216491347" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 24 Jul 2024 17:00:49 +0900 Received: from ree-du1sdd5.ree.adwin.renesas.com (unknown [10.226.105.7]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 5B27141D0FDB; Wed, 24 Jul 2024 17:00:47 +0900 (JST) From: Paul Barker To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek Cc: Biju Das , Lad Prabhakar Subject: [PATCH 6.1.y-cip 00/11] Backport ravb driver improvements Date: Wed, 24 Jul 2024 08:00:35 +0000 Message-Id: <20240724080046.1500825-1-paul.barker.ct@bp.renesas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 24 Jul 2024 08:00:58 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/16599 This series includes all relevant fixes, tidy-ups and other improvements to the ravb driver present in Linux v6.10. Backporting these patches is a prerequisite so that we can backport the GbEth performance improvement patches which will be included in Linux v6.11 [1]. [1]: https://lore.kernel.org/all/20240604072825.7490-1-paul.barker.ct@bp.renesas.com/ Niklas Söderlund (7): ravb: Group descriptor types used in Rx ring ravb: Make it clear the information relates to maximum frame size ravb: Create helper to allocate skb and align it ravb: Use the max frame size from hardware info for RZ/G2L ravb: Move maximum Rx descriptor data usage to info struct ravb: Unify Rx ring maintenance code paths ravb: Correct buffer size to map for R-Car Rx Paul Barker (4): net: ravb: Count packets instead of descriptors in GbEth RX path get: 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 RX byte accounting for jumbo packets drivers/net/ethernet/renesas/ravb.h | 20 +- drivers/net/ethernet/renesas/ravb_main.c | 290 +++++++++-------------- 2 files changed, 119 insertions(+), 191 deletions(-) Reviewed-by: Nobuhiro Iwamatsu