Skip to content

Commit

Permalink
[mclag] Use port-isolation feature for Marvell platforms. (sonic-net#…
Browse files Browse the repository at this point in the history
…3151)

What I did
MCLAG: Use port-isolation functionality instead of ACLs for Marvell platforms
Why I did it
Minimize the impact of ACL scaling in marvell platforms.
  • Loading branch information
rajkumar38 authored May 16, 2024
1 parent c36333c commit 84ce1a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mclagsyncd/mclaglink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ void MclagLink::setPortIsolate(char *msg)
static const unordered_set<string> supported {
BRCM_PLATFORM_SUBSTRING,
BFN_PLATFORM_SUBSTRING,
CTC_PLATFORM_SUBSTRING
CTC_PLATFORM_SUBSTRING,
MRVL_PLATFORM_SUBSTRING
};

const char *platform = getenv("platform");
Expand Down
1 change: 1 addition & 0 deletions mclagsyncd/mclaglink.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
#define BRCM_PLATFORM_SUBSTRING "broadcom"
#define BFN_PLATFORM_SUBSTRING "barefoot"
#define CTC_PLATFORM_SUBSTRING "centec"
#define MRVL_PLATFORM_SUBSTRING "marvell"

using namespace std;

Expand Down

0 comments on commit 84ce1a7

Please sign in to comment.