Duplex Mismatch Detection via Late Collision Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Duplex mismatch occurs when one link partner uses full-duplex mode while the other uses half-duplex mode, leading to reduced performance, port stalling, and frame errors, as existing technologies lack effective mechanisms to detect and correct this mismatch, especially in networks with older equipment that may not support auto-negotiation.

Innovation Solution

Incorporating a duplex mismatch circuit in network devices that detects late or very late collisions to declare a duplex mismatch, allowing the device to change modes from half-duplex to full-duplex or vice versa, using collision detect and CRC error/fragment detect circuits to determine the correct mode, and employing mechanisms like auto-negotiation, parallel detect, and collision forcing to resolve the mismatch.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If duplex mismatch detection is implemented using collision detection, then detection accuracy is improved, but device complexity increases

Engineering Contradiction:
Improveduplex mismatch detection accuracyVSAvoidcircuit complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The collision detect circuit is made multi-functional by enabling it to serve both traditional collision detection purposes and duplex mismatch detection purposes. The same circuit infrastructure is leveraged to detect late collisions that indicate duplex mismatch, eliminating the need for separate dedicated detection circuits and thus avoiding the complexity penalty while maintaining high detection accuracy.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The existing collision detect circuit is made to detect duplex mismatch conditions using its own inherent capabilities. By monitoring for late collisions (collisions occurring after a predetermined amount of data has been transmitted), the circuit self-services the additional function of duplex mismatch detection without requiring external assistance or additional hardware resources.

Inventive Principle:
Principle #25Self-service

2Adaptability or versatility

If auto-negotiation is used to resolve duplex mismatch, then adaptability is improved, but device complexity increases

Engineering Contradiction:
Improvemode negotiation capabilityVSAvoidnegotiation mechanism complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system implements feedback-based duplex mismatch resolution where the detection circuit continuously monitors collision conditions and provides feedback to the duplex mode circuit. When late collisions are detected indicating a duplex mismatch, the feedback mechanism triggers automatic mode negotiation to resolve the mismatch, creating a closed-loop adaptive system that improves versatility while managing complexity through intelligent control.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The duplex mode circuit dynamically adjusts the operating mode based on detected conditions. The system transitions from static configuration to dynamic adaptation by continuously monitoring for duplex mismatch conditions and automatically switching between half-duplex and full-duplex modes as needed, enhancing the system's ability to adapt to varying network conditions.

Inventive Principle:
Principle #15Dynamics

3Reliability

If collision forcing is implemented to detect duplex mismatch, then detection reliability is improved, but loss of time increases

Engineering Contradiction:
Improveduplex mismatch detection reliabilityVSAvoiddetection time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary monitoring of collision conditions during normal data transmission without requiring additional active probing. By detecting late collisions that occur during routine operations, the system avoids the need for separate collision forcing sequences, thereby maintaining high detection reliability while minimizing time loss as the detection happens incidentally during normal traffic.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8705416B2Duplex mismatch detection
Publication Date: 2014.04.22 MARVELL ASIA PTE LTD
  • US8705416B2 patent drawing
  • US8705416B2 patent drawing
  • US8705416B2 patent drawing

AI summary

An apparatus including a port to transmit first frames and receive second frames over a communication channel, the port including a collision detect circuit and a duplex mismatch circuit. The collision detect circuit detects collisions on the communication channel between the first frames and the second frames. The duplex mismatch circuit declares a duplex mismatch when the communication channel was established without attempting auto-negotiation, the port is in a half-duplex mode, and the collision detect circuit detects a very late collision involving one of the first frames. The very late collision occurs after a predetermined amount of data has been transmitted in the one of the first frames. The duplex mismatch indicates that a full-duplex mode is used with respect to the second frames.