diff options
author | Mengyuan Lou <mengyuanlou@net-swift.com> | 2024-08-20 11:04:25 +0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-08-22 12:28:33 +0200 |
commit | f2916c83d746eb99f50f42c15cf4c47c2ea5f3b3 (patch) | |
tree | 968ea7dc1442993b3eb6ec8deaae755e5095a75f /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
parent | a0b4a80ed6ce2cf8140fe926303ba609884b5d9b (diff) |
net: ngbe: Fix phy mode set to external phy
The MAC only has add the TX delay and it can not be modified.
MAC and PHY are both set the TX delay cause transmission problems.
So just disable TX delay in PHY, when use rgmii to attach to
external phy, set PHY_INTERFACE_MODE_RGMII_RXID to phy drivers.
And it is does not matter to internal phy.
Fixes: bc2426d74aa3 ("net: ngbe: convert phylib to phylink")
Signed-off-by: Mengyuan Lou <mengyuanlou@net-swift.com>
Cc: stable@vger.kernel.org # 6.3+
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/E6759CF1387CF84C+20240820030425.93003-1-mengyuanlou@net-swift.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions