Skip to content

Commit

Permalink
support cpu queues
Browse files Browse the repository at this point in the history
Summary: as titled

Reviewed By: jasmeetbagga

Differential Revision: D66990693

fbshipit-source-id: db419ab8c5397db1b42b3c9b944dc802b77b5a95
  • Loading branch information
Parvez Shaikh authored and facebook-github-bot committed Dec 11, 2024
1 parent 95f8a9b commit 7573ca0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fboss/agent/hw/sai/switch/SaiHostifManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -635,10 +635,6 @@ void SaiHostifManager::loadCpuPortQueues() {
SaiPortTraits::Attributes::QosQueueList queueListAttribute{queueList};
auto queueSaiIdList = SaiApiTable::getInstance()->portApi().getAttribute(
cpuPortHandle_->cpuPortId, queueListAttribute);
if (platform_->getAsic()->getAsicType() == cfg::AsicType::ASIC_TYPE_CHENAB) {
// Chenab-TODO(pshaikh): no way to load queues on CPU port
return;
}
if (queueSaiIdList.size() == 0) {
throw FbossError("no queues exist for cpu port ");
}
Expand Down

0 comments on commit 7573ca0

Please sign in to comment.