Skip to content

Commit

Permalink
[201911/portsorch] Add correct stat list for port buffer drop counters (
Browse files Browse the repository at this point in the history
#1509)

Signed-off-by: Danny Allen <[email protected]>
  • Loading branch information
daall authored Nov 19, 2020
1 parent 1c68706 commit e3f22ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,7 @@ bool PortsOrch::initPort(const string &alias, const set<int> &lane_set)
}

fields.clear();
fields.emplace_back(PORT_COUNTER_ID_LIST, counters_stream.str());
fields.emplace_back(PORT_COUNTER_ID_LIST, port_buffer_drop_stream.str());
m_flexCounterTable->set(port_drop_key, fields);

PortUpdate update = {p, true };
Expand Down

0 comments on commit e3f22ea

Please sign in to comment.