diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2023-06-08 04:57:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-09 12:41:09 +0300 |
commit | 0ad4982c520ed87ea7ebfc9381ea1f617ed75364 (patch) | |
tree | b97f6e58d890b191599b0463e19483764c18e99a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6c02568fd1ae53099b4ab86365c5be1ff15f586b (diff) | |
download | linux-0ad4982c520ed87ea7ebfc9381ea1f617ed75364.tar.xz |
net: renesas: rswitch: Fix timestamp feature after all descriptors are used
The timestamp descriptors were intended to act cyclically. Descriptors
from index 0 through gq->ring_size - 1 contain actual information, and
the last index (gq->ring_size) should have LINKFIX to indicate
the first index 0 descriptor. However, the LINKFIX value is missing,
causing the timestamp feature to stop after all descriptors are used.
To resolve this issue, set the LINKFIX to the timestamp descritors.
Reported-by: Phong Hoang <phong.hoang.wz@renesas.com>
Fixes: 33f5d733b589 ("net: renesas: rswitch: Improve TX timestamp accuracy")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions