Skip to content

Commit

Permalink
Fix tx pkt received counter in hw agent
Browse files Browse the repository at this point in the history
Summary: The tx pkt receive count was not getting incremented

Reviewed By: shri-khare

Differential Revision: D67827219

fbshipit-source-id: 86555dff82fa3fa08f3cec846b28d181c92e97de
  • Loading branch information
Midhun Somasundaran authored and facebook-github-bot committed Jan 5, 2025
1 parent acdedf4 commit 714771d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fboss/agent/mnpu/SplitAgentThriftSyncerClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ folly::coro::Task<void> ThriftStreamClient<StreamObjectT>::serveStream() {
}
auto eventObj = *event;
eventHandlerFn_(eventObj, hw_);
eventReceivedCount_.add(1);
}
co_return;
}
Expand Down

0 comments on commit 714771d

Please sign in to comment.