Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4137170yba; Tue, 7 May 2019 12:45:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqza2ThfRkMdV40lhoTvGbyJmeS24W/1hN7qq8DIfLycgxitQ0m61/6bbvTLK7LdLFlFiPo/ X-Received: by 2002:a63:1f4b:: with SMTP id q11mr4554910pgm.278.1557258311644; Tue, 07 May 2019 12:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557258311; cv=none; d=google.com; s=arc-20160816; b=hWuh4Zeq7RF/NHzSPhpNqx1jtnSk0zo3Dt0vlc5+QSkxMxFqhRkVbNOBLD5Iuh6yM1 bNKhcc4RlWbigLn9lIbT0/l2ZbS448cCrXBsVj2DkbsPfHMhyASMw8BE7MYNW89WirBu oic8/a+o+mYUzQV+WNiN08PUnVKKcCjYIkOzn62oS6PlizqO8K8otTX9A18gv0KQV9FA TLRdMKzjLocEuuo3SGVlMotvEhNPSgMCqjo2e0jBDb4nC9ND3chUxnfZrpWkgjhwknCP fPluHKCbLHyGcixVLWebgr5bcv9bsqNJJESrrXApQ76VCUVtta1Y47V//Stz4+VFZlJJ scCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=NNrhrtQkGeGcDwH+Ugb0vE2NVRpKBDiZnhRDFm4AkQY=; b=HxVhJ0pJYeVVlx8Ya5ucfjO9t6OoHugZn0jj+gb8F0Edn4vK+M6lnVmNcW0VTSwUUv 6b7bOo6Tu6mfdKYTlILw/Tt11n8mDi8FKoaQcKYW5M3rJnjk6ulI0P2b+GvmLC8iqujI LbnViMZ37N7S/sFXOPnCOK7Vjd0K9ME83Wid2hRuSaZ/f3OCS3aUuanVOBMP8Q9WOIiY +c6m52VnXUk3WJaY1ba4GEdtud/QE4Z7gMv6yGKUP/+4ckkayeHxk6SPww5cuw2FaQPH ncobR+h+P+AX29jIeQt5FOCGJyChDhwGUvwuYEODsQSkGF4tZCkwtlZgnej83twCKxDU cc1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z8si20398353pgh.82.2019.05.07.12.44.55; Tue, 07 May 2019 12:45:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726576AbfEGTn7 (ORCPT + 99 others); Tue, 7 May 2019 15:43:59 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:33610 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726360AbfEGTn7 (ORCPT ); Tue, 7 May 2019 15:43:59 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::3d8]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 676D614B8AF42; Tue, 7 May 2019 12:43:58 -0700 (PDT) Date: Tue, 07 May 2019 12:43:58 -0700 (PDT) Message-Id: <20190507.124358.1158001675039394639.davem@davemloft.net> To: maxime.chevallier@bootlin.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, antoine.tenart@bootlin.com, thomas.petazzoni@bootlin.com, gregory.clement@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, stefanc@marvell.com, mw@semihalf.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, jakub.kicinski@netronome.com Subject: Re: [PATCH net] net: mvpp2: cls: Add missing NETIF_F_NTUPLE flag From: David Miller In-Reply-To: <20190507123635.17782-1-maxime.chevallier@bootlin.com> References: <20190507123635.17782-1-maxime.chevallier@bootlin.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 07 May 2019 12:43:58 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maxime Chevallier Date: Tue, 7 May 2019 14:36:35 +0200 > Now that the mvpp2 driver supports classification offloading, we must > add the NETIF_F_NTUPLE to the features list. > > Fixes: 90b509b39ac9 ("net: mvpp2: cls: Add Classification offload support") > Reported-by: Jakub Kicinski > Signed-off-by: Maxime Chevallier > --- > Hello David, > > This patch applies on top of a commit 90b509b39ac9, which is in net-next > but hasn't made it to -net yet. > > Thanks, > > Maxime > > drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > index 25fbed2b8d94..1f164c893936 100644 > --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c > @@ -5040,8 +5040,10 @@ static int mvpp2_port_probe(struct platform_device *pdev, > dev->hw_features |= features | NETIF_F_RXCSUM | NETIF_F_GRO | > NETIF_F_HW_VLAN_CTAG_FILTER; > > - if (mvpp22_rss_is_supported()) > + if (mvpp22_rss_is_supported()) { > dev->hw_features |= NETIF_F_RXHASH; > + dev->features |= NETIF_F_NTUPLE; > + } As Jakub said, this definitely looks like a typo and this should be hw_features.