diff options
| author | Vladimir Oltean <[email protected]> | 2023-06-27 13:42:35 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-06-27 16:31:51 +0000 |
| commit | 528a08bcd820d07887edeae706df88ceb06db109 (patch) | |
| tree | a2d71280b96fd21bcde0a01da7ff500da9dddafe /net/unix/af_unix.c | |
| parent | Merge branch 'use-vmalloc_array-and-vcalloc' (diff) | |
| download | kernel-528a08bcd820d07887edeae706df88ceb06db109.tar.gz kernel-528a08bcd820d07887edeae706df88ceb06db109.zip | |
net: phy: mscc: fix packet loss due to RGMII delays
Two deadly typos break RX and TX traffic on the VSC8502 PHY using RGMII
if phy-mode = "rgmii-id" or "rgmii-txid", and no "tx-internal-delay-ps"
override exists. The negative error code from phy_get_internal_delay()
does not get overridden with the delay deduced from the phy-mode, and
later gets committed to hardware. Also, the rx_delay gets overridden by
what should have been the tx_delay.
Fixes: dbb050d2bfc8 ("phy: mscc: Add support for RGMII delay configuration")
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Harini Katakam <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
