tb_switch_update_link_attributes
tb_switch_update_link_attributes(sw);
ret = tb_switch_update_link_attributes(sw);