]> www.infradead.org Git - users/jedix/linux-maple.git/commit
eth: fbnic: Accept minimum anti-rollback version from firmware
authorLee Trager <lee@trager.us>
Mon, 12 May 2025 18:53:58 +0000 (11:53 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 15 May 2025 10:59:18 +0000 (12:59 +0200)
commitbb7e124e30fd44b29f60086c77eb6242e3b0158f
tree5bc4a7b504ae7b66a2fd3f50879f8d80430b39f9
parente505e140738005715b1b20eb848711b21a1b3c76
eth: fbnic: Accept minimum anti-rollback version from firmware

fbnic supports applying firmware which may not be rolled back. This is
implemented in firmware however it is useful for the driver to know the
minimum supported firmware version. This will enable the driver validate
new firmware before it is sent to the NIC. If it is too old the driver can
provide a clear message that the version is too old.

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