diff options
author | MD Danish Anwar <danishanwar@ti.com> | 2023-10-12 12:16:26 +0530 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-13 17:32:19 -0700 |
commit | 2c0d808f36cc6e0617f9dda055a6651c777a9d64 (patch) | |
tree | 9620e407252b2005a245df9b37068a8c0be13eb8 /drivers/usb/cdns3/cdns3-imx.c | |
parent | a258c804aa8742763dce694b5e992d7ccf4294f2 (diff) |
net: ti: icssg-prueth: Fix tx_total_bytes count
ICSSG HW stats on TX side considers 8 preamble bytes as data bytes. Due
to this the tx_bytes of ICSSG interface doesn't match the rx_bytes of the
link partner. There is no public errata available yet.
As a workaround to fix this, decrease tx_bytes by 8 bytes for every tx
frame.
Fixes: c1e10d5dc7a1 ("net: ti: icssg-prueth: Add ICSSG Stats")
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Link: https://lore.kernel.org/r/20231012064626.977466-1-danishanwar@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions