You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would something as straightforward as acquiring a lock around all accesses to rx_counters / tx_counters do what you are asking for? If so, are you interested in submitting a PR for review that does this?
We need a thread safe method to flush counters in dataplane, as there may many thread sharing the same dataplane instance:(
ptf/src/ptf/__init__.py
Line 20 in c554f83
Counters:
ptf/src/ptf/dataplane.py
Lines 571 to 575 in c554f83
The text was updated successfully, but these errors were encountered: