Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2586124pxk; Mon, 14 Sep 2020 18:27:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxB+U5uYUVJGvFOF+FcWU6VQhbRtIriJg9vy2ys5PcKXiOKtlnp84KfRFbgwx8Z5USqNSS9 X-Received: by 2002:a17:906:a1d8:: with SMTP id bx24mr17150334ejb.161.1600133278290; Mon, 14 Sep 2020 18:27:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600133278; cv=none; d=google.com; s=arc-20160816; b=lB5P959PKOJPABbHhluiB9Ry5/lvOGy5DTMEzCtHEBFtRK9TnLGyDQRqX24bzIj8JR JJQ1HqfIHBdjRio5tJHab7d7Lvc8scer7OR0gNhWlWUHhKxifgP+q80G0lPqEd1efLUo tY/FC29sBvLzTPdBJQlxz3A8G//RdL6wADhfnxlnSvZqbeDu5vtTtwNeTOPOlC9rqqR8 ekNX8VOHwp4aBXjGxoS/WBM+lHboLMc6vBz9sr5vJ0jTmTDZ8YH9McPc0aRdeGXF2ctD NUesrH3fPGgs02ylaOAZ8k0a+FW71jtnzWOYvPFbcloDm1VuovBnRaAAL3yBf6omBnWW BbzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=cMlKvM6ySiVdsJWcxpq+n8BEbX4K74HkKPa5Ny1rs98=; b=Ecm2dmsr+pbULxIZsaUcKXMP2qCffTLgzTr+Y+8EF2An20mfh7f9l86Lsq5eWwmyPB 1cuqsJ97zasArTKCtS9zCmLXPxNCJ6d3cE4jrLchJW00cEQKAJBJ/8cdQ0s77/QvWK2O lBYd6cLRmZaAQ4nTp9MB2LBQJ+s0DqpHIy40KD10YJMpA5YmJoVe3RE0kvPsdyNHj14b pEvgYCZLD4fN+JC1qq7sJaVO3xJVnFH1jEAVMPlPTJuUcxOlYa9+Y+wOxcCrZL6Qq8sb a655aX0PM2K8yKHyJDsOe2lfmA/EE87RuFc0Ik3Fuu9ciHrUd6zR+kjvNltHF73BIBb3 PHKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d25si9265702edn.340.2020.09.14.18.27.36; Mon, 14 Sep 2020 18:27:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726086AbgIOB04 (ORCPT + 99 others); Mon, 14 Sep 2020 21:26:56 -0400 Received: from mga17.intel.com ([192.55.52.151]:19876 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725999AbgIOB04 (ORCPT ); Mon, 14 Sep 2020 21:26:56 -0400 IronPort-SDR: ACLzazRlii4pXL+zz0yuIApwvt9VfsIoiKsZnb3H3tXIxJ9ozAqJ0sYVlsuGCmSBWRYIP0OzBD 7tv2BL7IODmw== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="139195469" X-IronPort-AV: E=Sophos;i="5.76,427,1592895600"; d="scan'208";a="139195469" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2020 18:26:55 -0700 IronPort-SDR: X1mLw+WKIcGdRUEAS6YE3OAgd0yykakJDcHVHbcztrxjTp4xUteXKRmpVAqN8mjkKphG9dntir efLOrLzVs3Rw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,427,1592895600"; d="scan'208";a="345632589" Received: from glass.png.intel.com ([172.30.181.92]) by orsmga007.jf.intel.com with ESMTP; 14 Sep 2020 18:26:50 -0700 From: Wong Vee Khee To: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Maxime Coquelin , Jakub Kicinski Cc: Joao Pinto , Arnd Bergmann , Rusell King , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ong Boon Leong , Voon Wei Feng , Wong Vee Khee , Vijaya Balan Sadhishkhanna , Seow Chen Yong Subject: [PATCH net-next 0/3] net: stmmac: Add ethtool support for get|set channels Date: Tue, 15 Sep 2020 09:28:37 +0800 Message-Id: <20200915012840.31841-1-vee.khee.wong@intel.com> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set is to add support for user to get or set Tx/Rx channel via ethtool. There are two patches that fixes bug introduced on upstream in order to have the feature work. Tested on Intel Tigerlake Platform. Aashish Verma (1): net: stmmac: Fix incorrect location to set real_num_rx|tx_queues Ong Boon Leong (2): net: stmmac: add ethtool support for get/set channels net: stmmac: use netif_tx_start|stop_all_queues() function drivers/net/ethernet/stmicro/stmmac/stmmac.h | 1 + .../ethernet/stmicro/stmmac/stmmac_ethtool.c | 26 ++++ .../net/ethernet/stmicro/stmmac/stmmac_main.c | 135 +++++++++--------- 3 files changed, 98 insertions(+), 64 deletions(-) -- 2.17.0