diff options
| author | Sudarsana Reddy Kalluru <[email protected]> | 2019-05-27 20:21:33 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-29 00:01:30 -0700 |
| commit | 9adebac37e7d26c5cd73776a0279574afe3f410b (patch) | |
| tree | de67505141d52178f9d6ba8bf50c6aa062a6a321 /tools/perf/scripts/python | |
| parent | 24c6203bb986d1b3c8ae8176fbfde907d35d6328 (diff) | |
qede: Handle infinite driver spinning for Tx timestamp.
In PTP Tx implementation, driver kept scheduling a poll thread until the
timestamp is available. In the error scenarios (e.g. app requesting the
timestamp for non-ptp packet), this thread kept waiting for the timestamp
forever. This patch add changes to report such scenario as an error and
terminate the thread. Added a timeout of 2 seconds i.e., max time to wait
for Tx timestamp. Added a stat value ptp_skip_txts for reporting the number
of packets for which Tx timestamping is skipped.
Signed-off-by: Sudarsana Reddy Kalluru <[email protected]>
Signed-off-by: Michal Kalderon <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions