Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp918081pxu; Wed, 16 Dec 2020 19:21:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJzY1NIpF/UqZerQXb6YFXM1ptnl2kFTT+G9T7nLSbY6T3yPDBqe9T0D+AEBxUfE1AUDkx0f X-Received: by 2002:a50:b905:: with SMTP id m5mr36059851ede.292.1608175277227; Wed, 16 Dec 2020 19:21:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608175277; cv=none; d=google.com; s=arc-20160816; b=CZB/AOkGDDgNo/TR6rOfO8vdbCoqAl70+QXfpVZuKPMkGA1kXb2gXnriRlxSPa4ms3 PvJFyA5HF8CANX6XXi4/UjcVmEZIxxZR75WvxUrNp7+U+1lpp5dMaoY8qxe/tVuPdoXV xjeI5k4yVxuCHbz/s9inFD9zbCskuzEP+jRCU+FC1DCIUhRYohpajftAtzNwIPqwqdSn e9aaessT/InTczVVBzD1ZpESvmelWkC63MP38RYScbte8th4+IElWMzzhFScc5a1CghN Hht4kvp0D3xxNTMHEIQ5TXj9SB87jNOWnM2K6KqM8rxS+FlyKJ5bU0waW/yvRc8S8itz hpXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=XI6ydnrhXpGqiqNBuJrrntaJSLirU11+aB/V6asSn5A=; b=Dk03HqG5cJXonTGtRtyrdzJigsXCOzsJQopCaDMA23ooK+hbP553TpV3aPGvzhJLLa hXfR2mluXw9axR8sEpv7FexY/qkcDzGtO/fDM6H2yA1dYVGqoqraXqXvmK3GuMj+PrUq MLYmOYLOv1A9/Zgi/tiFQefcrC5zrPk3aweSPt7RVLwQqeqphGaBbfgeq0SCnOa9n4q2 rAEUkSRwXX7h6ViK7cpQT1EBI+UkAIU5AKpHIFub1FjR7CacsZZGaz8IEEolNG3dLfuo PyXt47aHkTwqrSRIXoMpr+8lTlht2Pv3QYpckjERRCW1YJHtxReHzN8CxRvlS9DU410s nvDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=THRZ5wW8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t6si3524336edq.353.2020.12.16.19.20.54; Wed, 16 Dec 2020 19:21:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=THRZ5wW8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727862AbgLQDTJ (ORCPT + 99 others); Wed, 16 Dec 2020 22:19:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727231AbgLQDTH (ORCPT ); Wed, 16 Dec 2020 22:19:07 -0500 Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B043EC061794; Wed, 16 Dec 2020 19:18:26 -0800 (PST) Received: by mail-vs1-xe36.google.com with SMTP id e20so7465706vsr.12; Wed, 16 Dec 2020 19:18:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XI6ydnrhXpGqiqNBuJrrntaJSLirU11+aB/V6asSn5A=; b=THRZ5wW8iIhZPUE/Yp8az4qhldEtyocNzEeGG03lsb58223kevhXn8ykxBzHc/Y9rN OfH44Ocw4ACcMGPcqJ+VPSdNzwuKwHzzKjSTBt4O3od8wDOkqug1bK0yQNlC7J5pPw1g Yi9lN3lJlv5NfkMWIH/l/Ohgaf2+5Jbx6PX2wKBtvOPSJXM+Waup8Rats/OQsE4gePhN 2gYvyJ5qb1v8q8zmNrh9PCu0FBKXPxKkCPIyEZkinRxkM8iiUwQ4u2dfFbFQ9uFsP7Ud T9YiKAJGjSVTdqUWzH080vQemxExn+dfNWFAMYA2/XBOL9OuAHxWnRI2oCWn2ZUwKhYW Ir2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XI6ydnrhXpGqiqNBuJrrntaJSLirU11+aB/V6asSn5A=; b=BdIlyGsuZ6GjyXb8Hh+EYQuYl6UChjNtrEAsdspCRDHy5Y+QjatEc/xYEEpG98+Okq 6kSdivm3Iq+tFVhWPu4amAKANiyJ6F+mbBF6p64t2Zn1hGfIQ3s6UtHlgpdGoB3cccp3 3XXZIrwU4V42hwhPLBF2jYCuOTmiyiQbe9PSqUsK1v1H6KNhRgtXrHSzJjTqT3HGbxqW 5QpnQNjE+Q4ZiHz32H0hV8knyjHRtMf3tZroIwwRb6ffKvA+rYzdLStvU+3c/21wWPNH OIx8Po9639M3WljeyNANOV06eXdXV7WTotobK4L7e3rT4eiz0eRFZKby7xsq2Ts+T7Tm UBMA== X-Gm-Message-State: AOAM530cuSn2B7m+0ZiPudww8ahkb9JWkjUMRXav+4GI3eCHqxN2doP5 HK0aWpe/p3x/xi31L2zl8A2pKNMf370PFEy2TdU= X-Received: by 2002:a67:2e16:: with SMTP id u22mr30101186vsu.12.1608175105696; Wed, 16 Dec 2020 19:18:25 -0800 (PST) MIME-Version: 1.0 References: <20201206034408.31492-1-TheSven73@gmail.com> <20201206034408.31492-2-TheSven73@gmail.com> <20201208114314.743ee6ec@kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com> <20201208225125.GA2602479@lunn.ch> <3aed88da-8e82-3bd0-6822-d30f1bd5ec9e@gmail.com> <20201209140956.GC2611606@lunn.ch> In-Reply-To: From: Sven Van Asbroeck Date: Wed, 16 Dec 2020 22:18:14 -0500 Message-ID: Subject: Re: [PATCH net v1 2/2] lan743x: boost performance: limit PCIe bandwidth requirement To: Florian Fainelli Cc: Andrew Lunn , Jakub Kicinski , Bryan Whitehead , Microchip Linux Driver Support , David S Miller , netdev , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 16, 2020 at 8:01 PM Florian Fainelli wrote: > > x86 is a fully cache and device coherent memory architecture and there > are smarts like DDIO to bring freshly DMA'd data into the L3 cache > directly. For ARMv7, it depends on the hardware you have, most ARMv7 > SoCs do not have hardware maintained coherency at all, this means that > doing the cache maintenance operations is costly. This is even true on > platforms that use an external cache controller (PL310). Thank you, that's quite fascinating. The functions my armv7 spends most time in during ethernet receive (eg. v7_dma_inv_range) do appear to be just nops on x86.