Re: [PATCH] net : rps : supoort a single flow to use rps
From: Jakub Kicinski
Date: Tue Jun 28 2022 - 13:15:41 EST
On Tue, 28 Jun 2022 17:31:12 +0200 Eric Dumazet wrote:
> > how to use:
> > echo xxx > /sys/class/net/xxx/queues/rx-x/rps_cpus
> > echo 1 > /sys/class/net/xxx/queues/rx-x/rps_single_flow
> > and create a flow node with the function:
> > rps_flow_node_create
>
> Which part calls rps_flow_node_create() exactly ?
>
> This seems to be very specialized to IPSEC.
>
> Can IPSEC use multiple threads for decryption ?
+1 Doesn't wireguard do something to spread the load across CPUs?
Maybe it can be generalized? I don't think a solution to "spray
crypto around" belongs as part of RPS.