From patchwork Wed Sep 20 12:15:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 14265 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4109452vqi; Wed, 20 Sep 2023 05:43:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFN+HTXqoLKf+nOF6Pkx9mkFIRSFkrGgPb3MnC/UySGwF+a3zN4l3k25tBfTx0tTmH35IYs X-Received: by 2002:a05:6358:998f:b0:132:d333:4a5c with SMTP id j15-20020a056358998f00b00132d3334a5cmr2729123rwb.10.1695213811449; Wed, 20 Sep 2023 05:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695213811; cv=none; d=google.com; s=arc-20160816; b=UUPswpxCXzp3ikpqcmAncHcmO4bUEd0gxPrxWP48yxyUK5rIxT94M/1kVr8rgqa+y9 xDCuzJ+wgd/ncL61gIjSdbiwzQsGnLogZKigYpPSan/Xv/CSoWs1AZoYAv5aApQqirpq 47rygNS+vmgxsHLR6pVwsJ+wvuziHiuK+gIKFP1OMOKxgSw4Kid5j86jUMtuo73/+7lt z8dDDuPL6tDmka89jxkOY+xNySj8f5qgvGO2mOmifGypuxHqJWlXXee5Iaz6PD0cEU5L 9NDZqd27hRMfx3WK3XqqcGX4nsCnXEmxPUbOyBbZeNqZzy7ROYJNJximQ3lexSzG+wRO hKrg== 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=bIH6yqOgcP/hiAYnwjgWI0PGiOmA06h7o5LPaengS2c=; fh=Xz1EdoVUu9a6vPcNLulbUrFshvK97XtCMO8IoI5me0Q=; b=SlT3Eg5L1bMOh3CD+mF0fOYBVG+2bxujW3N64Hmutnrb0Db967JxOENfKxCWhWib2B IwQvRM0Du1Xwo9OywcJxwJM6BxMJEe0Yg9afu2b/dFx5zJD9qAnEAIiCILz0XUt3hT/6 DRt4GcOwHC5znZNUINPWrbeeO/e7JEOnfc03HuBpuoT9uRIatoe/55MgdTejV2QnY1iI Oz2LhHctLXsLH3e2lCjqSicQ6QuFpvhKF3HSArRb6UgVjk/fF/WpHL0Ng3QYsvJG24bR 7gDrhrcyYVZT9jcE51PY9I1/+tKBJIJyL5VWqVH6oiShfrTiMqlnZY9yV3wrTPrXm5K4 cSIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sPyy5wUd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id bs8-20020a632808000000b00578086eb5e9si10607401pgb.97.2023.09.20.05.43.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 05:43:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sPyy5wUd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 2695380ECFBC; Wed, 20 Sep 2023 05:15:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235483AbjITMPq (ORCPT + 26 others); Wed, 20 Sep 2023 08:15:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235176AbjITMPm (ORCPT ); Wed, 20 Sep 2023 08:15:42 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B15D183 for ; Wed, 20 Sep 2023 05:15:36 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43D44C433C7; Wed, 20 Sep 2023 12:15:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695212136; bh=H575bRTPoElpINF9yF6RhdCCUTc3Ej/a2wKGdnvU8T8=; h=From:To:Cc:Subject:Date:From; b=sPyy5wUduBlldhulEJTDY75t6fdiJXSP3KwK2MHv8c17A6s+ZbzGWsePv1aAnApw0 NJg6vsazYYm4RbyyYf8pjmt04mn2afoSaDqQ6mDo+wakwADTP7bndm5Cpu42jx1iql DFEplbEoV3r6ZCxZ8rGkE4YUUzLciQO4zuFw740yX1s6qAPpR8KOUKJkgnIXbBYgEm 3CcMbvZ8yeZHMH4Jkg3P5HsQ5w2/xNqfyTHDN86AGT1Z8nnedhfVC50LvyDkaI32mg XJofybMv8ky2cFUH9AISL29f85LNRkg0vj+H4W1SqtWufMS1q2yF7Dne0HjAzxTGax RgFVctd1frv1w== 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 net-next v4 0/3] net: ethernet: ti: am65-cpsw: Add mqprio and frame pre-emption Date: Wed, 20 Sep 2023 15:15:27 +0300 Message-Id: <20230920121530.4710-1-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 (howler.vger.email [0.0.0.0]); Wed, 20 Sep 2023 05:15:57 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777560517534705219 X-GMAIL-MSGID: 1777560517534705219 Hi, This series adds mqprio qdisc offload in channel mode and Frame Pre-emption MAC merge support for AM65 CPSW driver. Changelog information in each patch file. cheers, -roger Grygorii Strashko (1): net: ethernet: ti: am65-cpsw: add mqprio qdisc offload in channel mode 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 | 150 ++++++ drivers/net/ethernet/ti/am65-cpsw-nuss.c | 2 + drivers/net/ethernet/ti/am65-cpsw-nuss.h | 5 + drivers/net/ethernet/ti/am65-cpsw-qos.c | 550 +++++++++++++++++--- drivers/net/ethernet/ti/am65-cpsw-qos.h | 112 ++++ 5 files changed, 745 insertions(+), 74 deletions(-) base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d