Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp399847ybk; Sat, 9 May 2020 06:19:23 -0700 (PDT) X-Google-Smtp-Source: APiQypIJCRfEYyAQgDywrQWZ9qsv1MmCKAerajFNN0b4exdaBsRw9FCZ+z51pss59xgJqdMU2KoS X-Received: by 2002:aa7:c401:: with SMTP id j1mr6060715edq.31.1589030363410; Sat, 09 May 2020 06:19:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589030363; cv=none; d=google.com; s=arc-20160816; b=0SNRyy8KXRSLqz2T4LPHIlnZ9MoCAHTuURgOWwIJfHBZaPOK6zo55u/W2H35e7mCpb /lc4ESE7BOSYmKnvsUvmBMdzUGKuN73SzjSAv8LBCZ9LuwaXCtJCB7u51DGB5vIcxWGp i6zj4sZc1vwQS06qrt/Shi6wubT3EuWOdt+g5fMdzhPh7LNWyZSOfyF9uWcaPn45fIrT HunHYW9HvbWKtkppLBeti9UngSdDnPRwA9f3VvV+v1oWL1eFztg+Je+yTv7L2fJEqKOw j3Jw0JHADwAjGdurUH2QIwzeST8gjOi/m1tTobxD7SzqIOKn80ElAtv3Td7k6TxPQfX9 +oDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=fXszUZPGL30pBHLQXJciSiK0fXjuwaWRz9TKtjnhSaw=; b=tg5YmducVv2HF3Yi8qxDWwnWEqXos8p3LsRy8nssQXGa8jtqNLYoHGvKKujYo0Fxgx eS9PZJRSbJyIcxVY2xp2swUGLCsyqy7WbSUqtLQxaE2Iag2s4snpaSgeb7bGA8YTzlTG ZSVEAYDJAiUjnyaex881NJM9YSpDS9YT45BEYmahUi4T5Z9ivFpTlNVxe5RNRyB+xi/N 6nftVKY/2ovvWtq7SIe+1mcOD2eWEyC8fiqUIGMgBn959My66mcJgwi2jj9e4ZR2PUcY T6dVqHwTiG2hbdjrKh1iPLVETuf1c3GtttMNYNUDP4qjRcl0LLnss3J1BayKpfzcUL0W 0B8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CPtZJNRX; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lw9si2626697ejb.175.2020.05.09.06.19.00; Sat, 09 May 2020 06:19:23 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CPtZJNRX; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727789AbgEINOq (ORCPT + 99 others); Sat, 9 May 2020 09:14:46 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:37313 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726891AbgEINOq (ORCPT ); Sat, 9 May 2020 09:14:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589030084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fXszUZPGL30pBHLQXJciSiK0fXjuwaWRz9TKtjnhSaw=; b=CPtZJNRX7ShXyFAVK5/r0kU4xnzKpK5YIvTmqF0lHRiehpN+3/duCyBtChcyUleXAOu0in 934hj001LVxJYTPXgh+Gy2WagBW+AV2Nxbf3Nbw9dUMgAV3ccg7RdylmGpe85l9BNBmPye sAPZdNyLgLdnfe+GOH2/wgNwZqgiETU= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-121-BFQKUe0nMrKskE98CWEDmQ-1; Sat, 09 May 2020 09:14:43 -0400 X-MC-Unique: BFQKUe0nMrKskE98CWEDmQ-1 Received: by mail-ed1-f71.google.com with SMTP id b24so1717064edx.22 for ; Sat, 09 May 2020 06:14:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fXszUZPGL30pBHLQXJciSiK0fXjuwaWRz9TKtjnhSaw=; b=iujFQS2zfBNgppOc6NUE16gsJK2kYnlD63srnxDWTWeI9TY2j9c3adQyAwmUU9jhSp ACPbionEeIRuld19BbtK8syQ4wU7BUvJMi8X+hhtFcJ9F+SyQ70XCjGUh5EAp3hjnS17 6I1XN4mylqn1uhggpuMk/WSB1FPuRUxYdW9PKdSr2FVAdrpAN+NdarOojjCjakomRs2a VS8WrDGOfgU6j6l3Sq3IDIa0FlxdRJKnwVLvsmB+spiT1FAME3pR7DJbQw/zdyU76pkN jyI0SZwMLs0EIt86jVDZwJ10na2+FPbNd+1tvuUDsF5Hc5js9dTWEx1elz16jsKM8amm fnlg== X-Gm-Message-State: AGi0Pubuu68FXaTqSWca0VutPiK3dWkxV8negm9bbzvCuXibvP04DNgG QX1tx3Eq4rnu+4DqLT+YasEI8qFSuslnZc57OXSrKmi9Gnj5Pu8JeTVomQobaQ+qKjS68qIAynd 9HlSRV2LUQsdtajUikzwVQ24FNCF594hrwjPhTc1R X-Received: by 2002:a05:6402:b2a:: with SMTP id bo10mr6360494edb.366.1589030082242; Sat, 09 May 2020 06:14:42 -0700 (PDT) X-Received: by 2002:a05:6402:b2a:: with SMTP id bo10mr6360472edb.366.1589030081918; Sat, 09 May 2020 06:14:41 -0700 (PDT) MIME-Version: 1.0 References: <20190524100554.8606-1-maxime.chevallier@bootlin.com> <20190524100554.8606-4-maxime.chevallier@bootlin.com> <20200423170003.GT25745@shell.armlinux.org.uk> <20200509114518.GB1551@shell.armlinux.org.uk> In-Reply-To: <20200509114518.GB1551@shell.armlinux.org.uk> From: Matteo Croce Date: Sat, 9 May 2020 15:14:05 +0200 Message-ID: Subject: Re: [EXT] Re: [PATCH net-next 3/5] net: mvpp2: cls: Use RSS contexts to handle RSS tables To: Russell King - ARM Linux admin Cc: Stefan Chulski , "David S . Miller" , Maxime Chevallier , netdev , LKML , Antoine Tenart , Thomas Petazzoni , "gregory.clement@bootlin.com" , "miquel.raynal@bootlin.com" , Nadav Haklai , Marcin Wojtas , Linux ARM Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 9, 2020 at 1:45 PM Russell King - ARM Linux admin wrote: > > On Sat, May 09, 2020 at 11:15:58AM +0000, Stefan Chulski wrote: > > > > > > > -----Original Message----- > > > From: Matteo Croce > > > Sent: Saturday, May 9, 2020 3:13 AM > > > To: David S . Miller > > > Cc: Maxime Chevallier ; netdev > > > ; LKML ; Antoine > > > Tenart ; Thomas Petazzoni > > > ; gregory.clement@bootlin.com; > > > miquel.raynal@bootlin.com; Nadav Haklai ; Stefan > > > Chulski ; Marcin Wojtas ; Linux > > > ARM ; Russell King - ARM Linux admin > > > > > > Subject: [EXT] Re: [PATCH net-next 3/5] net: mvpp2: cls: Use RSS contexts to > > > handle RSS tables > > > > > > Hi, > > > > > > What do you think about temporarily disabling it like this? > > > > > > --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > > > +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > > > @@ -5775,7 +5775,8 @@ static int mvpp2_port_probe(struct platform_device > > > *pdev, > > > NETIF_F_HW_VLAN_CTAG_FILTER; > > > > > > if (mvpp22_rss_is_supported()) { > > > - dev->hw_features |= NETIF_F_RXHASH; > > > + if (port->phy_interface != PHY_INTERFACE_MODE_SGMII) > > > + dev->hw_features |= NETIF_F_RXHASH; > > > dev->features |= NETIF_F_NTUPLE; > > > } > > > > > > > > > David, is this "workaround" too bad to get accepted? > > > > Not sure that RSS related to physical interface(SGMII), better just remove NETIF_F_RXHASH as "workaround". > > Hmm, I'm not sure this is the right way forward. This patch has the > effect of disabling: > > d33ec4525007 ("net: mvpp2: add an RSS classification step for each flow") > > but the commit you're pointing at which caused the regression is: > > 895586d5dc32 ("net: mvpp2: cls: Use RSS contexts to handle RSS tables") > > Hi, When git bisect pointed to 895586d5dc32 ("net: mvpp2: cls: Use RSS contexts to handle RSS tables"), which was merged almost an year after d33ec4525007 ("net: mvpp2: add an RSS classification step for each flow"), so I assume that between these two commits either the feature was working or it was disable and we didn't notice Without knowing what was happening, which commit should my Fixes tag point to? Regards, -- Matteo Croce per aspera ad upstream