Skip to content
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

[FRR]Upgrade FRR to 8.5.4 #85

Closed
wants to merge 30 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
19e3bbf
[build][reproducible]Fix version file access for docker-<container>-d…
baxia-lan Apr 12, 2024
ed839c6
Added new package minicom in the switch image (#18299)
gpunathilell Apr 12, 2024
39d1df7
[submodule] Update submodule sonic-utilities to the latest HEAD autom…
mssonicbld Apr 13, 2024
8deaf18
[submodule] Update submodule sonic-platform-pde to the latest HEAD au…
mssonicbld Apr 13, 2024
835d517
[submodule] Update submodule sonic-platform-common to the latest HEAD…
mssonicbld Apr 13, 2024
e7efb73
[submodule] Update submodule sonic-platform-daemons to the latest HEA…
mssonicbld Apr 13, 2024
c75c82c
[Mellanox] CMIS management feature enablement (#16968)
dbarashinvd Apr 14, 2024
743ef11
[Mellanox] Fix python-sdk-api makefile to only compile python3 bindin…
vivekrnv Apr 14, 2024
5b791fa
[Mellanox] Add sensor files for MSN4700 simulation platform (#18531)
stephenxs Apr 14, 2024
8c69aa5
Support to fetch pmon_daemon_control.json file from both platform and…
keboliu Apr 14, 2024
c076c12
[Mellanox] Support SKU Mellanox-SN5600-O128 (#18440)
stephenxs Apr 14, 2024
006f4b2
[Marvell] Build infrastructure enhancements (#18143)
pavannaregundi Apr 15, 2024
b63ea6c
[submodule] Update submodule sonic-platform-common to the latest HEAD…
mssonicbld Apr 15, 2024
7a483a7
Add a function to get container name by asic ID (#18459)
Junchao-Mellanox Apr 15, 2024
dd1e161
[containercfgd] Add multi ASIC support for syslog rate limit feature …
Junchao-Mellanox Apr 15, 2024
81d0b16
Update backend acl template and unit tests (#18659)
neethajohn Apr 15, 2024
8d54b0d
[dhcp_server] Adjust the dhcp_server cli data format to align with dh…
w1nda Apr 16, 2024
9c6724a
[submodule] Update submodule sonic-swss-common to the latest HEAD aut…
mssonicbld Apr 16, 2024
9a3731c
[submodule] Update submodule sonic-mgmt-common to the latest HEAD aut…
mssonicbld Apr 16, 2024
e7cf8cf
[Mellanox] Add support for new "nvidia-bluefield" platform. (#18466)
oleksandrivantsiv Apr 16, 2024
b0f5398
[Mellanox] Adjust log content for module host management feature (#18…
Junchao-Mellanox Apr 16, 2024
0b8b503
[Banner] Add new feature including config, yang and tests (#16957)
SviatoslavBoichuk Apr 16, 2024
f144209
[Mellanox]Enable forwarding of packets with link local SIP/DIP on spe…
dgsudharsan Apr 16, 2024
5d00f6e
[nvidia-bluefield] Add support for Nvidia-9009d3b600CVAA and Nvidia-9…
oleksandrivantsiv Apr 16, 2024
1255294
[FRR]Upgrade FRR to 8.5.4
dgsudharsan Dec 12, 2023
8ee5c61
Adding fix for FRR snmp scale issue
dgsudharsan Feb 23, 2024
809beff
Adding the mem leak patch fix
dgsudharsan Mar 14, 2024
f35f947
Adding the fix for fib suppress announcement
dgsudharsan Apr 3, 2024
0e9ee4f
Adding fix for evpn route type not matching route map
dgsudharsan Apr 15, 2024
df9ffbe
Fix buster build issue
dgsudharsan Apr 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .azure-pipelines/azure-pipelines-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,15 @@ jobs:
pool: sonicbld-armhf
timeoutInMinutes: 2880
variables:
PLATFORM_NAME: marvell
PLATFORM_ARCH: armhf

- name: marvell-arm64
${{ if not(parameters.qemuOrCrossBuild) }}:
pool: sonicbld-arm64
timeoutInMinutes: 2880
variables:
PLATFORM_NAME: marvell
PLATFORM_ARCH: arm64

- name: marvell
Expand Down
3 changes: 2 additions & 1 deletion .azure-pipelines/azure-pipelines-image-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ jobs:
sudo modprobe overlay
sudo apt-get install -y acl
sudo bash -c "echo 1 > /proc/sys/vm/compact_memory"
ENABLE_DOCKER_BASE_PULL=y make PLATFORM=$(PLATFORM_AZP) PLATFORM_ARCH=$(PLATFORM_ARCH) $(BUILD_OPTIONS) configure
[ -z "$PLATFORM_NAME" ] && PLATFORM_NAME=$(PLATFORM_AZP)
ENABLE_DOCKER_BASE_PULL=y make PLATFORM=$PLATFORM_NAME PLATFORM_ARCH=$(PLATFORM_ARCH) $(BUILD_OPTIONS) configure
displayName: 'Make configure'
postSteps:
- script: |
Expand Down
1 change: 1 addition & 0 deletions .azure-pipelines/official-build-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ stages:
pool: sonicbld-armhf
timeoutInMinutes: 1200
variables:
PLATFORM_NAME: marvell
PLATFORM_ARCH: armhf
8 changes: 4 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@
[submodule "src/sonic-dash-api"]
path = src/sonic-dash-api
url = https://github.com/sonic-net/sonic-dash-api.git
[submodule "platform/marvell-arm64/mrvl-prestera"]
path = platform/marvell-arm64/mrvl-prestera
[submodule "platform/marvell/mrvl-prestera"]
path = platform/marvell/mrvl-prestera
url = https://github.com/Marvell-switching/mrvl-prestera.git
[submodule "platform/marvell-arm64/sonic-platform-marvell"]
path = platform/marvell-arm64/sonic-platform-marvell
[submodule "platform/marvell/sonic-platform-marvell"]
path = platform/marvell/sonic-platform-marvell
url = https://github.com/Marvell-switching/sonic-platform-arm64.git
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ make target/sonic-[ASIC_VENDER]-armhf.bin
_example:_

```shell
make configure PLATFORM=marvell-armhf PLATFORM_ARCH=armhf
make configure PLATFORM=marvell PLATFORM_ARCH=armhf
make target/sonic-marvell-armhf.bin
```

Expand All @@ -215,7 +215,7 @@ using cross-compilation, run the following commands:
# Execute make configure once to configure ASIC and ARCH for cross-compilation build

NOJESSIE=1 NOSTRETCH=1 BLDENV=buster CROSS_BLDENV=1 \
make configure PLATFORM=marvell-armhf PLATFORM_ARCH=armhf
make configure PLATFORM=marvell PLATFORM_ARCH=armhf

# Execute Arm32 build using cross-compilation environment

Expand All @@ -234,7 +234,7 @@ make configure PLATFORM=[ASIC_VENDOR] PLATFORM_ARCH=arm64

# example:

make configure PLATFORM=marvell-arm64 PLATFORM_ARCH=arm64
make configure PLATFORM=marvell PLATFORM_ARCH=arm64
```

**NOTE**:
Expand Down
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,13 @@ stages:
- name: marvell-arm64
pool: sonicbld-arm64
variables:
PLATFORM_NAME: marvell
PLATFORM_ARCH: arm64
- name: marvell-armhf
pool: sonicbld-armhf
timeoutInMinutes: 1200
variables:
PLATFORM_NAME: marvell
PLATFORM_ARCH: armhf
INCLUDE_RESTAPI: y

Expand Down
2 changes: 1 addition & 1 deletion build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ if [[ $TARGET_BOOTLOADER == uboot ]]; then
## Overwriting the initrd image with uInitrd
sudo LANG=C chroot $FILESYSTEM_ROOT mv /boot/u${INITRD_FILE} /boot/$INITRD_FILE
else
sudo cp -v $PLATFORM_DIR/${sonic_asic_platform}-${CONFIGURED_ARCH}/sonic_fit.its $FILESYSTEM_ROOT/boot/
sudo cp -v $PLATFORM_DIR/$CONFIGURED_PLATFORM/sonic_fit.its $FILESYSTEM_ROOT/boot/
sudo LANG=C chroot $FILESYSTEM_ROOT mkimage -f /boot/sonic_fit.its /boot/sonic_${CONFIGURED_ARCH}.fit
fi
fi
Expand Down
12 changes: 10 additions & 2 deletions build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ set -x -e
CONFIGURED_ARCH=$([ -f .arch ] && cat .arch || echo amd64)

if [[ $CONFIGURED_ARCH == armhf || $CONFIGURED_ARCH == arm64 ]]; then
. ./onie-image-${CONFIGURED_ARCH}.conf
if [ -r ./platform/${CONFIGURED_PLATFORM}/onie-image-${CONFIGURED_ARCH}.conf ]; then
. ./platform/${CONFIGURED_PLATFORM}/onie-image-${CONFIGURED_ARCH}.conf
else
. ./onie-image-${CONFIGURED_ARCH}.conf
fi
else
. ./onie-image.conf
fi
Expand Down Expand Up @@ -82,10 +86,14 @@ generate_onie_installer_image()
done
done

platform_conf_file="platform/$TARGET_MACHINE/platform_${CONFIGURED_ARCH}.conf"
if [ ! -f $platform_conf_file ]; then
platform_conf_file="platform/$TARGET_MACHINE/platform.conf"
fi
## Generate an ONIE installer image
## Note: Don't leave blank between lines. It is single line command.
./onie-mk-demo.sh $CONFIGURED_ARCH $TARGET_MACHINE $TARGET_PLATFORM-$TARGET_MACHINE-$ONIEIMAGE_VERSION \
installer platform/$TARGET_MACHINE/platform.conf $output_file OS $IMAGE_VERSION $ONIE_IMAGE_PART_SIZE \
installer $platform_conf_file $output_file OS $IMAGE_VERSION $ONIE_IMAGE_PART_SIZE \
$INSTALLER_PAYLOAD $SECURE_UPGRADE_SIGNING_CERT $SECURE_UPGRADE_DEV_SIGNING_KEY
}

Expand Down
2 changes: 1 addition & 1 deletion device/marvell/arm64-marvell_rd98DX35xx-r0/platform_asic
Original file line number Diff line number Diff line change
@@ -1 +1 @@
marvell-arm64
marvell
Original file line number Diff line number Diff line change
@@ -1 +1 @@
marvell-arm64
marvell
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_8x50g_28x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_8x100g_40x50g_8x10g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_44x50g_10x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_48x50g_8x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_2x10g_100x50g_12x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_112x50g_8x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_24x50g_52x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_1x10g_28x50g_49x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_28x50g_52x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600C.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600c_100x50g_12x100g_2x10g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600c_112x50g_8x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600c_48x50g_40x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_8x400g_48x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_INDEPENDENT_MODULE_MODE=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_8x400g_48x200g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_INDEPENDENT_MODULE_MODE=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
1 change: 1 addition & 0 deletions device/mellanox/x86_64-mlnx_msn4700_simx-r0/sensors.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{#
Copyright (c) 2021-2022 NVIDIA CORPORATION & AFFILIATES.
Copyright (c) 2021-2024 NVIDIA CORPORATION & AFFILIATES.
Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -20,109 +20,20 @@
{% set egress_lossless_pool_size = '158229504' %}
{% set egress_lossy_pool_size = '67737959' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
{%- for port_idx in range(0, 32) %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
{%- endfor %}
{%- endmacro %}
{% import 'buffers_defaults_objects.j2' as defs with context %}

{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
{%- if dynamic_mode is not defined %}
"size": "{{ ingress_lossless_pool_size }}",
{%- endif %}
"type": "ingress",
"mode": "dynamic"
},
"ingress_lossy_pool": {
{%- if dynamic_mode is not defined %}
"size": "{{ ingress_lossy_pool_size }}",
{%- endif %}
"type": "ingress",
"mode": "dynamic"
},
"egress_lossless_pool": {
"size": "{{ egress_lossless_pool_size }}",
"type": "egress",
"mode": "dynamic"
},
"egress_lossy_pool": {
{%- if dynamic_mode is not defined %}
"size": "{{ egress_lossy_pool_size }}",
{%- endif %}
"type": "egress",
"mode": "dynamic"
}
},
"BUFFER_PROFILE": {
"ingress_lossless_profile": {
"pool":"ingress_lossless_pool",
"size":"0",
"dynamic_th":"7"
},
"ingress_lossy_profile": {
"pool":"ingress_lossy_pool",
"size":"0",
"dynamic_th":"3"
},
"egress_lossless_profile": {
"pool":"egress_lossless_pool",
"size":"0",
"dynamic_th":"7"
},
"egress_lossy_profile": {
"pool":"egress_lossy_pool",
"size":"9216",
"dynamic_th":"7"
},
"q_lossy_profile": {
"pool":"egress_lossy_pool",
"size":"0",
"dynamic_th":"3"
}
},
{%- macro generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) %}
{{ defs.generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) }}
{%- endmacro %}

{%- macro generate_profile_lists(port_names) %}
"BUFFER_PORT_INGRESS_PROFILE_LIST": {
{% for port in port_names.split(',') %}
"{{ port }}": {
"profile_list" : "ingress_lossless_profile,ingress_lossy_profile"
}{% if not loop.last %},{% endif %}

{% endfor %}
},
"BUFFER_PORT_EGRESS_PROFILE_LIST": {
{% for port in port_names.split(',') %}
"{{ port }}": {
"profile_list" : "egress_lossless_profile,egress_lossy_profile"
}{% if not loop.last %},{% endif %}

{% endfor %}
}
{%- macro generate_profile_lists_with_inactive_ports(port_names_active, port_names_inactive) %}
{{ defs.generate_profile_lists(port_names_active, port_names_inactive) }}
{%- endmacro %}

{%- macro generate_queue_buffers(port_names) %}
"BUFFER_QUEUE": {
{% for port in port_names.split(',') %}
"{{ port }}|3-4": {
"profile" : "egress_lossless_profile"
},
{% endfor %}
{% for port in port_names.split(',') %}
"{{ port }}|0-2": {
"profile" : "q_lossy_profile"
},
{% endfor %}
{% for port in port_names.split(',') %}
"{{ port }}|5-6": {
"profile" : "q_lossy_profile"
}{% if not loop.last %},{% endif %}

{% endfor %}
}
{%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %}
{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }}
{%- endmacro %}


{%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %}
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }}
{%- endmacro %}
Loading