]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: txgbe: expend SW-FW mailbox buffer size to identify QSFP module
authorJiawen Wu <jiawenwu@trustnetic.com>
Tue, 14 Oct 2025 06:17:24 +0000 (14:17 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 16 Oct 2025 13:41:34 +0000 (15:41 +0200)
commitaf3fce9f1bb41cdca32b24e7f19a902b7fe2906a
treea4bbf248a2af22fb78499977e9ccaed24a0ef274
parent00922eeaca3c5c2001781bcad40e0bd54d0fdbb6
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>
drivers/net/ethernet/wangxun/txgbe/txgbe_type.h