From patchwork Fri Jul 16 16:56:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 478737 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DCDB4C636CA for ; Fri, 16 Jul 2021 16:57:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C412261396 for ; Fri, 16 Jul 2021 16:57:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230408AbhGPRAE (ORCPT ); Fri, 16 Jul 2021 13:00:04 -0400 Received: from smtp-33.italiaonline.it ([213.209.10.33]:54933 "EHLO libero.it" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229751AbhGPQ7z (ORCPT ); Fri, 16 Jul 2021 12:59:55 -0400 Received: from passgat-Modern-14-A10M.homenet.telecomitalia.it ([79.54.92.92]) by smtp-33.iol.local with ESMTPA id 4R8tmKNNmS6GM4R8xmO7ae; Fri, 16 Jul 2021 18:56:57 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1626454617; bh=ybTEgBqSGSk7CgeQhAXjaoIWf5L8GRxV3Eiz04dFePA=; h=From; b=L1hdgjdkCzi4AZ4tqpEYU/SIrwWUqcFGNcmrGfyG3i9PdNdRg5yfS107Y9DEV9o2r x0PAUxVfKaBAymp74IWa/Odu6YU0scMVdnEIC0TUTJa/X7ehXERTnkJrzMxiz1WbWS 3qI+sSW6w++i1jMPPdx/Gi0H1U9E+Q8cHqAxF9vl4SGG3tVLCeu4l1GFe9TVUDRu+c cA2Avkf3yrfF72+EgFDoE/iYMG4TKXLlcRZogu224vhiy/Wf2CcPLi92WP4KWMHvRT lOmst9q5j5yiu+KXF3JGNT1dHWadKIeEtVQyEtJGAM4e3I4/4ezXTVOFrvby/1IOiy kzaTXz23rY9tQ== X-CNFS-Analysis: v=2.4 cv=AcF0o1bG c=1 sm=1 tr=0 ts=60f1ba59 cx=a_exe a=eKwsI+FXzXP/Nc4oRbpalQ==:117 a=eKwsI+FXzXP/Nc4oRbpalQ==:17 a=X8-5zgEFGoXRYfRO6I8A:9 From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Gianluca Falavigna , Dario Binacchi , Andrew Lunn , "David S. Miller" , Jakub Kicinski , Marc Kleine-Budde , Oliver Hartkopp , Tong Zhang , Vincent Mailhol , Wolfgang Grandegger , linux-can@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 0/4] can: c_can: cache frames to operate as a true FIFO Date: Fri, 16 Jul 2021 18:56:19 +0200 Message-Id: <20210716165623.19677-1-dariobin@libero.it> X-Mailer: git-send-email 2.17.1 X-CMAE-Envelope: MS4xfKoMV/+nZGBCPIXBiH3gvl6PDXsLIr3ajj3MP7Mrxti8SWfQlE/FXiPXzaPo3/kHl2XKpq4Gy1ZfkK7F1OP7Wfm9TETNnU1dtw+U56kgbTbcL3g2u1YN ItnFnJG5lXNPyTBo5oQjLpt8tnjq6mhufAss2yoNaPmKrVAtfctBfjD9K8bcHaPuIbTno4uZ7yEMG5qM11K8HnS2uZ9Zznj24eiqdFGnrjossx9TLZHD8rXn WqwBU0qj0Qgc/pYUEGXcwKC+7X4a7IFeLWFEDTKYsrRfxpu0J2ZXP2OLHUe0uoPzdjaEoEcLYVaK9++zzZ7uITaasq3TLg0Dx9A/+wKGPglXg0wgSTBx93Ip TbJwP3CLOglfqqRKZX4SS1F9qv1dgXWRegMU9ushtN8ak25ZxowLyDyL1lw+1IZ7JTxFiKGNwVLltzThps8M4kcbRo/CE709AN47nfGG/uGck6aSvMs8YL5z /iSdnjJBGmZfRSwzrpPrjuC6gFzuONJZ/GqaXDpR4bsh5Sq/vFh2cJrGFnV4d3AMISoIQPrXf9SyUEysN7vfuicBdQfxy9qEu189yzoHcFe7Hw5jAnCSTNBn 2vWuR3PONPUzXxponzlS/cbfE/qLrLoi1GqjXsYXAYmsEg== Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Performance tests of the c_can driver led to the patch that gives the series its name. I also added two patches not really related to the topic of the series. Dario Binacchi (4): can: c_can: remove struct c_can_priv::priv field can: c_can: exit c_can_do_tx() early if no frames have been sent can: c_can: support tx ring algorithm can: c_can: cache frames to operate as a true FIFO drivers/net/can/c_can/c_can.h | 26 ++++++- drivers/net/can/c_can/c_can_main.c | 100 +++++++++++++++++++------ drivers/net/can/c_can/c_can_platform.c | 1 - 3 files changed, 101 insertions(+), 26 deletions(-)