Skip to content

[pfcwd]: Add support to poll queue attr in syncd#241

Merged
lguohan merged 3 commits intosonic-net:masterfrom
sihuihan88:dev/sihan/pfc
Oct 13, 2017
Merged

[pfcwd]: Add support to poll queue attr in syncd#241
lguohan merged 3 commits intosonic-net:masterfrom
sihuihan88:dev/sihan/pfc

Conversation

@sihuihan88
Copy link
Contributor

No description provided.

@sihuihan88
Copy link
Contributor Author

Depends on sonic-net/sonic-swss-common#141

}

auto queueAttrIds = std::make_shared<QueueAttrIds>(queueId, attrIds);
wd.m_queueAttrIdsMap.emplace(queueVid, queueAttrIds);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to erase IDs on delete

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Updated

@sihuihan88 sihuihan88 self-assigned this Oct 11, 2017
SWSS_LOG_ENTER();

std::lock_guard<std::mutex> lock(g_mutex);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove one more empty line

Copy link
Contributor

@lguohan lguohan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants