File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -2434,6 +2434,8 @@ def get_application(lane):
24342434 assert task .is_cmis_application_update_required (mock_xcvr_api , app_new , host_lanes_mask ) == expected
24352435
24362436 @pytest .mark .parametrize ("ifname, expected" , [
2437+ ('1.6TBASE-CR8 (Clause179)' , 1600000 ),
2438+ ('1.6TAUI-8 (Annex176E)' , 1600000 ),
24372439 ('800G L C2M' , 800000 ),
24382440 ('400G CR8' , 400000 ),
24392441 ('200GBASE-CR4 (Clause 136)' , 200000 ),
Original file line number Diff line number Diff line change @@ -173,7 +173,9 @@ def get_interface_speed(ifname):
173173 """
174174 # see HOST_ELECTRICAL_INTERFACE of sff8024.py
175175 speed = 0
176- if '800G' in ifname :
176+ if '1.6T' in ifname :
177+ speed = 1600000
178+ elif '800G' in ifname :
177179 speed = 800000
178180 elif '400G' in ifname :
179181 speed = 400000
You can’t perform that action at this time.
0 commit comments