Skip to content

Commit 01bb267

Browse files
author
vedganes
committed
[voq/inband]Inband port name change
Signed-off-by: vedganes <vedavinayagam.ganesan@nokia.com> Based on review comments Recyle port HLD (sonic-net/SONiC#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"
1 parent 027d350 commit 01bb267

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

portsyncd/linksync.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ using namespace swss;
3030
const string MGMT_PREFIX = "eth";
3131
const string INTFS_PREFIX = "Ethernet";
3232
const string LAG_PREFIX = "PortChannel";
33-
const string INBAND_PREFIX = "Inband";
3433

3534
extern set<string> g_portSet;
3635
extern bool g_init;
@@ -168,8 +167,7 @@ void LinkSync::onMsg(int nlmsg_type, struct nl_object *obj)
168167

169168
if (key.compare(0, INTFS_PREFIX.length(), INTFS_PREFIX) &&
170169
key.compare(0, LAG_PREFIX.length(), LAG_PREFIX) &&
171-
key.compare(0, MGMT_PREFIX.length(), MGMT_PREFIX) &&
172-
key.compare(0, INBAND_PREFIX.length(), INBAND_PREFIX))
170+
key.compare(0, MGMT_PREFIX.length(), MGMT_PREFIX))
173171
{
174172
return;
175173
}

0 commit comments

Comments
 (0)