Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6667407rdb; Fri, 15 Dec 2023 05:21:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6Jq+Q4AS4t8UdFh5jdFpj56WQuS7oLCFzQ34on/9Kj9eKo/NcaVPtU/ASFiAMFajkPBOw X-Received: by 2002:a05:6a00:23d6:b0:6cd:daa5:1398 with SMTP id g22-20020a056a0023d600b006cddaa51398mr6501281pfc.9.1702646486672; Fri, 15 Dec 2023 05:21:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702646486; cv=none; d=google.com; s=arc-20160816; b=hiyUHq0qYwSgrUKFFb/28YGpZZdOA2O5V62bJ5OI42No7npmRkvlbJRgHfjtyQmYSz AgHKir+00HSaiFn6VvXGhamK31pnqnJU3lOz881N2q08c53/znQvCS1q4+nmwm4GBoM6 vXP2xKnHAJhJk7aKFl1aWnbTqFom77fX/JUb3GT73fT3u/lSC05ik66fVsKicHCkpRF0 S3aNpdw8UUnvl4FCHD+3ZfU+taKUFz0Kx9cv27AhYM9ITWLScf2gRbYgaQg+n0vvWO7g KPHzTPdrPBjkS4QWGEqgFeOYseXXtSFxCFMVMFy9+9RxhUcfWdkHPA8B37G+mPKFlcdC qUeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=Hsuwky7JOpa5jWR+hxG9ItMOCDHxR02QHWQH9vXYhoY=; fh=atN1XXIEfyrYF91vXjukw10btm2OohYym78OPztZ9zU=; b=XwqiP2jPJ7pE6WtP2rCNAWF0j9D+3TMKRuQeqB2dg4KVkLZekoS0/MIFI3cTm2MGee 4nYbDfg1GdAOuNXyzRolJT0hY/SKnHKaz6Y4xmWDfEq/929u3Emu90BLJo2lmYmtu4A8 oOZz2+D6Bar0iM19wsjdfJPhKh1Jq6rksXvMKj0c05c5jmWDXFTtOtwBnXT4LvZR5ATw Dia18/HteG90WHp4H0VhX01Mpr+OKObewKPyY8tq80+byov9T2nW8jc0Iwd1pubQns3l BvAQnAIJGZNwRpM65Z5B2eEkv7lWFevVnAjgU7P5aTkWa0LWhc1tLLv7FVRLMLcWXeIu g1jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="HW6L/Br3"; spf=pass (google.com: domain of linux-kernel+bounces-994-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-994-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id q9-20020a63f949000000b0059d25cedc79si13010430pgk.767.2023.12.15.05.21.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 05:21:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-994-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="HW6L/Br3"; spf=pass (google.com: domain of linux-kernel+bounces-994-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-994-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 61321B21692 for ; Fri, 15 Dec 2023 13:21:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D322A2DB70; Fri, 15 Dec 2023 13:20:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HW6L/Br3" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 077C82D7A2; Fri, 15 Dec 2023 13:20:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08BB2C433C8; Fri, 15 Dec 2023 13:20:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702646454; bh=2PCSLccgKFJP6w+u+FbaCCrI0+rCgc7fQ3xwz9BWPzE=; h=From:To:Cc:Subject:Date:From; b=HW6L/Br3QnpUmuYimQrakik2HY3V2zM5OnMMmqucetWBJ26coMrKQ/yxmIFRuG5qe tq8MIBVmL6Ip/UPddbK4pCq6pKO1QsW26KTaUd8/V+/sSQ4ei2J0c2Z/5TuxPF3S9Z 4oBg4t8lBADRLnrTdeW2Vb7vSdMGWk/yQhefudKDNeNdFL+D4nsiSDaucAJZuB6VJ2 5SEdHotlAnILA4kDtD6EAurvdgxeS+8vul+JetFAhCDyfNa+RrFJg33Yn/bJ33szTr WcTtEyNjT0urQaZCY4pMPSh345NjBIx9ANman3J/QuvZ5tCddhojCs23K/Gnf5zdZs 1M6ECLH3yGoEw== From: Roger Quadros To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, shuah@kernel.org, vladimir.oltean@nxp.com Cc: s-vadapalli@ti.com, r-gunasekaran@ti.com, vigneshr@ti.com, srk@ti.com, horms@kernel.org, p-varis@ti.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, rogerq@kernel.org Subject: [PATCH net-next v9 00/10] net: ethernet: am65-cpsw: Add mqprio, frame pre-emption & coalescing Date: Fri, 15 Dec 2023 15:20:38 +0200 Message-Id: <20231215132048.43727-1-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, This series adds mqprio qdisc offload in channel mode, Frame Pre-emption MAC merge support and RX/TX coalesing for AM65 CPSW driver. In v9 following changes were made - rebase to latest net-next/main - merge patch "net: ethernet: ti: am65-cpsw: Fix get_eth_mac_stats" with "net: ethernet: ti: am65-cpsw-qos: Add Frame Preemption MAC Merge support" - drop "\n" from NL_SET_ERR_MSG_FMT_MOD() 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 (6): net: ethernet: am65-cpsw: Build am65-cpsw-qos only if required net: ethernet: am65-cpsw: Rename TI_AM65_CPSW_TAS to TI_AM65_CPSW_QOS net: ethernet: am65-cpsw: cleanup TAPRIO handling net: ethernet: ti: am65-cpsw: Move code to avoid forward declaration net: ethernet: am65-cpsw: Move register definitions to header file net: ethernet: ti: am65-cpsw-qos: Add Frame Preemption MAC Merge support Vladimir Oltean (2): selftests: forwarding: ethtool_mm: support devices with higher rx-min-frag-size selftests: forwarding: ethtool_mm: fall back to aggregate if device does not report pMAC stats drivers/net/ethernet/ti/Kconfig | 14 +- drivers/net/ethernet/ti/Makefile | 3 +- drivers/net/ethernet/ti/am65-cpsw-ethtool.c | 246 ++++++ drivers/net/ethernet/ti/am65-cpsw-nuss.c | 64 +- drivers/net/ethernet/ti/am65-cpsw-nuss.h | 9 + drivers/net/ethernet/ti/am65-cpsw-qos.c | 708 +++++++++++++----- drivers/net/ethernet/ti/am65-cpsw-qos.h | 186 +++++ .../selftests/net/forwarding/ethtool_mm.sh | 48 +- tools/testing/selftests/net/forwarding/lib.sh | 9 + 9 files changed, 1100 insertions(+), 187 deletions(-) base-commit: d6beb085e8ff3d9547df8a5a55f15ccc7552c5d0 -- 2.34.1