Skip to content

Add L2MC Table#1093

Draft
jasper-hou-micas wants to merge 6 commits intosonic-net:202511from
jasper-hou-micas:igmp-snp
Draft

Add L2MC Table#1093
jasper-hou-micas wants to merge 6 commits intosonic-net:202511from
jasper-hou-micas:igmp-snp

Conversation

@jasper-hou-micas
Copy link

No description provided.

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jasper-hou-micas jasper-hou-micas changed the base branch from master to 202511 January 22, 2026 07:50
croos12 and others added 2 commits January 22, 2026 15:51
…ic-net#1070)

sonic-db-cli does not currently support calling the dpu redis instances that exist on smartswitches. This changes adds a -d/--dpu flag to select a dpu redis instance for running commands so that dpu instances can be targeted by the sonic-db-cli from the host OS
* PTF build still uses buster which does not support INSTANTIATE_TEST_SUITE_.
   This changes fixes the error below

    ```
   tests/zmq_state_ut.cpp:698:25: error: expected constructor, destructor, or type conversion before '(' token
 INSTANTIATE_TEST_SUITE_P(
                         ^
tests/zmq_state_ut.cpp:702:56: error: expected unqualified-id before ',' token
         PopSizeTestParams{40, 150, 4, {40, 40, 40, 30}},
                                                        ^
tests/zmq_state_ut.cpp:703:26: error: expected constructor, destructor, or type conversion before '{' token
         PopSizeTestParams{-1, 384, 3, {128, 128, 128}}
                          ^
tests/zmq_state_ut.cpp:704:5: error: expected unqualified-id before ')' token
     )
     ^
make[4]: *** [Makefile:2683: tests/tests-zmq_state_ut.o] Error 1

    ```

Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
Signed-off-by: Jasper.Hou <jasper@micasnetworks.com>
Signed-off-by: Jasper.Hou <jasper@micasnetworks.com>
Signed-off-by: Jasper.Hou <jasper@micasnetworks.com>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link

@aidan-gallagher aidan-gallagher left a comment

Choose a reason for hiding this comment

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

This PR bundles three separate pieces: L2MC table schema definitions, a generic DebugFramework, and SWIG binding updates. The L2MC schema definitions have naming inconsistencies and the debug framework has thread safety and semantic issues.

The DebugFramework is a generic debug/dump system unrelated to L2MC or IGMP snooping. Separating it into its own PR would make both components easier to review.

Critical High Medium Low Total
2 7 5 6 20

Low-severity findings (pass-by-value in typedefs, unused member variables, #include "syslog.h" vs <syslog.h>) are omitted from inline comments but noted in the full review.

#include "dbconnector.h"
#include "table.h"

using namespace swss;

Choose a reason for hiding this comment

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

Critical: using namespace swss; at file scope in a public header. This pollutes the global namespace for every consumer of libswsscommon that includes this header (directly or transitively via SWIG at pyext/swsscommon.i:365).

@jasper-hou-micas
Copy link
Author

This PR bundles three separate pieces: L2MC table schema definitions, a generic DebugFramework, and SWIG binding updates. The L2MC schema definitions have naming inconsistencies and the debug framework has thread safety and semantic issues.

@aidan-gallagher
I’m currently working on removing the redundant DebugFramework code and will update the PR as soon as it’s done.

Signed-off-by: Jasper.Hou <jasper@micasnetworks.com>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

5 participants