Commit 48aa3044 authored by Krishna Kumar's avatar Krishna Kumar Committed by Jakub Kicinski
Browse files

net: Cache hash and flow_id to avoid recalculation



get_rps_cpu() can cache flow_id and hash as both are required by
set_rps_cpu() instead of recalculating them twice.

Signed-off-by: default avatarKrishna Kumar <krikku@gmail.com>
Link: https://patch.msgid.link/20250825031005.3674864-3-krikku@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 97bcc5b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment