Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into dev/liuh/enable-crl-check
Browse files Browse the repository at this point in the history
  • Loading branch information
liuh-80 committed Aug 26, 2024
2 parents 7619d43 + 10f0fe8 commit acce004
Show file tree
Hide file tree
Showing 435 changed files with 20,364 additions and 2,327 deletions.
1 change: 1 addition & 0 deletions Makefile.work
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ SONIC_BUILD_INSTRUCTION := $(MAKE) \
ONIE_IMAGE_PART_SIZE=$(ONIE_IMAGE_PART_SIZE) \
SONIC_OS_VERSION=$(SONIC_OS_VERSION) \
PIP_HTTP_TIMEOUT=$(PIP_HTTP_TIMEOUT) \
BUILD_PROCESS_TIMEOUT=$(BUILD_PROCESS_TIMEOUT) \
LEGACY_SONIC_MGMT_DOCKER=$(LEGACY_SONIC_MGMT_DOCKER) \
SONIC_PTF_ENV_PY_VER=$(SONIC_PTF_ENV_PY_VER) \
$(SONIC_OVERRIDE_BUILD_VARS)
Expand Down
17 changes: 17 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,23 @@ stages:
MGMT_BRANCH: $(BUILD_BRANCH)
TEST_SET: onboarding_t1

- job: onboarding_elastictest_dualtor
displayName: "onboarding dualtor testcases by Elastictest - optional"
timeoutInMinutes: 240
continueOnError: true
pool: sonic-ubuntu-1c
steps:
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
parameters:
TOPOLOGY: dualtor
STOP_ON_FAILURE: "False"
RETRY_TIMES: 0
MIN_WORKER: $(T0_DUALTOR_INSTANCE_NUM)
MAX_WORKER: $(T0_DUALTOR_INSTANCE_NUM)
KVM_IMAGE_BRANCH: $(BUILD_BRANCH)
MGMT_BRANCH: $(BUILD_BRANCH)
TEST_SET: onboarding_dualtor

# - job: wan_elastictest
# displayName: "kvmtest-wan by Elastictest"
# pool: sonic-ubuntu-1c
Expand Down
11 changes: 11 additions & 0 deletions build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,17 @@ elif [ "$IMAGE_TYPE" = "dsc" ]; then

generate_onie_installer_image

elif [ "$IMAGE_TYPE" = "bfb" ]; then
echo "Build BFB installer"

if [[ $SECURE_UPGRADE_MODE != "no_sign" ]]; then
secure_upgrade_keys="--signing-key "$SECURE_UPGRADE_DEV_SIGNING_KEY" --signing-cert "$SECURE_UPGRADE_SIGNING_CERT""
fi

sudo -E ./platform/${CONFIGURED_PLATFORM}/installer/create_sonic_image --kernel $KVERSION "$secure_upgrade_keys"

sudo chown $USER $OUTPUT_BFB_IMAGE

else
echo "Error: Non supported image type $IMAGE_TYPE"
exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1395,14 +1395,25 @@ bcm_device:
0:
global:
ftem_mem_entries: 65536
sai_stats_support_mask: 0
global_flexctr_ing_action_num_reserved: 20
global_flexctr_ing_pool_num_reserved: 8
global_flexctr_ing_op_profile_num_reserved: 20
global_flexctr_ing_group_num_reserved: 2
global_flexctr_egr_action_num_reserved: 8
global_flexctr_egr_pool_num_reserved: 5
global_flexctr_egr_op_profile_num_reserved: 10
global_flexctr_egr_group_num_reserved: 1
...
---
device:
0:
# Per pipe flex counter configuration
CTR_EFLEX_CONFIG:
CTR_ING_EFLEX_OPERMODE_PIPEUNIQUE: 0
CTR_EGR_EFLEX_OPERMODE_PIPEUNIQUE: 0
CTR_ING_EFLEX_OPERMODE_PIPEUNIQUE: 1
CTR_ING_EFLEX_OPERMODE_PIPE_INSTANCE_UNIQUE: 1
CTR_EGR_EFLEX_OPERMODE_PIPEUNIQUE: 1
CTR_EGR_EFLEX_OPERMODE_PIPE_INSTANCE_UNIQUE: 1

# IFP mode
FP_CONFIG:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{%- set default_cable = '5m' %}

{%- include 'buffer_ports.j2' %}

{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "165603428",
"type": "ingress",
"mode": "dynamic",
"xoff": "29520896"
},
"egress_lossless_pool": {
"size": "165603428",
"type": "egress",
"mode": "dynamic"
}
},
"BUFFER_PROFILE": {
"ingress_lossy_profile": {
"pool": "ingress_lossless_pool",
"size": "0",
"static_th": "167546528"
},
"egress_lossy_profile": {
"pool": "egress_lossless_pool",
"size": "1778",
"dynamic_th": "0"
},
"egress_lossless_profile": {
"pool": "egress_lossless_pool",
"size": "0",
"static_th": "167546528"
}
},
{%- endmacro %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{%- set default_cable = '5m' %}

{%- include 'buffer_ports.j2' %}

{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "121964196",
"type": "ingress",
"mode": "dynamic",
"xoff": "29520896"
},
"egress_lossless_pool": {
"size": "121964196",
"type": "egress",
"mode": "static"
}
},
"BUFFER_PROFILE": {
"ingress_lossy_profile": {
"pool": "ingress_lossless_pool",
"size": "0",
"static_th": "167546528"
},
"egress_lossy_profile": {
"pool": "egress_lossless_pool",
"size": "1778",
"dynamic_th": "1"
},
"egress_lossless_profile": {
"pool": "egress_lossless_pool",
"size": "0",
"static_th": "125995684"
}
},
{%- endmacro %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# PG lossless profiles.
# speed cable size xon xoff threshold xon_offset
10000 5m 1248 2288 35776 0 2288
25000 5m 1248 2288 53248 0 2288
40000 5m 1248 2288 66560 0 2288
50000 5m 1248 2288 90272 0 2288
100000 5m 18796 3556 300990 0 3556
200000 5m 18796 3556 300990 0 3556
400000 5m 18796 3556 300990 0 3556
10000 40m 1248 2288 37024 0 2288
25000 40m 1248 2288 53248 0 2288
40000 40m 1248 2288 71552 0 2288
50000 40m 1248 2288 96096 0 2288
100000 40m 18796 3556 300990 0 3556
200000 40m 18796 3556 300990 0 3556
400000 40m 18796 3556 300990 0 3556
10000 300m 1248 2288 46176 0 2288
25000 300m 1248 2288 79040 0 2288
40000 300m 1248 2288 108160 0 2288
50000 300m 1248 2288 141856 0 2288
100000 300m 18796 3556 300990 0 3556
200000 300m 18796 3556 300990 0 3556
400000 300m 18796 3556 300990 0 3556
Loading

0 comments on commit acce004

Please sign in to comment.