aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda <[email protected]>2023-06-08 10:57:27 +0900
committerDavid S. Miller <[email protected]>2023-06-09 10:41:09 +0100
commit0ad4982c520ed87ea7ebfc9381ea1f617ed75364 (patch)
treeb97f6e58d890b191599b0463e19483764c18e99a /lib/mpi/mpi-bit.c
parent6c02568fd1ae53099b4ab86365c5be1ff15f586b (diff)
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 <[email protected]> Fixes: 33f5d733b589 ("net: renesas: rswitch: Improve TX timestamp accuracy") Signed-off-by: Yoshihiro Shimoda <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions