Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp42060pxb; Tue, 12 Jan 2021 19:27:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrOoYE0w3dVDd/NL9n5sAy0mlsA+dXP8vHXRTTWs09FMAyaEnqi85xCjI1aSpreOqgsgLv X-Received: by 2002:a17:906:518a:: with SMTP id y10mr50628ejk.323.1610508462539; Tue, 12 Jan 2021 19:27:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610508462; cv=none; d=google.com; s=arc-20160816; b=L20Jil0Be8nlWVFgbLSdvV8fQSZiI8jUZ7Ze2hMxSwGoQEAIy+ID9T3JQfEmEeCPWl 1nAjCajRjojxHANG4vUuy3hMp1dUvMDmcNjwxpikwuSqo4xYCbGH2eswkDXMQJpHnzS+ DlRxMo1sJrPrGCReFZ6SD5fBPg4O1GDNetu/3rHZG9HQ9yfoCETl4wpU/PTTHkahMVvv 0qqHgPRdd689pf3tznVfOyuHmhXual33ZmxUwKnjaub/4qIWO+7sYZHOO1GXaSXlKI5S BHx99SW8qvzuMz9vAsNzX4SaMpcwbhTFY58zGgelGHvgR7RJYpGRsazlrXhcR137n4e/ jNhw== 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=n8YRehrmdw3HomtWJOSwMcSdAtiwmn7pRH+47Z6e6XA=; b=BoXzZ+Hi355hzCSaMmkKE5FnkVK0vEvKrIEmPwnxAcbdbkMy4mFKjh6s3VtV8UQlv/ JBgF/gDSNYD14jI3LrbvFvDOQMBD/RTIE3lGyUcorQTevAxZgDfguL7rv/u1wejkIhFu N6zj9/uoYj6nbyf8OST+24oCMjCtulfKMoQ6P3a8nFTEKMEtsoGSh8JOBQbw8kykQmms 2jMGiow/dKykOUx+oALAVApVr+b3bpvdAq9TrxxRu3LtlSeSeeLAR0Rvc1gzcHRghKff 2E4k75E+2WpPBSk0BFnvCUdpWu8s9XCyV/1/0ewKIZieJgJ6yr8Fn+ofNVNbXU5z8lkj L7eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Vf3nPc5i; 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 c11si386748edy.88.2021.01.12.19.27.19; Tue, 12 Jan 2021 19:27:42 -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=Vf3nPc5i; 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 S2387814AbhALXTY (ORCPT + 99 others); Tue, 12 Jan 2021 18:19:24 -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.