From patchwork Fri Jun 26 18:17:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 191886 Delivered-To: patch@linaro.org Received: by 2002:a54:3249:0:0:0:0:0 with SMTP id g9csp646916ecs; Fri, 26 Jun 2020 11:17:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzS7mBNEi87PdlTvE/E3pntXIzBMrIqUJXN2OpYBaehkuuGwasaIp+y+53wrSZaYVhd7e6k X-Received: by 2002:aa7:c504:: with SMTP id o4mr4540715edq.311.1593195467588; Fri, 26 Jun 2020 11:17:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593195467; cv=none; d=google.com; s=arc-20160816; b=Y78NbiVTWN3SkrvUXupDu14kFvFKHSmBluMxZabAmXwC8K2ymtMIl9Ev0s7tPPQG2z FEDPqfecHyuS+zyi3hFXixWR27RxDLmoxhTqAkQCjTQiXBshU4t6Mr9x43+ig1u1Iwss rCyUyg8e47eYf+F5NMUMrGkGDymvSCDRBFHThFR7iO3pjJK5P1AEhjoNhpBwBpJ3NaJJ m+8+LEAHTlsJtP+/b/AH2aBfNUnjD0BnmwcwjSO691mcgdA4D8tpa61So5hpkIe1h5eB IBuYEaajQBxtsjtg95+lSSCc/nNx8GoOrRiaVwjzcPHNAo5gKr1ZN3Zb5dC5pA6qGpqP bmcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=phYtIIqn4y5a02HhamR20fkUSyepLjNfKvic75zwtOE=; b=oGrany77ZIu2Wn86nYxryHwFiVzmxDtXo/z7CjVFKZ3Lr3dEPX93GhUycGOqe4ob+d L1RBimWNJn9ZYrhV+PfpsFoOyjjAUacyRpbROouhToXH4Cxibzf41xxMZkL8F0zHBYwb ifRJ00QMReYFMOEHZC44Xje0rQilVircxnjtayTsP/Fsu5Su1w8p112lWTjiCvrN4Vl/ xAph6bUV9tN3KWBk3AF/UW7XEHKAr6lnvIS6BX0BYERQzYnwUZBs1jkxCDHloCK2Ja2O K9FyAlL6VsTSk0ls9EJe98S0H0r8FbLSKs5HtjnVRSAyts4lnyXvkxLbbo+VFb5GP6xz Y2eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=fgF3SFL+; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v7si13555565edd.252.2020.06.26.11.17.47; Fri, 26 Jun 2020 11:17:47 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=fgF3SFL+; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726506AbgFZSRq (ORCPT + 9 others); Fri, 26 Jun 2020 14:17:46 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:59806 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726409AbgFZSRc (ORCPT ); Fri, 26 Jun 2020 14:17:32 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05QIHI0L115330; Fri, 26 Jun 2020 13:17:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1593195438; bh=phYtIIqn4y5a02HhamR20fkUSyepLjNfKvic75zwtOE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=fgF3SFL+v+V9x7x4iX2KJi0C2cz/f3nsgakc0bR9StRBKFmPir7nVkQgyf7KHT9yx AxJbbPQYNb8tF0bRfMPw+MJRFta3Vzgk50Zi/e8j6hMHE8cytHGByz6bPLLS5kWm2O 4Ixqjsw2BoqHp8CeTdCy1GHgsx3KRHUQunay7aJ8= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 05QIHI4t058732 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 26 Jun 2020 13:17:18 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Fri, 26 Jun 2020 13:17:17 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Fri, 26 Jun 2020 13:17:17 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05QIHGBO107617; Fri, 26 Jun 2020 13:17:17 -0500 From: Grygorii Strashko To: "David S. Miller" , , Jakub Kicinski CC: Sekhar Nori , , , Murali Karicheri , Vignesh Raghavendra , Jan Kiszka , Grygorii Strashko Subject: [PATCH net-next 4/6] net: ethernet: ti: am65-cpsw-ethtool: skip hw cfg when change p0-rx-ptype-rrobin Date: Fri, 26 Jun 2020 21:17:07 +0300 Message-ID: <20200626181709.22635-5-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200626181709.22635-1-grygorii.strashko@ti.com> References: <20200626181709.22635-1-grygorii.strashko@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Skip HW configuration when p0-rx-ptype-rrobin is changed as it will be done by .ndev_open(), Signed-off-by: Grygorii Strashko --- drivers/net/ethernet/ti/am65-cpsw-ethtool.c | 1 - 1 file changed, 1 deletion(-) -- 2.17.1 diff --git a/drivers/net/ethernet/ti/am65-cpsw-ethtool.c b/drivers/net/ethernet/ti/am65-cpsw-ethtool.c index 8c4690f3ebcb..f7b33875a385 100644 --- a/drivers/net/ethernet/ti/am65-cpsw-ethtool.c +++ b/drivers/net/ethernet/ti/am65-cpsw-ethtool.c @@ -741,7 +741,6 @@ static int am65_cpsw_set_ethtool_priv_flags(struct net_device *ndev, u32 flags) } common->pf_p0_rx_ptype_rrobin = rrobin; - am65_cpsw_nuss_set_p0_ptype(common); return 0; }