Page MenuHomeFreeBSD

igc: Change default duplex setting
ClosedPublic

Authored by kd on Jun 30 2022, 11:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 30 2024, 2:16 AM
Unknown Object (File)
Dec 22 2023, 10:08 PM
Unknown Object (File)
Dec 13 2023, 11:13 PM
Unknown Object (File)
Dec 12 2023, 1:59 PM
Unknown Object (File)
Dec 8 2023, 4:50 AM
Unknown Object (File)
Nov 21 2023, 1:03 PM
Unknown Object (File)
Nov 14 2023, 6:39 AM
Unknown Object (File)
Oct 13 2023, 5:39 AM
Subscribers

Details

Summary

During media selection through ifconfig one might not specify the duplex setting through the mediaopt flag.
In that case the igc driver would default to full-duplex.
The problem with this approach is that e1000(em/igb) driver defaults to half-duplex...
Because of that if one connects both NICs and sets media to e.g. 100baseTX on both of them no link will be found.
Fix that by matching igc behaviour with what e1000 does.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable