]> www.infradead.org Git - users/hch/misc.git/commit
bnxt_en: add .set_module_eeprom_by_page() support
authorDamodharam Ammepalli <damodharam.ammepalli@broadcom.com>
Mon, 10 Mar 2025 18:31:29 +0000 (11:31 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 18 Mar 2025 09:25:22 +0000 (10:25 +0100)
commitc3be245dfc8a5506e0936e9a1224813edc506a0c
treecfae32102404c15ceca4e852dd49637c0377f34b
parent1b64544d634c33605dd112fb7349188b4c305f61
bnxt_en: add .set_module_eeprom_by_page() support

Add support for .set_module_eeprom_by_page() callback
which implements generic solution for modules eeprom access.
This implementation also supports CMIS 5.0.3 compliant
eeprom FW download.

Sample Usage:
ethtool --flash-module-firmware enp177s0np0 file dummy.bin

Signed-off-by: Damodharam Ammepalli <damodharam.ammepalli@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20250310183129.3154117-8-michael.chan@broadcom.com
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c