-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BCMSAI] Update BCM SAI debian package to 4.2.1.3 (6.5.19 hsdk) #5399
Conversation
is it indeed that only one file needs changed? Thanks. |
"Build debain package with BCMSAI 4.3.1.3 and 6.5.19 hsdk." - typo? |
retest vsimage please |
yes, it should be 4.2.1.3. Thanks.. will correct. |
Yes, the only change is updating the package name and the link. |
Check if we need a new GPL module for 6.5.19 SDK, we would need to update sonic-buildimage/platform/broadcom/saibcm-modules/ with the same. |
ifeq ($(LINUX_MAKE_SHARED_LIB), 1) | ||
KFLAGS += -fPIC -mcmodel=small | ||
else | ||
KFLAGS += -fno-pie -mcmodel=kernel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-fno-pie
was previously added for a compilation issue gmodule.c:1:0: error: code model kernel does not support PIC mode
. We are seeing same build issue now, you may want to re-add this.
@@ -53,17 +53,12 @@ function load_kernel_modules() | |||
modprobe linux-kernel-bde dmasize=$dmasize maxpayload=128 debug=4 dma_debug=1 usemsi=$usemsi | |||
modprobe linux-user-bde | |||
|
|||
# Using insmod with absolute path for psample to make sure bcm psample is loaded. | |||
# There is a different psample.ko module getting created at net/psample/psample.ko | |||
insmod /lib/modules/$(uname -r)/extra/psample.ko |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is required for sflow support. We may want to ask BCM for providing this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These files are absent in 6.5.19 gpl modules. Will it work if psample related files are added back or should BRCM give us the psample code for 6.5.19.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was added as part of 3.7 and with BUILD_PSAMPLE=1 (locally built driver as part of opennsl). We may want to get this clarified with Broadcom on what psample driver to be used.
retest broadcom please |
retest broadcom please |
retest broadcom please |
Close in favor of #5532 |
- Why I did it
Update BCM SAI debian package to 4.2.1.3 (6.5.19 hsdk)
- How I did it
Build debain package with BCMSAI 4.2.1.3 and 6.5.19 hsdk.
- How to verify it
Manual tests
- Which release branch to backport (provide reason below if selected)
- Description for the changelog
BRCM_SAI_VER "4.2.1.3"
OCP_SAI_VER "1.6.5"
BCM SAI changelog (git log --pretty=oneline REL_GA1_3.7.5.1...REL_GA_4.2.1.3)
- A picture of a cute animal (not mandatory but encouraged)