From patchwork Wed Sep 27 07:27:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 14572 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2454807vqu; Wed, 27 Sep 2023 00:42:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEIZ/zH4fL6FCVLPhcrTpcvNupqUajpHN5HaKyOI7R54po5fvMKzABUhDReu5qwHkWJka2F X-Received: by 2002:a05:6a20:1013:b0:157:877a:5f4e with SMTP id gs19-20020a056a20101300b00157877a5f4emr916131pzc.55.1695800524598; Wed, 27 Sep 2023 00:42:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695800524; cv=none; d=google.com; s=arc-20160816; b=08NNyoy8r2NcN84CDHHWoIWW2cX1Gsw5jODhY8wNvlOtYunKYB2oS04+jif9tqesFb GBN7M8Q6lzYCpH1KQXoZ43ZVBmdiANdiDbWVJeapvc7wo4JDyQcp5PsgOLLS2nPk5EhS iIFxpmSjnYH1tMlvBDDLBvk5qCnjBePgj0SXegSc5OVyWAqiK25Zyk5Zk9Hf+sOIXnyM RT1rMbdYF9LWi71CXv8twh+XNLNk37+JmVeh2xxh8PsVMo0On+XBlrK1zfC0hE0mFzx4 qH3721Gyn5AzGpWz0T+R8+sztQMQJRVal6VlfUNRcwP/Lpf9bBNZ/tPDVHm1cETQDYl9 EXxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=JKQgP7uOlKy03zIyES5IIaOV/S+ivaXOW3U2hFzEqKg=; fh=Xz1EdoVUu9a6vPcNLulbUrFshvK97XtCMO8IoI5me0Q=; b=F8VTFTU806OoxZP+I4oUNsU3mJfGEvws7gfqHw6qJuRRWqUzK7/L1KK8Xz899XsfdB ZIFeLp/5aVMKNQlIk/0kKH/6m+lqp0pSTBLG4blQgsDBJjLakeBDi3Gfgg4xVPn9BOm5 AQQ2qODW16U5KJP+7L2qGmdCx4e2dJTh6fQkfuV3L7K5j/MCEaJfJNdYKAklrBKDpy2H +tnMh4wWyax2cPMpmgeZTR8FCNp0/e9bsK/HISop3cEl+jERwNd0dYsDH8XoAPnMXFM/ A2FbFRvQCQWX4Ed7ZYYtcHPKn+V85leHfvRJ+vmzXH/ur1urnAlXHXEpBrjezt8teJ1M uKLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="o5+/4tc9"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id u11-20020a170902e5cb00b001bdd35033f7si15979892plf.366.2023.09.27.00.42.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 00:42:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="o5+/4tc9"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 178C08206D74; Wed, 27 Sep 2023 00:28:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229940AbjI0H1w (ORCPT + 24 others); Wed, 27 Sep 2023 03:27:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229633AbjI0H1u (ORCPT ); Wed, 27 Sep 2023 03:27:50 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A75D126 for ; Wed, 27 Sep 2023 00:27:48 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC65EC433C7; Wed, 27 Sep 2023 07:27:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695799667; bh=uXmzZw+CSsAvM8Urfx0gAJMtEEVDIe/sd4WOWNPVU0M=; h=From:To:Cc:Subject:Date:From; b=o5+/4tc91kAuxHqAiFvEgJvVSI9YZ8YNSeL7FNa7zwURbHQTfqqhJYCyDGUSZcF5a 9M/6EfeW+3OgDcu4qpYgq3+w37NS23f67lecD8NOhHK89nlX7F6zDQG74mlZ/IBIAp UShWAJs44HJ1BBURBtegStLXQBZc6Wlo2vDt7MHUO6IBfWfoAsjMXYtZ2BVnOGrWVn ajXirFPtN2riEwzDOKn3G2j2CE/m07z2QbteJjat4c53wM/4A1KZDZMGBBtBWs9Kci uAoiubAVNrkHeEpfkiV9qasEVkVtgrFWzeaORVexcRaDSrnkY8LNCROmUkUYuFYaQO 6Ldn9+wbwPQLQ== From: Roger Quadros To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, vladimir.oltean@nxp.com Cc: horms@kernel.org, s-vadapalli@ti.com, srk@ti.com, vigneshr@ti.com, p-varis@ti.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, rogerq@kernel.org Subject: [PATCH v5 net-next 0/4] net: ethernet: am65-cpsw: Add mqprio, frame pre-emption & coalescing Date: Wed, 27 Sep 2023 10:27:37 +0300 Message-Id: <20230927072741.21221-1-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 27 Sep 2023 00:28:00 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778175731049169286 X-GMAIL-MSGID: 1778175731049169286 Hi, This series adds mqprio qdisc offload in channel mode, Frame Pre-emption MAC merge support and RX/TX coalesing for AM65 CPSW driver. Comparted to v4, this series picks up the coalesing patch. Changelog information in each patch file. cheers, -roger Grygorii Strashko (2): net: ethernet: ti: am65-cpsw: add mqprio qdisc offload in channel mode net: ethernet: ti: am65-cpsw: add sw tx/rx irq coalescing based on hrtimers Roger Quadros (2): net: ethernet: ti: am65-cpsw: Move code to avoid forward declaration net: ethernet: ti: am65-cpsw-qos: Add Frame Preemption MAC Merge support drivers/net/ethernet/ti/am65-cpsw-ethtool.c | 229 ++++++++ drivers/net/ethernet/ti/am65-cpsw-nuss.c | 61 ++- drivers/net/ethernet/ti/am65-cpsw-nuss.h | 9 + drivers/net/ethernet/ti/am65-cpsw-qos.c | 550 +++++++++++++++++--- drivers/net/ethernet/ti/am65-cpsw-qos.h | 112 ++++ 5 files changed, 879 insertions(+), 82 deletions(-) base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d Reviewed-by: Simon Horman