[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <DM6PR18MB2602BAD0AE2BAA007EDC1345CDCC0@DM6PR18MB2602.namprd18.prod.outlook.com>
Date: Wed, 9 Dec 2020 16:53:08 +0000
From: Geethasowjanya Akula <gakula@...vell.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Sunil Kovvuri Goutham" <sgoutham@...vell.com>,
"davem@...emloft.net" <davem@...emloft.net>,
Subbaraya Sundeep Bhatta <sbhatta@...vell.com>
Subject: Re: [EXT] Re: [PATCH v2] octeontx2-pf: Add RSS multi group support
Thanks, Jakub. Will address your comments in next version.
________________________________________
From: Jakub Kicinski <kuba@...nel.org>
Sent: Wednesday, December 9, 2020 3:04 AM
To: Geethasowjanya Akula
Cc: netdev@...r.kernel.org; linux-kernel@...r.kernel.org; Sunil Kovvuri Goutham; davem@...emloft.net; Subbaraya Sundeep Bhatta
Subject: [EXT] Re: [PATCH v2] octeontx2-pf: Add RSS multi group support
External Email
----------------------------------------------------------------------
On Mon, 7 Dec 2020 21:40:18 +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:
> v2
> - Removed unrelated whitespace
> - Coverted otx2_get_rxfh() to use new function.
Thanks, I gave otx2_get_rxfh() as an example, please also convert
otx2_set_rxfh().
Powered by blists - more mailing lists