Commit af3fce9f authored by Jiawen Wu's avatar Jiawen Wu Committed by Paolo Abeni
Browse files

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: default avatarJiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20251014061726.36660-2-jiawenwu@trustnetic.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 00922eea
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 {