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.3 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 autolearn=unavailable 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 855D5C4332D for ; Tue, 12 Jan 2021 23:17:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5B6982313F for ; Tue, 12 Jan 2021 23:17:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732021AbhALXQx (ORCPT ); Tue, 12 Jan 2021 18:16:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:40292 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728427AbhALXQw (ORCPT ); Tue, 12 Jan 2021 18:16:52 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D0DD823123; Tue, 12 Jan 2021 23:16:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610493372; bh=FmBwcgX4nGV3TRqHyfBaYi3z5rHJ9QE0r4J31C6lwPw=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=D0UaCFy6Cp0B9wJIytQgXvtJrgBgHrzqNIOV9OzRE5hdzVMY6cnzAPxu+odDgxfov OC1wyAm7vQQHBDahkPgwTZgoBVJcbsoTMNzbigLXrGmqwRPwZdsirNiDt4WX2fPWYM nZr6sgxdHyTAOJOMMzQOdzWLUnlKr0Wf0E/W7u9xokCUb5e0enlT6oK2rVkrVGxTjq ge5aTIz4keb1DsyoTzT96BDD5caJdVGV7l3gRZR3FZNVJOJUY+cy5FO098rpFCGxlS +k517Ls1MT/F2z9/RcehPK/BK4ma6oU3HscJT+LNHOnNYsREIiCl7MCTyTctf0NZSR qV/oPYb3dXwvg== Message-ID: <5f140376c36bbe47edeb8784ada3b74fafe05afe.camel@kernel.org> 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:16:10 -0800 In-Reply-To: <20210104072039.27297-1-gakula@marvell.com> References: <20210104072039.27297-1-gakula@marvell.com> 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 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