mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
net: txgbe: expend SW-FW mailbox buffer size to identify QSFP module
Recent firmware updates introduce additional fields in the mailbox message to provide more information for identifying 40G and 100G QSFP modules. To accommodate these new fields, expand the mailbox buffer size by 4 bytes. Without this change, drivers built against the updated firmware cannot properly identify modules due to mismatched mailbox message lengths. The old firmware version that used the smaller mailbox buffer has never been publicly released, so there are no backward-compatibility concerns. Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20251014061726.36660-2-jiawenwu@trustnetic.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
@@ -352,7 +352,9 @@ struct txgbe_sfp_id {
|
||||
u8 vendor_oui0; /* A0H 0x25 */
|
||||
u8 vendor_oui1; /* A0H 0x26 */
|
||||
u8 vendor_oui2; /* A0H 0x27 */
|
||||
u8 reserved[3];
|
||||
u8 transceiver_type; /* A0H 0x83 */
|
||||
u8 sff_opt1; /* A0H 0xC0 */
|
||||
u8 reserved[5];
|
||||
};
|
||||
|
||||
struct txgbe_hic_i2c_read {
|
||||
|
||||
Reference in New Issue
Block a user