From 3030ee060058ce13e13b5606bc2105e05957501f Mon Sep 17 00:00:00 2001 From: vedganes Date: Fri, 5 Feb 2021 20:07:57 -0500 Subject: [PATCH] [voq/inband]Inband port name change Signed-off-by: vedganes Based on review comments Recyle port HLD (https://github.com/Azure/SONiC/pull/742) the inband port name prefix is changed from Inband to "Ethernet-IB" similar to what we have for Ethernet-BP (Ethernet-Backplane) in multi-asic design. Because of this changes, we no longer need "INBAND_PREFIX" definition since Ethernet-IB is covered in "INTFS_PREIFX" --- portsyncd/linksync.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/portsyncd/linksync.cpp b/portsyncd/linksync.cpp index c9f95e22ad..dc8bf90707 100644 --- a/portsyncd/linksync.cpp +++ b/portsyncd/linksync.cpp @@ -30,7 +30,6 @@ using namespace swss; const string MGMT_PREFIX = "eth"; const string INTFS_PREFIX = "Ethernet"; const string LAG_PREFIX = "PortChannel"; -const string INBAND_PREFIX = "Inband"; extern set g_portSet; extern bool g_init; @@ -168,8 +167,7 @@ void LinkSync::onMsg(int nlmsg_type, struct nl_object *obj) if (key.compare(0, INTFS_PREFIX.length(), INTFS_PREFIX) && key.compare(0, LAG_PREFIX.length(), LAG_PREFIX) && - key.compare(0, MGMT_PREFIX.length(), MGMT_PREFIX) && - key.compare(0, INBAND_PREFIX.length(), INBAND_PREFIX)) + key.compare(0, MGMT_PREFIX.length(), MGMT_PREFIX)) { return; }