aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorAsmaa Mnebhi <[email protected]>2024-01-05 10:59:46 -0500
committerDavid S. Miller <[email protected]>2024-01-07 15:18:47 +0000
commitef210ef85d5cb543ce34a57803ed856d0c8c08c2 (patch)
tree5a80d1ab4d40b288f488d535916232b20b60dff8 /scripts/generate_rust_analyzer.py
parent3f14b377d01d8357eba032b4cabc8c1149b458b6 (diff)
mlxbf_gige: Fix intermittent no ip issue
Although the link is up, there is no ip assigned on setups with high background traffic. Nothing is transmitted nor received. The RX error count keeps on increasing. After several minutes, the RX error count stagnates and the GigE interface finally gets an ip. The issue is that mlxbf_gige_rx_init() is called before phy_start(). As soon as the RX DMA is enabled in mlxbf_gige_rx_init(), the RX CI reaches the max of 128, and becomes equal to RX PI. RX CI doesn't decrease since the code hasn't ran phy_start yet. Bring the PHY up before starting the RX. Fixes: f92e1869d74e ("Add Mellanox BlueField Gigabit Ethernet driver") Reviewed-by: David Thompson <[email protected]> Signed-off-by: Asmaa Mnebhi <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions