Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3974498rdb; Mon, 11 Dec 2023 05:40:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHjI1W/lsyX05pyg5OrQC7QX8ibcHZy9jJWpKJ1R4SzfWLsB/LBfGP4laKcVkW0/GJgAx++ X-Received: by 2002:a05:6e02:1949:b0:35d:5797:4d32 with SMTP id x9-20020a056e02194900b0035d57974d32mr7728321ilu.23.1702302037091; Mon, 11 Dec 2023 05:40:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702302037; cv=none; d=google.com; s=arc-20160816; b=bzmoSvZWanmGYHrFizTXxuqJuawzpE61kp0mGcNOJGOZ7psD9qeN/MTLGO3HMzpUTC gDpskOWX9XfVhr3YIvJ/I69gwITjTfHwp7L2hkybXCRnoDPn2fs9osbLdzTcgHPQhq5W rSSJrrqyFdmT2PV6TZktU8Kn8dONzPLAN+ORVF1Z3jHGn7qFzP8bfvQDiExkCNF8a8Sh Gga/QJdlCft+CPUPxm3OOhc9cxpABwvju0gRl7Yi6DkM7wzVY664eYqwNCnXdRdPkFDk c3dhhGDgU7TCCjevI5xfniZsoMPcct0tArUozUueL/TBzhQ8BId0vqOQh74A1xw+roeL U8nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1DOYBiSnMBUZpB8aPlwqoVslXzDkYwM7n0lC23HDZjU=; fh=yrFqorJb+YX2CtsDyk2kz7jcBQNZMtRg641H4AhZ5BQ=; b=hhUnpckespEmGHae7o8izgxtHITUdRchBp0Za6L1zWKQPB9ZYAFxO2LDqr7Fms29bV HiRVVAuVrfFXhvDULGlpm9NMBrSEvgP7KzbYirNgyYkNsTb8UfM53ioeMgSjuaLwsN4K kbRghxHwud2ZqST5hj3u+QCwEZBCnJOZJSXQtNFTUsecY4F3ZyNXjX3cVjDga1GH/oJR kYdjDWoItpT7fePf4TAZPemzPv6t4w62KMzHuu4p42kUuOSR66t6Ozm5M8BtpjGUMQQI hykrxZ3Acatu+5LQ/EJrBQzvq+ijxfPQNOE6c7h63yGMp0M49OR03/1zbY01SGROaLXd qoZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hpOdkLMS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id k124-20020a632482000000b005c6aa4d4a0esi6009121pgk.801.2023.12.11.05.40.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 05:40:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hpOdkLMS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id CC6EB80606D3; Mon, 11 Dec 2023 05:40:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343664AbjLKNkH (ORCPT + 99 others); Mon, 11 Dec 2023 08:40:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343631AbjLKNkG (ORCPT ); Mon, 11 Dec 2023 08:40:06 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D75A2E5; Mon, 11 Dec 2023 05:40:12 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a1f6433bc1eso642048266b.1; Mon, 11 Dec 2023 05:40:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702302011; x=1702906811; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1DOYBiSnMBUZpB8aPlwqoVslXzDkYwM7n0lC23HDZjU=; b=hpOdkLMSt1RyI9O1R1wm6OMHxty6zNq50Bs7jaoDW5EjOg58xfp6XrXY/Yj5tSAvIE P30gYgxz+hQFsVyYNa0Kqk7d0A864v/L8cajZpK2be3f5u+k+oWFXAsBs7VgK0wulFWD b4gnQGhq5VlhdkqRQvglu+6suJTg0WNjx6Le4ZMvGlA2aTV9L0KVWGSU1/n/cMLTerpu a/KI1lLYr2OHNvX+rBzed6NX7gmo6k8pakUs92zuWQR/aufhJmaXgbzFXRlJ1T/qVihF Zj742/oi9h1wMW9s7Oeo6HWz7bJRlnxoxP532EoAtRhkz8dykE3S0Med6OhwFx51d1h5 Ee/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702302011; x=1702906811; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1DOYBiSnMBUZpB8aPlwqoVslXzDkYwM7n0lC23HDZjU=; b=klaco6CzWTigCXFUqbs1E+gyVqqstolEYx4Z1kzU8LCEXZMyGRwLujyHgePweGdf2X xCoVdCR3DgIhMGZAwDoKKJaEe7NYcgK+ELuhXL9+YXgbLJHLhCArs2EgZpZv6YCWzymo wUQ5yR7/ZGS3HhU4zy3I5OU4MTu34syzpmlNsb9kaqch5SLQmI/rKlvGbJ1FrmSkMc9p a9has4aEGcRXjNsdQCKAOEfFAkgYhCPQNApfoqfXtPyzEl924Qfsh0aPjC3cCeTN4BPy t58KQZGZVYioN6M37vTyu+TYwGjjQfcCVIAQQJrflbD+2jDI2XMzU45IqeCwdtPrr9pr gawg== X-Gm-Message-State: AOJu0Yx7YK/P0S51GpPNleI14Hidu8NIZjEI+D30rAIv54QM3ERIYcKw 3G1JkD/j9YN4smd+G7Th84U= X-Received: by 2002:a17:906:241:b0:a1e:842d:ccd5 with SMTP id 1-20020a170906024100b00a1e842dccd5mr3960239ejl.48.1702302010984; Mon, 11 Dec 2023 05:40:10 -0800 (PST) Received: from skbuf ([188.27.185.68]) by smtp.gmail.com with ESMTPSA id vx6-20020a170907a78600b00a1e852ab3f0sm4911417ejc.15.2023.12.11.05.40.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 05:40:10 -0800 (PST) Date: Mon, 11 Dec 2023 15:40:08 +0200 From: Vladimir Oltean To: Jianheng Zhang Cc: Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , "open list:STMMAC ETHERNET DRIVER" , "moderated list:ARM/STM32 ARCHITECTURE" , "moderated list:ARM/STM32 ARCHITECTURE" , open list , James Li , Martin McKenny Subject: Re: [PATCH net-next] net: stmmac: xgmac3+: add FPE handshaking support Message-ID: <20231211134008.lbtm6pjtufkhtvfj@skbuf> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 11 Dec 2023 05:40:35 -0800 (PST) Hi Jianheng, On Mon, Dec 11, 2023 at 06:13:21AM +0000, Jianheng Zhang wrote: > Adds the HW specific support for Frame Preemption handshaking on XGMAC3+ > cores. > > Signed-off-by: Jianheng Zhang > --- It's nice to see contributions from Synopsys! Have you seen the (relatively newly introduced) common framework for Frame Preemption and the MAC Merge layer? https://docs.kernel.org/networking/ethtool-netlink.html#mm-get https://man7.org/linux/man-pages/man8/ethtool.8.html https://man7.org/linux/man-pages/man8/tc-mqprio.8.html # "fp" option https://man7.org/linux/man-pages/man8/tc-taprio.8.html # "fp" option I think it would be valuable if the stmmac driver would also use it, so it could support openlldp and pass the selftest at https://github.com/torvalds/linux/blob/master/tools/testing/selftests/net/forwarding/ethtool_mm.sh