From 3adf3082889dbba697cbec09846bb78ca879109e Mon Sep 17 00:00:00 2001 From: DavidZagury <32644413+DavidZagury@users.noreply.github.com> Date: Tue, 9 Apr 2024 12:25:24 +0300 Subject: [PATCH] [Mellanox] enable host interface control by orchagent (#18592) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Why I did it To move the control of the netdevice’s operational status from SDK to SAI. SAI will be responsible for updating the operational status on moving the netdev’s admin status from DOWN to UP. - How I did it Configure the SAI profile with SAI_HOSTIF_OPER_STATUS_UPDATE_BY_APP - How to verify it Verify links go up and down correctly. --- platform/mellanox/docker-syncd-mlnx/sai-common.profile | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/mellanox/docker-syncd-mlnx/sai-common.profile b/platform/mellanox/docker-syncd-mlnx/sai-common.profile index 3b9e6fe00573..d3b91a00e106 100644 --- a/platform/mellanox/docker-syncd-mlnx/sai-common.profile +++ b/platform/mellanox/docker-syncd-mlnx/sai-common.profile @@ -1,2 +1,3 @@ SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps SAI_DUMP_STORE_AMOUNT=10 +SAI_HOSTIF_OPER_STATUS_UPDATE_BY_APP=1