Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp42824pxb; Tue, 12 Jan 2021 19:29:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/jPu1CDsVyyaO9ySLmF1x9scYq9PG+km4RZNyPFc+WtM2i075Gsz3PIlM+z5UGKanr/ms X-Received: by 2002:a17:906:1f8e:: with SMTP id t14mr76364ejr.350.1610508563764; Tue, 12 Jan 2021 19:29:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610508563; cv=none; d=google.com; s=arc-20160816; b=ELtcu0lurwdp6wuyzCT7+2xWEP1eTuQw4Gu/lGPUPRiE60mRQ7NTmlEzjWaoq4Ubqo B9ojH1AS6uB/ZI36y/AXXRnQQEzn55OfzGJw1S7G/6iIgi5h6ao0d2KSGkFvr6QX/rgK xVFWG/BFNvjA5MDCMITbf96Y5QAE2x9nCfoeFT4sTx5MHgy0lWUduvu0DTnwBsQoNVlw eE/sd/1rRBY3fLtRbCx9z5OoZ2sIyvY2LonIfzEW82gVsD6y6pFH1iQ2lIwUOSP7tN0/ vUguTHTXJMp+VGMKqEXwXbHcAawk7JTZc4be0tbSNXRWsdoAHIttq95dZdxw/7EtzoJ7 4Low== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=vzZkvenehl/1kgDx5z4tsvVoZJaX4Sat4BCI34E4Ok0=; b=yizLkJ6rs/h2j1XkDFuB7RsKcbwRRdbBfyZ+rHtlhp5jCytN83z5tlMKZHqz2lzaFl s0/qedhMYJnWAgeKLDKhOYu0cwEGtEFgMsp09bnC1zEfIhzKtBi859N9h139qRuush1I tSM3caodgM6HqHnl6Rpr9ORYARq3XuZsFFW+Nsl5yRvGq/x1xP6Xd+9oGZmZnLHsTLdw ZbiaK4ItrCGnFMu2ypI4vQ+j8gozLekGPXYPuo8Vqi5VUUEufm+syKHyyACm7ZKbt+89 Jm3JqjSU2TEjPzV+aLCEjDuE7VYxRQmKgQCUj7gCxy1BaAxR/492fJLXKFC3NfXvGcXH f96A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D0UaCFy6; 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 y17si369193edm.386.2021.01.12.19.29.00; Tue, 12 Jan 2021 19:29:23 -0800 (PST) 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=D0UaCFy6; 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 S1731916AbhALXQx (ORCPT + 99 others); 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