summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/drivers/net/hw/rss_api.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-07-17 16:43:38 -0700
committerJakub Kicinski <kuba@kernel.org>2025-07-21 18:20:19 -0700
commita45f98efa483b7f40a97546b11a8020564a268ce (patch)
tree3e9f4dcb8fb28f5d645de22e54364ce518a4ff88 /tools/testing/selftests/drivers/net/hw/rss_api.py
parent5f5c59b78e5a9389da07c1913dbe5ffd6d2759ee (diff)
ethtool: rss: factor out allocating memory for response
To ease the code reuse for RSS_CREATE we'll want to prepare struct rss_reply_data for the new context. Unfortunately we can't depend on the exiting scaffolding because the context doesn't exist (ctx=NULL) when we start preparing. Factor out the portion of the context 0 handling responsible for allocation of request memory, so that we can call it directly. Link: https://patch.msgid.link/20250717234343.2328602-4-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/rss_api.py')
0 files changed, 0 insertions, 0 deletions