Thread (5 messages) flat view 5 messages, 3 authors, 2021-01-12

Re: [PATCv4 net-next] octeontx2-pf: Add RSS multi group support

From: Saeed Mahameed <saeed@kernel.org>
Date: 2021-01-12 23:17:01
Also in: lkml

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 <saeedm@nvidia.com>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help