Commit d5797eb9 authored by Hao Lan's avatar Hao Lan Committed by Jiantao Xiao
Browse files

net: sfp: Synchronize some CMIS transceiver modules from ethtool

driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I9A3QT


CVE: NA

----------------------------------------------------------------------

Currently, the SFF-8024 Identifier Values that according to the standard
support for the Common Management Interface Specification (CMIS)
based on standard identifier values in the ethtool is more than in the
kernel. When the driver needs to use a newer Identifier Value, the kernel
interface does not support it. Therefore, we synchronize the CMIS mode
Identifier Values which supported by the ethtool to the kernel.

Signed-off-by: default avatarHao Lan <lanhao@huawei.com>
Signed-off-by: default avatarJiantao Xiao <xiaojiantao1@h-partners.com>
parent 676df286
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -284,6 +284,18 @@ enum {
	SFF8024_ID_QSFP_8438		= 0x0c,
	SFF8024_ID_QSFP_8436_8636	= 0x0d,
	SFF8024_ID_QSFP28_8636		= 0x11,
	SFF8024_ID_CXP2			= 0x12,
	SFF8024_ID_CDFP			= 0x13,
	SFF8024_ID_HD4X_FANOUT		= 0x14,
	SFF8024_ID_HD8X_FANOUT		= 0x15,
	SFF8024_ID_CDFP_S3		= 0x16,
	SFF8024_ID_MICRO_QSFP		= 0x17,
	SFF8024_ID_QSFP_DD		= 0x18,
	SFF8024_ID_OSFP			= 0x19,
	SFF8024_ID_DSFP			= 0x1B,
	SFF8024_ID_QSFP_PLUS_CMIS	= 0x1E,
	SFF8024_ID_SFP_DD_CMIS		= 0x1F,
	SFF8024_ID_SFP_PLUS_CMIS	= 0x20,

	SFF8024_ENCODING_UNSPEC		= 0x00,
	SFF8024_ENCODING_8B10B		= 0x01,