Auto-negotiation
The mechanism by which the Ethernet ports at each end of a cable announce what they can do and settle on the fastest speed and duplex both support.
It arrived with Fast Ethernet in IEEE 802.3u in 1995, based on National Semiconductor's NWay. Ports send bursts of short pulses, Fast Link Pulses, encoding a list of capabilities; both then pick the highest common denominator. For gigabit over copper, negotiation is mandatory, because it also decides which side drives the clock.
The classic trap is duplex mismatch. If someone hard-codes one side to 100/full, that side stops negotiating. The other side can still work out the speed from the signal, but not the duplex, and the standard tells it to assume half. The link comes up, ping works, and under load it suffers late collisions and dropped frames. For years the advice was to always hard-code both ends; today it's to let both negotiate.