-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[vs]: BMv2-based DPU KVM image #18762
Conversation
Signed-off-by: Ze Gan <ganze718@gmail.com>
Signed-off-by: Ze Gan <ganze718@gmail.com>
/azp run Azure.sonic-buildimage |
Commenter does not have sufficient privileges for PR 18762 in repo sonic-net/sonic-buildimage |
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
5356946
to
8f60e8b
Compare
Signed-off-by: Ze Gan <ganze718@gmail.com>
sonic-slave-bullseye/Dockerfile.j2
Outdated
@@ -426,6 +426,37 @@ RUN apt-get update && apt-get install -y eatmydata && eatmydata apt-get install | |||
default-jdk \ | |||
libgoogle-gson-java | |||
|
|||
{%- if CONFIGURED_PLATFORM == "vs" %} |
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.
can we just install them by default in the slave container?
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.
No, there are some packages install failure on marvell platform
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.
that's fine, then why not say != marvel?
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.
IMHO, I didn't test all platforms, so == vs
is safer than != marvel
.
But I fix it by following your suggestion in the latest commit.
Makefile.work
Outdated
@@ -582,6 +583,7 @@ SONIC_BUILD_INSTRUCTION := $(MAKE) \ | |||
SONIC_ENABLE_BOOTCHART=$(ENABLE_BOOTCHART) \ | |||
INCLUDE_FIPS=$(INCLUDE_FIPS) \ | |||
ENABLE_FIPS=$(ENABLE_FIPS) \ | |||
ENABLE_DASH_SAI=$(ENABLE_DASH_SAI) \ |
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 introduce this kvm image as build option?
but can we include the docker-dash-engine in kvm vs image by default, then we can enable and disable it at runtime?
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
Signed-off-by: Ze Gan <ganze718@gmail.com>
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
sonic-slave-bookworm/Dockerfile.j2
Outdated
@@ -445,6 +445,34 @@ RUN apt-get update && apt-get install -y \ | |||
hwdata \ | |||
libzip-dev | |||
|
|||
{%- if CONFIGURED_PLATFORM == "vs" %} |
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.
do we really need this?
Signed-off-by: Ze Gan <ganze718@gmail.com>
/azpw run ms_conflict |
/AzurePipelines run ms_conflict |
No pipelines are associated with this pull request. |
/azpw ms_conflict |
sonic-slave-bullseye/Dockerfile.j2
Outdated
@@ -426,6 +426,37 @@ RUN apt-get update && apt-get install -y eatmydata && eatmydata apt-get install | |||
default-jdk \ | |||
libgoogle-gson-java | |||
|
|||
{%- if CONFIGURED_PLATFORM != "marvell" %} |
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.
is it better to use this one?
{%- if CONFIGURED_ARCH == "armhf" and CROSS_BUILD_ENVIRON != "y" %}
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.
I don't understand your suggestion. Will CONFIGURED_ARCH == "armhf"
match vs platform?
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.
Done, @lguohan Please check it again
Signed-off-by: Ze Gan <ganze718@gmail.com>
/azpw ms_conflict |
4 similar comments
/azpw ms_conflict |
/azpw ms_conflict |
/azpw ms_conflict |
/azpw ms_conflict |
Why I did it
Work item tracking
How I did it
HLD: sonic-net/SONiC#1634
How to verify it
Merge PR: sonic-net/sonic-sairedis#1377
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)
🐯