From patchwork Fri Oct 18 06:39:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Furong Xu <0x1207@gmail.com> X-Patchwork-Id: 13841283 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 46F7FD3C54C for ; Fri, 18 Oct 2024 06:53:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=XZgSPrHkP+5PHa4TM3CPdf/GMcXQ4aZTX0bTblaWKZw=; b=toXg69H2AF7mLa874IcyA1HNlu mta1lpwh1Wscau6OblkqeMmun/It0qVH+oWf/QKTSjpcupwxjHMAlEXcubx1AkX2cXmXfAY+4UbRT YVSdovGSpvC9pMsEjWxytUiz8ejLd6drflcOcLddqtkkQL5w4lW94eEpqEOoZioUwryPMCGasaCB/ mPr6fpXrgEm4QNCB1u4tJ4M1CHhbtffSg8qGZMMWZGsUd+66Q10iZZnxKDKjYEWE4Dlb3a96CD9CA eY57TYPp12wsw9Xin6M+cSJH2rF3HMmBTPPY7XLsEJ9aXNEtcZmydG8zFJZR4tNp/ght6GIMnt66G 68HZjgDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1gri-0000000HEkm-1lxX; Fri, 18 Oct 2024 06:53:38 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1gf0-0000000HAwu-3NfA for linux-arm-kernel@lists.infradead.org; Fri, 18 Oct 2024 06:40:32 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-20cceb8d8b4so11139895ad.1 for ; Thu, 17 Oct 2024 23:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729233630; x=1729838430; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XZgSPrHkP+5PHa4TM3CPdf/GMcXQ4aZTX0bTblaWKZw=; b=bXvuQI4aucojyX/VuzBw2buWZcu78LyFqf2sTLSDtofOsFOU3O57Sp2ahaGK47MHZL oeR6LE7RSGp7MVyexQOvowo4qFEozYll7P+FKxPEHVPMf9Lj96udFlszU2dK6eSK0eDk mxsVEitN8sLs4dK/2gQ81MbGWE/WPMhyYll4rJU9fznauWpcG8TByjx27eBw9e+9kPkC pC6CfvALaJoKd1tgw1Q7IlsW5ojY3cDq/eb0srqPsRWSpgvmp407sOsONKNkj1B0ZR2Z f1VFbjNTBNcWbUmkaGUiqb4GHRJAY2wmt1bAHMeHFMJQ7+mAD8aIqipo4UNSs9XhUBEx x4xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729233630; x=1729838430; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XZgSPrHkP+5PHa4TM3CPdf/GMcXQ4aZTX0bTblaWKZw=; b=b2wtUODGYLNjMX56C6lyjlT+hLUhSMliccecTr6vYRj8h4shFO0C8Bzz4nHiSMPKHT nlo1oaUyNXQ2okCWhEFsy//rUysieghJvDvznxq6Kbn3zShycS1iGBnv5uLr2AjNP2B8 tYNKP3ZdymmMD5ERKykeeCBZlDVhEaVuaZFQVBZTxyrxfwOV3zlZSw/ewRmHS7mWIlJv XwymaOP32x60fBS3GUfltxcFOdJB0k9tVoWU9a+SscLa7vyDzJPOSAtkgoBLClKXfG0/ OKaFZtmk0SEhBE1mY24W+63+FFdS2aITiKhpaTmbK1NWh0FkaYV1K8w44RorCb7bQnyK NMkA== X-Forwarded-Encrypted: i=1; AJvYcCU3BNZtgHt0tLNvbHjfFGD7ebUr3AdSUaBoQow90L2SjutDWCAsyY3w9EQc07vISWdxm9aGrOEzpRnAwHYkCEk/@lists.infradead.org X-Gm-Message-State: AOJu0Yzj82cQU4X3SzwaM5wJmfS/KqDETxg/cRcI6Wmo+k/gtQuWGkCu VM56dHh6FXgpmte6YIlITjW7vYlIs3hf0sz6LSaRrMJIBKmczyHA X-Google-Smtp-Source: AGHT+IESugbPIpWfbBYQesKtzI8163cWBzPYauR2huuOlT53gaEAxREbyE0/wzo69ZzWjSymRoyEzg== X-Received: by 2002:a17:902:c94c:b0:20c:f261:24f3 with SMTP id d9443c01a7336-20d47928b66mr91420885ad.17.1729233629882; Thu, 17 Oct 2024 23:40:29 -0700 (PDT) Received: from localhost.localdomain ([129.146.253.192]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-20e5a74766fsm6285455ad.73.2024.10.17.23.40.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2024 23:40:29 -0700 (PDT) From: Furong Xu <0x1207@gmail.com> To: netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Vladimir Oltean , Andrew Lunn , Simon Horman , Serge Semin , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , xfr@outlook.com, Furong Xu <0x1207@gmail.com> Subject: [PATCH net-next v2 8/8] net: stmmac: xgmac: Enable FPE for tc-mqprio/tc-taprio Date: Fri, 18 Oct 2024 14:39:14 +0800 Message-Id: <947ce15f80c474be286b3f969f21a74b017b89e4.1729233020.git.0x1207@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241017_234030_899934_139D5407 X-CRM114-Status: GOOD ( 12.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The FPE on XGMAC is ready, it is time to update dwxgmac_tc_ops to let user configure FPE via tc-mqprio/tc-taprio. Signed-off-by: Furong Xu <0x1207@gmail.com> --- drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c index 75ad2da1a37f..6a79e6a111ed 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c @@ -1290,8 +1290,8 @@ const struct stmmac_tc_ops dwxgmac_tc_ops = { .setup_cls_u32 = tc_setup_cls_u32, .setup_cbs = tc_setup_cbs, .setup_cls = tc_setup_cls, - .setup_taprio = tc_setup_taprio_without_fpe, + .setup_taprio = tc_setup_taprio, .setup_etf = tc_setup_etf, .query_caps = tc_query_caps, - .setup_mqprio = tc_setup_mqprio_unimplemented, + .setup_mqprio = tc_setup_dwmac510_mqprio, };