Lines Matching +full:er +full:- +full:x +full:- +full:sfp
2 -- ex: sw=4 et:
3 --[[
4 /*-
31 -- Try to put the template.lua library in the package search path.
34 -- Render the template named by the first argument to this script.
35 require("template").render(arg[1], { -- This table is the template's context.
37 -- The table `enums' is accessible in the template. It is a list of strings
38 -- and tables that describe the various enum types we are generating and the
39 -- ancillary metadata for generating other related code.
42 -- Strings at this level are rendered as block comments for convenience.
43 "SFF-8024 Rev. 4.6 Table 4-1: Indentifier Values",
45 -- This table describes an enum type, in this case enum sfp_id:
47 name = "id", -- The template prepends the sfp_ prefix to our name.
50 -- What width int is needed to store this type:
51 bits = 8, -- This could be inferred by the values below...
53 -- The values, symbols, display names, and descriptions of this enum:
55 -- The prefix SFP_ID_ is prepended to the symbolic names.
56 -- Only this enum has shortened names for the values, though they
57 -- could be added to the other enums.
59 -- value, symbolic name, description, shortened name
64 {0x03, "SFP", "SFP or SFP+", "SFP/SFP+/SFP28"},
69 {0x08, "XFPE", "XFP-E", "XFP-E"},
72 {0x0B, "DWDM_SFP", "DWDM-SFP/SFP+", "DWDM-SFP/SFP+"},
76 {0x0F, "HD4X", "Shielded Mini Multilane HD 4X", "HD4X"},
77 {0x10, "HD8X", "Shielded Mini Multilane HD 8X", "HD8X"},
81 {0x14, "SMM4", "Shielded Mini Multilane HD 4X fanout",
83 {0x15, "SMM8", "Shielded Mini Multilane HD 8X fanout",
87 {0x18, "QSFP_DD", "QSFP-DD 8X pluggable transceiver", "QSFP-DD"},
88 {0x19, "QSFP8X", "QSFP 8X pluggable transceiver", "QSFP8X"},
89 {0x1A, "SFP_DD", "SFP-DD 2X pluggable transceiver", "SFP-DD"},
90 {0x1B, "DSFP", "DSFP Dual SFP pluggable transceiver", "DSFP"},
99 "SFF-8024 Rev. 4.6 Table 4-3: Connector Types",
113 {0x08, "MT_RJ", "MT-RJ"},
130 "SFF-8472 Rev. 11.4 table 3.5: Transceiver codes",
137 {0x80, "10G_BASE_ER", "10G Base-ER"},
138 {0x40, "10G_BASE_LRM", "10G Base-LRM"},
139 {0x20, "10G_BASE_LR", "10G Base-LR"},
140 {0x10, "10G_BASE_SR", "10G Base-SR"},
141 {0x08, "1X_SX", "1X SX"},
142 {0x04, "1X_LX", "1X LX"},
143 {0x02, "1X_COPPER_ACTIVE", "1X Copper Active"},
144 {0x01, "1X_COPPER_PASSIVE", "1X Copper Passive"},
153 {0x80, "BASE_PX", "BASE-PX"},
154 {0x40, "BASE_BX10", "BASE-BX10"},
155 {0x20, "100BASE_FX", "100BASE-FX"},
156 {0x10, "100BASE_LX_LX10", "100BASE-LX/LX10"},
157 {0x08, "1000BASE_T", "1000BASE-T"},
158 {0x04, "1000BASE_CX", "1000BASE-CX"},
159 {0x02, "1000BASE_LX", "1000BASE-LX"},
160 {0x01, "1000BASE_SX", "1000BASE-SX"},
176 "Channel/Cable technology, byte 7-8",
184 {0x0100, "EL_INTER", "Electrical inter-enclosure (EL)"},
185 {0x0080, "EL_INTRA", "Electrical intra-enclosure (EL)"},
224 "SFF-8436 Rev. 4.8 table 33: Specification compliance",
232 {0x40, "10GBASE_LRM", "10GBASE-LRM"},
233 {0x20, "10GBASE_LR", "10GBASE-LR"},
234 {0x10, "10GBASE_SR", "10GBASE-SR"},
235 {0x08, "40GBASE_CR4", "40GBASE-CR4"},
236 {0x04, "40GBASE_SR4", "40GBASE-SR4"},
237 {0x02, "40GBASE_LR4", "40GBASE-LR4"},
241 "SFF-8024 Rev. 4.6 table 4-4: Extended Specification Compliance",
263 {0x46, "200GBASE_LR4", "200GBASE-LR4"},
264 {0x45, "50GBASE_LR", "50GBASE-LR"},
266 {0x43, "200GBASE_FR4", "200GBASE-FR4"},
267 {0x42, "50GBASE_FR_200GBASE_DR4", "50GBASE-FR or 200GBASE-DR4"},
269 "50GBASE-SR/100GBASE-SR2/200GBASE-SR4"},
271 "50GBASE-CR/100GBASE-CR2/200GBASE-CR4"},
285 "50GAUI/100GAUI-2/200GAUI-4 AOC (BER <2.6e-4)"},
287 "50GAUI/100GAUI-2/200GAUI-4 ACC (BER <2.6e-4)"},
289 "50GAUI/100GAUI-2/200GAUI-4 AOC (BER <1e-6)"},
291 "50GAUI/100GAUI-2/200GAUI-4 ACC (BER <1e-6)"},
300 {0x27, "100G_LR", "100G-LR"},
301 {0x26, "100G_FR", "100G-FR"},
302 {0x25, "100GBASE_DR", "100GBASE-DR"},
303 {0x24, "4WDM_40_MSA", "4WDM-40 MSA"},
304 {0x23, "4WDM_20_MSA", "4WDM-20 MSA"},
305 {0x22, "4WDM_10_MSA", "4WDM-10 MSA"},
309 {0x1E, "2_5GBASE_T", "2.5GBASE-T"},
310 {0x1D, "5GBASE_T", "5GBASE-T"},
311 {0x1C, "10GBASE_T_SR", "10GBASE-T Short Reach"},
313 {0x1A, "100GE_DWDM2", "100GE-DWDM2"},
318 "10GBASE-T with SFI electrical interface"},
319 {0x15, "G959_1_P1L1_2D2", "G959.1 profile P1L1-2D2"},
320 {0x14, "G959_1_P1S1_2D2", "G959.1 profile P1S1-2D2"},
321 {0x13, "G959_1_P1I1_2D1", "G959.1 profile P1I1-2D1"},
323 {0x11, "4X_10GBASE_SR", "4 x 10GBASE-SR"},
324 {0x10, "40GBASE_ER4", "40GBASE-ER4"},
327 {0x0D, "CA_25G_N", "25GBASE-CR CA-25G-N"},
328 {0x0C, "CA_25G_S", "25GBASE-CR CA-25G-S"},
329 {0x0B, "CA_L", "100GBASE-CR4 or 25GBASE-CR CA-L"},
336 {0x05, "100GBASE_SR10", "100GBASE-SR10"},
337 {0x04, "100GBASE_ER4_25GBASE_ER", "100GBASE-ER4 or 25GBASE-ER"},
338 {0x03, "100GBASE_LR4_25GBASE_LR", "100GBASE-LR4 or 25GBASE-LR"},
339 {0x02, "100GBASE_SR4_25GBASE_SR", "100GBASE-SR4 or 25GBASE-SR"},
345 "SFF-8636 Rev. 2.9 table 6.3: Revision compliance",
351 {0x1, "SFF_8436_REV_LE_4_8", "SFF-8436 rev <=4.8"},
352 {0x2, "SFF_8436_REV_LE_4_8_ALT", "SFF-8436 rev <=4.8"},
353 {0x3, "SFF_8636_REV_LE_1_3", "SFF-8636 rev <=1.3"},
354 {0x4, "SFF_8636_REV_LE_1_4", "SFF-8636 rev <=1.4"},
355 {0x5, "SFF_8636_REV_LE_1_5", "SFF-8636 rev <=1.5"},
356 {0x6, "SFF_8636_REV_LE_2_0", "SFF-8636 rev <=2.0"},
357 {0x7, "SFF_8636_REV_LE_2_7", "SFF-8636 rev <=2.7"},
358 {0x8, "SFF_8363_REV_GE_2_8", "SFF-8636 rev >=2.8"},
364 -- Nothing else in this context.