Skip to content

Commit

Permalink
[PFCWD + Asym PFC]: Align the code according to latest changes in qos…
Browse files Browse the repository at this point in the history
…orch

Signed-off-by: Volodymyr Samotiy <volodymyrs@nvidia.com>
  • Loading branch information
volodymyrsamotiy committed Dec 22, 2021
1 parent 1e001f5 commit d710235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchagent/qosorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1694,7 +1694,7 @@ task_process_status QosOrch::handlePortQosMapTable(Consumer& consumer)
}

sai_uint8_t old_pfc_enable = 0;
if (!gPortsOrch->getPortPfc(port.m_port_id, &old_pfc_enable))
if (!gPortsOrch->getPortPfc(port.m_port_id, &old_pfc_enable, &old_pfc_enable))
{
SWSS_LOG_ERROR("Failed to retrieve PFC bits on port %s", port_name.c_str());
}
Expand Down

0 comments on commit d710235

Please sign in to comment.