Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4316752pxf; Tue, 16 Mar 2021 10:25:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw61pZhXxq14dAOyd6fnyuQy0wbKdSZ41IODISeR/y9WCr6dq5OZCdl1+ttRW0mNnEljcMI X-Received: by 2002:a17:906:af6f:: with SMTP id os15mr31116000ejb.279.1615915531966; Tue, 16 Mar 2021 10:25:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615915531; cv=none; d=google.com; s=arc-20160816; b=eT6pgdDR6F+25APZAdzYhSQKLPOjeHFuKDBPvokZyjchcFRK59sUR+FGR0hpSihr4e 0MHlaTe0VI3OJ5oD0yBT/Jf8o1DIY6mwhA7KETiuR0Z0I2y51jTcI7xZhBhUBJyiiFto EbKAZD1Z5FBQAglODwxLTgkK+fNV5Zblx0gOYvbxxOIDtdKwkcVM7etT2UYO5M4cnTBb IsrdcFlmkOfDanmryVngKmqAdHgHy8iVB83CDG8pLK9ZGvFbb5uXKigRjbc2SpxR7RIu paqf5Fii2nPKPWly2NsbznKlrTief7euCIfgwJqAqnqmmDKi/fJZtsuze9ypgrIJTBoP r1eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=mLfrjaEzrCS6c0l31qBJUxsWoQr2AB/4B9OXldZFPKQ=; b=dmowcolAjyBt1d0L5YN8Qm2dPUdTykhYX0oufLLcdOU+xkr9BKTX84KEA+I8o5a/d2 cmqzcCZhwKhk6r7hR5pGMpZ1Zy0McXtnAT/fbeIPAjxW5F08MwrT2YCwx+viAnde4EBs jG5W5Lsju7byeTETXzNmvUIozVyB4UguhXyfEzRrNz7ABi0QMiiyhdN1Lfm4w+50kcoK Zw964HpHj+CjmXV3ttmIVyoI1aiFfitSBFW/bw9AdDOSl15c4vUfcBSfn2136w4IdPit QCkHfx245gWFXiOQG9FP5P7B8s//Xgyw4kmajSkFrMee90HxDkYkA9amP66YsbVaKvZz RY1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iniBsUme; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f13si13584205edd.587.2021.03.16.10.25.09; Tue, 16 Mar 2021 10:25:31 -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=@kernel.org header.s=k20201202 header.b=iniBsUme; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238955AbhCPRDn (ORCPT + 99 others); Tue, 16 Mar 2021 13:03:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:50098 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238978AbhCPRCy (ORCPT ); Tue, 16 Mar 2021 13:02:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 62C3165111; Tue, 16 Mar 2021 17:02:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615914173; bh=Qb1m/E69RDV9XU0xBvmBWK4MHqIfN0kvYAxOecpMK/8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=iniBsUmeJ9bjRyBagWGq6LPk1l+y+NSuAag7Spm3DvmP9WMEXHjAqLzxe/LzklTAc 5Vyj9BfaqjWgVIBjXsKJXaB6NrbtxmYTGzo+F5/DC8n7BZC0H7eh+FtscNe80B6BxR rsYsy1iuFHo+oBOWmXT2HFreHoEpNGACLwOm1wo3gxSuF/Jt7V+W3HPAktRzu8tbTx a9RzgrGAtf6jaG+L5iakmqGV825qv7zGdNVM+3FWzVhCqgw5e/IM/+cgm7kt2nNcYP Y20jhc5eeu6RqamiDoaJb7skFeynRm/dWmSDYHVYeXdD2m/RwPSSTeRML9nuPlO5EA uShtQQtjOewcQ== Date: Tue, 16 Mar 2021 10:02:52 -0700 From: Jakub Kicinski To: Hariprasad Kelam Cc: , , , , , , , Subject: Re: [net PATCH 1/9] octeontx2-pf: Do not modify number of rules Message-ID: <20210316100252.75826dd3@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <1615886833-71688-2-git-send-email-hkelam@marvell.com> References: <1615886833-71688-1-git-send-email-hkelam@marvell.com> <1615886833-71688-2-git-send-email-hkelam@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Mar 2021 14:57:05 +0530 Hariprasad Kelam wrote: > From: Subbaraya Sundeep > > In the ETHTOOL_GRXCLSRLALL ioctl ethtool uses > below structure to read number of rules from the driver. > > struct ethtool_rxnfc { > __u32 cmd; > __u32 flow_type; > __u64 data; > struct ethtool_rx_flow_spec fs; > union { > __u32 rule_cnt; > __u32 rss_context; > }; > __u32 rule_locs[0]; > }; > > Driver must not modify rule_cnt member. But currently driver > modifies it by modifying rss_context. Hence fix it by using a > local variable. > > Fixes: 81a43620("octeontx2-pf: Add RSS multi group support") Fixes tag: Fixes: 81a43620("octeontx2-pf: Add RSS multi group support") Has these problem(s): - missing space between the SHA1 and the subject - SHA1 should be at least 12 digits long Can be fixed by setting core.abbrev to 12 (or more) or (for git v2.11 or later) just making sure it is not set (or set to "auto"). Please fix the entire submission.