Network Adapter Priority Doorbell Descriptor Handling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing direct memory access (DMA) systems in computer networks face inefficiencies in executing descriptors due to the need for frequent system memory reads by DMA engines, which can lead to resource bottlenecks and reduced processing speed.

Innovation Solution

A network interface adapter with a priority mode that allows the host processor to write descriptors directly to the adapter's doorbell address, enabling the adapter to execute descriptors without reading from memory, and a dual-mode submission mechanism to optimize resource utilization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If the DMA engine reads descriptors from system memory during execution, then the system maintains simplicity in descriptor submission, but the processing speed decreases due to frequent memory reads causing resource bottlenecks

Engineering Contradiction:
Improvedescriptor execution speedVSAvoiddual-mode submission mechanism
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The system dynamically switches between normal mode and priority mode based on resource availability and performance requirements. The DMA engine can adaptively choose to read descriptors from system memory (normal mode) or use pre-loaded priority buffers (priority mode), making the system flexible in handling different performance scenarios without requiring a completely different architecture.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The descriptor submission mechanism is segmented into two distinct pathways: normal submission through system memory and priority submission through direct doorbell writes. This segmentation allows the system to handle different types of descriptor requests through appropriate channels, with priority descriptors bypassing the memory read path to achieve faster execution when resources are available.

Inventive Principle:
Principle #1Segmentation

2Productivity

If the host writes descriptors directly to the adapter's doorbell address in priority mode, then processing speed increases by reducing system memory reads, but resource management becomes more complex

Engineering Contradiction:
Improvedescriptor execution throughputVSAvoidresource utilization management
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The doorbell address acts as an intermediary between the host and the DMA engine for priority descriptor submission. Instead of directly interacting with system memory or the DMA engine internals, the host writes to the doorbell address which then triggers the priority execution path. This intermediary simplifies the host's interface while enabling fast processing.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system changes the operational parameters of descriptor submission by introducing a priority mode with different memory access patterns. In priority mode, descriptors are written directly to the doorbell address rather than through system memory, fundamentally changing the access path and timing parameters to achieve faster execution when resources are lightly loaded.

Inventive Principle:
Principle #35Parameter changes

3Device complexity

If the system uses a single normal mode for all descriptor submissions, then the system architecture remains simple, but processing efficiency decreases under light resource load conditions

Engineering Contradiction:
Improvesubmission mechanism structureVSAvoiddescriptor processing efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The doorbell mechanism serves multiple functions: it acts as a normal trigger for descriptor execution and simultaneously serves as a direct write target for priority mode submissions. This multi-functionality allows the same hardware interface to support both normal and priority processing modes without requiring separate dedicated structures, maintaining relative simplicity while enabling enhanced performance.

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

Data Source

PatentUS8375145B2Doorbell handling with priority processing function
Publication Date: 2013.02.12 MELLANOX TECHNOLOGIES LTD(IL)
  • US8375145B2 patent drawing
  • US8375145B2 patent drawing
  • US8375145B2 patent drawing

AI summary

A network interface adapter provides a host processor with two complementary modes of submitting descriptors to be executed by the adapter: a normal mode, in which the host writes descriptors to a system memory and rings an assigned doorbell to notify the adapter; and a priority mode, in which the host writes the descriptor itself to a doorbell address of the adapter. In the priority mode, the adapter is relieved of the need to read the descriptor from the memory, and can thus begin execution as soon as it has resources available to do so.