Skip to content

Commit

Permalink
Enable 8 Lanes Support in vslib (sonic-net#1355)
Browse files Browse the repository at this point in the history
Enable 8 lanes support in vslib. This is needed to emulate HW SKUs which contains 8 lanes in their port_config.ini.

Tested bring up of vs image with HWSKU containing 8 lanes in their port_config.ini/lanemap.ini files.
  • Loading branch information
deepak-singhal0408 authored Feb 15, 2024
1 parent ea8767c commit a91d51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vslib/LaneMapFileParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void LaneMapFileParser::parse(

size_t n = tokens.size();

if (n != 1 && n != 2 && n != 4)
if (n != 1 && n != 2 && n != 4 && n != 8)
{
SWSS_LOG_ERROR("invalid number of lanes (%zu) assigned to interface %s", n, ifname.c_str());
return;
Expand Down

0 comments on commit a91d51d

Please sign in to comment.