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 daall committed Feb 16, 2021
1 parent 5df3154 commit b8abcb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,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 b8abcb4

Please sign in to comment.