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)
Tue, Dec 10, 2:17 AM
Unknown Object (File)
Sun, Nov 24, 6:57 AM
Unknown Object (File)
Thu, Nov 21, 3:10 PM
Unknown Object (File)
Thu, Nov 21, 12:43 PM
Unknown Object (File)
Tue, Nov 19, 11:54 PM
Unknown Object (File)
Mon, Nov 18, 10:31 AM
Unknown Object (File)
Nov 10 2024, 9:52 AM
Unknown Object (File)
Sep 18 2024, 5:40 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

Lint
Lint Skipped
Unit
Tests Skipped