From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04F8AC433E0 for ; Tue, 12 Jan 2021 23:19:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A593723123 for ; Tue, 12 Jan 2021 23:19:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388136AbhALXTZ (ORCPT ); Tue, 12 Jan 2021 18:19:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:41588 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730671AbhALXTY (ORCPT ); Tue, 12 Jan 2021 18:19:24 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D44C523123; Tue, 12 Jan 2021 23:18:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610493523; bh=p4DckI6ojqTBJjsLgAhtVdszW1hMcOFjGhIjlUEUegY=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=Vf3nPc5inL5kKxJl15NhQNKtpBswixRYf21hWTGTZZvsUn1FEzO/FWkmqHgUwj5kP gDxpqWGWuB/lYHDe9SExxh7S8WX/dOPDFmQOdyP9nFF/NV9RJTsCZpuh8p8hM1VDxc PnU4rbZMv0ti+FTz6tBuoclM9Xmyb3imReA6GvtG+At4hsDph0deWCv0NtGmfVl2xN 4+1F0kBEBeZ6A1+e6oNcwh/NUf0C/Z078eZFSJ1J1Wu6a1gNMAS9OAHYkV8OWg2aCN wIqnXYp4AbBj3dh34IWcmlsBHqM4AWjq5Hmi6JJPJORgXZAXpgMgkYYBA64E+LbhD5 4MFvuHw2ounPA== Message-ID: Subject: Re: [PATCv4 net-next] octeontx2-pf: Add RSS multi group support From: Saeed Mahameed To: Geetha sowjanya , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: sgoutham@marvell.com, davem@davemloft.net, kuba@kernel.org Date: Tue, 12 Jan 2021 15:18:41 -0800 In-Reply-To: <5f140376c36bbe47edeb8784ada3b74fafe05afe.camel@kernel.org> References: <20210104072039.27297-1-gakula@marvell.com> <5f140376c36bbe47edeb8784ada3b74fafe05afe.camel@kernel.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2021-01-12 at 15:16 -0800, Saeed Mahameed wrote: > On Mon, 2021-01-04 at 12:50 +0530, Geetha sowjanya wrote: > > Hardware supports 8 RSS groups per interface. Currently we are > > using > > only group '0'. This patch allows user to create new RSS > > groups/contexts > > and use the same as destination for flow steering rules. > > > > usage: > > To steer the traffic to RQ 2,3 > > > > ethtool -X eth0 weight 0 0 1 1 context new > > (It will print the allocated context id number) > > New RSS context is 1 > > > > ethtool -N eth0 flow-type tcp4 dst-port 80 context 1 loc 1 > > > > To delete the context > > ethtool -X eth0 context 1 delete > > > > When an RSS context is removed, the active classification > > rules using this context are also removed. > > > > Change-log: > > > > v4 > > - Fixed compiletime warning. > > - Address Saeed's comments on v3. > > > > This patch is marked as accepted in patchwork > https://patchwork.kernel.org/project/netdevbpf/patch/20210104072039.27297-1-gakula@marvell.com/ > > but it is not actually applied, maybe resend.. > > > you can add: > Reviewed-by: Saeed Mahameed > > I missed Jakub's comment, The patch is already applied, i looked at the wrong tree. Thanks.