Skip to content

Commit 724d193

Browse files
authored
Add BCM multi-instance support in saibcm-modules for XGS and DNX platforms. (sonic-net#8002)
Why I did it We hit an issue recently in the chassis bringup where the linux bde attach failed with the following ioctl error. [ 9058.585960] linux-user-bde (897363): Error: Invalid ioctl (00004c1d) [ 9105.668237] linux-user-bde (901002): Error: Invalid ioctl (00004c1d) Debugged with Broadcom team, who suggested to use this flag BCM_INSTANCE_SUPPORT to support multi-instance scenarios ( platforms with more than one asic where there are separate sai/syncd docker instances running controller each asic instance). This flag was introduced since SDK-6.5.21 and need to be present in SAI and SAI GPL kernel module makefile. How I did it Add the flag in this flag BCM_INSTANCE_SUPPORT in gpl modules
1 parent 83b8791 commit 724d193

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

platform/broadcom/saibcm-modules/make/Make.config

+3
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ CPPFLAGS += ${INCFLAGS}
174174

175175
CFLAGS += -DSAI_FIXUP -UKCOM_FILTER_MAX -DKCOM_FILTER_MAX=1024
176176

177+
# Flag to enable multi instance support
178+
CFLAGS += -DBCM_INSTANCE_SUPPORT
179+
177180
#
178181
# Debug #ifdef control
179182
#

0 commit comments

Comments
 (0)