From patchwork Wed Nov 16 16:49:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 13045563 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8832C4332F for ; Wed, 16 Nov 2022 16:51:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233247AbiKPQvH (ORCPT ); Wed, 16 Nov 2022 11:51:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239139AbiKPQuj (ORCPT ); Wed, 16 Nov 2022 11:50:39 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3BE05B580; Wed, 16 Nov 2022 08:49:22 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4058161EEF; Wed, 16 Nov 2022 16:49:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64EA0C433C1; Wed, 16 Nov 2022 16:49:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668617361; bh=3PXc8b0NW5v6xJidUcpApot9Eggk1dZUefh1V9dUkp8=; h=From:To:Cc:Subject:Date:From; b=fWk8VSQG4LrhUsu7cg1IKndN3Hob3rGNPaPU0wO8msrpAkSsfS/TYV/UszE0e9yzZ IvesQNWSpPJeiAZVOZ6WKDKQCT1UKLsL/JUXDEXbjizo8hekz+Vh81P/x1ObI6ZXno 9bN7z29cykEGY0k+2jLp81Yf2Z8kKjV6W/nrifHfqs1kEKkKB0i9IVVTzPWE4Xiq+h AfBCB/7K2iDKihV1gSs7zdkLtVhZUVQVoc6Lwt9E3L8TeqCFYEj8FR5s5SNWF+I3xG j/BC1uI6gvumL/2BD960NXColdrzoiaDIYWp592eQhn77lcmggLs7P9BUvf8fdme9j YBup39MHr1ixA== From: Roger Quadros To: davem@davemloft.net, kuba@kernel.org Cc: edumazet@google.com, pabeni@redhat.com, vigneshr@ti.com, linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Roger Quadros Subject: [PATCH 0/4] net: ethernet: ti: am65-cpsw: Fix set channel operation Date: Wed, 16 Nov 2022 18:49:11 +0200 Message-Id: <20221116164915.13236-1-rogerq@kernel.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi, This contains a critical bug fix for the recently merged suspend/resume support that broke set channel operation. (ethtool -L eth0 tx ) Remaining patches are optimizations. cheers, -roger Roger Quadros (4): net: ethernet: ti: am65-cpsw: Fix set channel operation net: ethernet: ti: am65-cpsw-nuss: Remove redundant ALE_CLEAR net: ethernet: ti: am65-cpsw: Restore ALE only if any interface was up net: ethernet: ti: cpsw_ale: optimize cpsw_ale_restore() drivers/net/ethernet/ti/am65-cpsw-nuss.c | 166 +++++++++++++---------- drivers/net/ethernet/ti/cpsw_ale.c | 7 +- 2 files changed, 97 insertions(+), 76 deletions(-)