Skip to content
Commit 378e5cc1 authored by Sanman Pradhan's avatar Sanman Pradhan Committed by Jakub Kicinski
Browse files

eth: fbnic: hwmon: Add completion infrastructure for firmware requests



Add infrastructure to support firmware request/response handling with
completions. Add a completion structure to track message state including
message type for matching, completion for waiting for response, and
result for error propagation. Use existing spinlock to protect the writes.
The data from the various response types will be added to the "union u"
by subsequent commits.

Signed-off-by: default avatarSanman Pradhan <sanman.p211993@gmail.com>
Reviewed-by: default avatarMichal Swiatkowski <michal.swiatkowski@linux.intel.com>
Link: https://patch.msgid.link/20250114000705.2081288-2-sanman.p211993@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 586b298d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment