Skip to content

Swss.common.multi.consumer#4

Closed
hrachya-m wants to merge 3 commits intosonic-net:masterfrom
hrachya-m:swss.common.multi.consumer
Closed

Swss.common.multi.consumer#4
hrachya-m wants to merge 3 commits intosonic-net:masterfrom
hrachya-m:swss.common.multi.consumer

Conversation

@hrachya-m
Copy link
Copy Markdown

No description provided.

* Select accepts multiple Consumers at once
* Added defines for QOS tables
@hrachya-m hrachya-m force-pushed the swss.common.multi.consumer branch from 9362a46 to fb3bc8e Compare April 13, 2016 01:19
@stcheng
Copy link
Copy Markdown
Contributor

stcheng commented Apr 13, 2016

@lguohan @eladraz

{
m_objects.push_back(c);
if(std::find(m_objects.begin(), m_objects.end(), selectable) != m_objects.end()) {
SWSS_LOG_WARN("Selectable:%p already been added to the list, ignoring\n.");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"\n." is not needed, we can enforce in logs to add \n at the end but currently it goes to syslog so no need,
also yuo forgot to add "selectable" as parameter since you using %p

@eladraz
Copy link
Copy Markdown
Contributor

eladraz commented Apr 13, 2016

In general, you should break this commit to 3 differet commits. There are too many logical changes here.

delete m_subscribe;
if(m_subscribe) {
delete m_subscribe;
m_subscribe = NULL;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There is no needed to "if (m_subscribe)", it's ok to delete NULL.
As for "m_subscribe = NULL;" it's a good change.

Hrachya Mughnetsyan added 2 commits April 13, 2016 17:21
* remove empty lines
* moved Table::getTableName from .h into .cpp
* removed new table name declarations, will put into different commit.

Signed-off-by:  Hrachya Mughnetsyan [email protected]
* added declarations of QOS related table names

Signed-off-by:  Hrachya Mughnetsyan [email protected]
hrachya-m pushed a commit to hrachya-m/sonic-swss-common that referenced this pull request Apr 15, 2016
* follow up comments from
sonic-net#4
* removed qos related defines
* removed in out defines
Signed-off-by: Hrachya Mughnetsyan [email protected]
@stcheng
Copy link
Copy Markdown
Contributor

stcheng commented Apr 15, 2016

thanks

@stcheng stcheng closed this Apr 15, 2016
kcudnik pushed a commit that referenced this pull request May 12, 2016
* [Select, Table] Changes to enable multiple consumers in Orch

* Select accepts multiple Consumers at once
* Added defines for QOS tables

* [common] follow-up [1] on pull request comments

* remove empty lines
* moved Table::getTableName from .h into .cpp
* removed new table name declarations, will put into different commit.

Signed-off-by:  Hrachya Mughnetsyan [email protected]

* [common] follow-up [2] on pull request comments

* added declarations of QOS related table names

Signed-off-by:  Hrachya Mughnetsyan [email protected]

* [commoon] changes to enable multiple consumers on Orch,

* follow up comments from
#4
* removed qos related defines
* removed in out defines
Signed-off-by: Hrachya Mughnetsyan [email protected]

* [common] warn message fix

* added missing parameter to trace message
* removed std:: prefix from function call

* [common] removed std:: prefixes

* remvoed std:: prefixes

Signed-off-by: [email protected]

* swss-common: Add qos table names

* Added QOS table names
Signed-off-by: [email protected]

* [swss-common] Add buffer table names

* New table names for buffer component
Signed-off-by: [email protected]
zbud-msft pushed a commit to zbud-msft/sonic-swss-common that referenced this pull request Aug 3, 2022
prgeor pushed a commit to prgeor/sonic-swss-common that referenced this pull request Feb 27, 2025
…onic-net#4)

With adding more columns into the port_config.ini file, the previous
logic of checking len(line.split()) == 4 is no longer valid. With
adding the logic of parsing the title of the file, the port index
could be directly retrieved depending on which column it is.

Signed-off-by: Shu0T1an ChenG <[email protected]>
Pterosaur pushed a commit to Pterosaur/sonic-swss-common that referenced this pull request Apr 13, 2025
Implementing following CVL APIs :

SortDepTables
GetOrderedTables
GetDepTables
GetDepDataForDelete
GetValidationTimeStats
ClearValidationTimeStats
nazariig referenced this pull request in nazariig/sonic-swss-common May 6, 2025
```<br>* bbd09cc - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss-common into 202412 (2025-02-11) [Sonic Automation]
* 8f47a37 - (origin/202411) Handle 'bulkget' in consumer_table_pops.lua (sonic-net#970) (2025-02-07) [mssonicbld]<br>```
blorente added a commit to blorente/sonic-swss-common that referenced this pull request Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants