Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA2F4C433DB for ; Fri, 5 Feb 2021 22:40:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7469664FD3 for ; Fri, 5 Feb 2021 22:40:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7469664FD3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:Date:References:MIME-Version:In-Reply-To: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lJRapTTcauzmmK/EMg51iX4ou7zW0aG/5vnN6wInizw=; b=rq6p9EIJM9mODN6rdoZRq/VLU lobgEgXBWtJK7JdUfi84WTHHhu5s3nAfGVwzQrOI46y+r2tKF2oJd+9v/tIxXjveyyas853n2Mo++ 8Q70U2e8r6oej+5XEMSbMLmnXVg9hW6jf8pffHcjspapBwsgezZDf1BvAxNvjWDmd/6aAPU+2lGuu LoVa0yuiarIOrE5TRky7gL2+WCBxrF7yPubf4jin06AdoQrl4bdCmW1+uGKiyWymoil/OE5Q9ErDM rdPLpq3d2nRjLjuP1gUPP267pmUX3T5WjqlWOEaG4UyhidRy75vAwo+3saWfUOOGcMA5F9y3OmdUK K4bWa1oFg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l89l6-0005PH-Oe; Fri, 05 Feb 2021 22:39:24 +0000 Received: from mga18.intel.com ([134.134.136.126]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l89l3-0005O4-6U for linux-arm-kernel@lists.infradead.org; Fri, 05 Feb 2021 22:39:22 +0000 IronPort-SDR: m/3pNZVtNnmxFef6bqyRFCUPW/vGQuTaOvhJ0SEQXtsgp4rJrmvrA4JUoUL2zYUd9PGYsoqRCC xmpLqpuV6wCw== X-IronPort-AV: E=McAfee;i="6000,8403,9886"; a="169171808" X-IronPort-AV: E=Sophos;i="5.81,156,1610438400"; d="scan'208";a="169171808" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Feb 2021 14:39:15 -0800 IronPort-SDR: KFM8S8tiDOmPq7MD68erqsL7cRkFyJbtugSKuT6jXOfB2SS0Ua3XNKA6uUnESEWmyhRTtrCDFC AGacYmQyPwAA== X-IronPort-AV: E=Sophos;i="5.81,156,1610438400"; d="scan'208";a="373541870" Received: from iayoung-mobl1.amr.corp.intel.com (HELO vcostago-mobl2.amr.corp.intel.com) ([10.212.100.97]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Feb 2021 14:39:14 -0800 From: Vinicius Costa Gomes To: Song Yoong Siang , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Jakub Kicinski , Maxime Coquelin Subject: Re: [PATCH net 1/1] net: stmmac: set TxQ mode back to DCB after disabling CBS In-Reply-To: <1612447396-20351-1-git-send-email-yoong.siang.song@intel.com> MIME-Version: 1.0 References: <1612447396-20351-1-git-send-email-yoong.siang.song@intel.com> Date: Fri, 05 Feb 2021 14:38:57 -0800 Message-ID: <8735yap2bi.fsf@vcostago-mobl2.amr.corp.intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210205_173921_429327_925CE34E X-CRM114-Status: UNSURE ( 7.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Voon Wei Feng , Wong Vee Khee , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Song Yoong Siang , Ong Boon Leong , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Song Yoong Siang writes: > From: Mohammad Athari Bin Ismail > > When disable CBS, mode_to_use parameter is not updated even the operation > mode of Tx Queue is changed to Data Centre Bridging (DCB). Therefore, > when tc_setup_cbs() function is called to re-enable CBS, the operation > mode of Tx Queue remains at DCB, which causing CBS fails to work. > > This patch updates the value of mode_to_use parameter to MTL_QUEUE_DCB > after operation mode of Tx Queue is changed to DCB in stmmac_dma_qmode() > callback function. > > Fixes: 1f705bc61aee ("net: stmmac: Add support for CBS QDISC") > Suggested-by: Gomes, Vinicius Just a nitpick/formality, I would prefer if you used: Suggested-by: Vinicius Costa Gomes > Signed-off-by: Mohammad Athari Bin Ismail > Signed-off-by: Song, Yoong Siang Patch looks good. Acked-by: Vinicius Costa Gomes Cheers, -- Vinicius _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel