Page MenuHomeFreeBSD

igc: Change default duplex setting
ClosedPublic

Authored by kd on Jun 30 2022, 11:07 AM.
Tags
None
Referenced Files
F173998812: D35673.diff
Tue, Sep 29, 9:10 PM
F173972890: D35673.diff
Tue, Sep 29, 5:44 PM
Unknown Object (File)
Tue, Sep 8, 10:34 PM
Unknown Object (File)
Mon, Sep 7, 7:02 AM
Unknown Object (File)
Aug 25 2026, 2:17 PM
Unknown Object (File)
Aug 19 2026, 8:18 AM
Unknown Object (File)
Aug 19 2026, 7:40 AM
Unknown Object (File)
Aug 19 2026, 12:11 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