From 7b2546cb7ed057d5ac9acbe2b6e8f344e12db706 Mon Sep 17 00:00:00 2001 From: Stephen Sun Date: Wed, 17 Nov 2021 06:58:05 +0000 Subject: [PATCH] Make the comment more clear Signed-off-by: Stephen Sun --- orchagent/orch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/orchagent/orch.cpp b/orchagent/orch.cpp index 8c2b1d8588..5a27e9161a 100644 --- a/orchagent/orch.cpp +++ b/orchagent/orch.cpp @@ -671,7 +671,8 @@ unsigned long Orch::generateBitMapFromIdsStr(const string &idsStr) * Parse the idsMap and generate a vector which contains slices representing bits in idsMap * Args: * idsMap: The bitmap of IDs. The LSB stands for ID 0. - * maxId: The maximum value of ID. + * maxId: The (exclusive) upperbound of ID range. + * Eg: if ID range is 0~7, maxId should be 8. * Return: * A vector which contains slices representing bits in idsMap *