Skip to content

Commit

Permalink
[barefoot][device][plugins] Fix sfp reset (#6745)
Browse files Browse the repository at this point in the history
Fix sfp reset in Barefoot's sfputil

Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
  • Loading branch information
vboykox authored and abdosi committed Feb 19, 2021
1 parent 9e777e9 commit 06334ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def reset(self, port_num):
status = pltfm_mgr.pltfm_mgr_qsfp_reset(port_num, True)
status = pltfm_mgr.pltfm_mgr_qsfp_reset(port_num, False)
self.thrift_teardown()
return status
return (status == 0)

def check_transceiver_change(self):
if not self.ready:
Expand Down

0 comments on commit 06334ff

Please sign in to comment.