eth: fbnic: support allocating FW completions with extra space
authorJakub Kicinski <kuba@kernel.org>
Tue, 16 Sep 2025 23:14:16 +0000 (16:14 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 18 Sep 2025 09:37:23 +0000 (11:37 +0200)
commita8896d14fc0c1f1b8d532be5605c05440b15d881
treef6aed568059a3795afc9b225d5671e0e80c86466
parent6ae7da8e9e069ff63ceea9953d53920b136ff008
eth: fbnic: support allocating FW completions with extra space

Support allocating extra space after the FW completion.
This makes it easy to pass extra variable size buffer space
to FW response handlers without worrying about synchronization
(completion itself is already refcounted).

Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20250916231420.1693955-6-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic_fw.c
drivers/net/ethernet/meta/fbnic/fbnic_fw.h