# US 2026/0095412 A1 · Network packet processing device with explicit congestion notification marking aided by network processing unit and related network packet processing method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0095412 A1
- Document ID: US20260095412A1
- Status: Published application
- Kind: A1
- Application number: 19/325,466
- Filed: 2025-09-10
- Published: 2026-04-02
- Earliest claimed: 2024-09-29
- Assignees: Airoha Technology (Suzhou) Limited
- Applicants: Airoha Technology (Suzhou) Limited
- Inventors: Weihua Huang; Fei Yan; Peng Du
- Web page: https://patentgrep.com/patent/US20260095412A1

## CPC

- H04L 47/24: Traffic characterised by specific attributes, e.g. priority or QoS
- H04L 47/12: Avoiding congestion; Recovering from congestion
- H04L 47/33: using forward notification
- H04L 47/6255: {queue load conditions, e.g. longest queue first}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A network packet processing device includes a hardware-accelerated forwarding circuit and a network processing unit (NPU). The hardware-accelerated forwarding circuit is used to receive a plurality of L4S packets from a network port and send the plurality of L4S packets to another network port through hardware-accelerated forwarding without intervention of a central processing unit (CPU). The NPU is used to perform ECN marking on at least a portion of the plurality of L4S packets.

## Claims

### Claim 1

A network packet processing device comprising:
a hardware-accelerated forwarding circuit, configured to receive a plurality of Low Latency, Low Loss, Scalable Throughput (L4S) packets from a network port, and send the plurality of L4S packets to another network port through hardware-accelerated forwarding, without intervention of a central processing unit (CPU); and
a network processing unit (NPU), configured to perform explicit congestion notification (ECN) marking on at least a portion of the plurality of L4S packets.

### Claim 2 (depends on 1)

The network packet processing device of claim 1, wherein the NPU comprises:
a queue monitoring circuit, configured to monitor an L4S queue and a legacy queue to generate a monitoring result;
a traffic monitoring circuit, configured to monitor a maximum bandwidth of the another network port, wherein an update of the maximum bandwidth of the another network port depends on the monitoring result generated by the queue monitoring circuit; and
an ECN marking circuit, configured to calculate an ECN marking probability according to at least the maximum bandwidth of the another network port, and perform ECN marking on the at least a portion of the plurality of L4S packets according to the ECN marking probability.

### Claim 3 (depends on 2)

The network packet processing device of claim 2, wherein the queue monitoring circuit sets the monitoring result according to a queue length of the L4S queue and a queue length of the legacy queue.

### Claim 4 (depends on 3)

The network packet processing device of claim 3, wherein at least one of the queue length of the L4S queue and the queue length of the legacy queue is a non-zero value, and the monitoring result set by the queue monitoring circuit instructs the traffic monitoring circuit to update the maximum bandwidth of the another network port.

### Claim 5 (depends on 4)

The network packet processing device of claim 4, wherein the traffic monitoring circuit calculates a sending rate of the L4S queue and a sending rate of the legacy queue; and in response to the monitoring result, the traffic monitoring circuit updates the maximum bandwidth of the another network port by a sum of the sending rate of the L4S queue and the sending rate of the legacy queue.

### Claim 6 (depends on 3)

The network packet processing device of claim 3, wherein both of the queue length of the L4S queue and the queue length of the legacy queue are zero values, and the monitoring result set by the queue monitoring circuit instructs the traffic monitoring circuit to keep the maximum bandwidth of the another network port unchanged.

### Claim 7 (depends on 2)

The network packet processing device of claim 2, wherein the ECN marking circuit calculates a maximum bandwidth of the L4S queue according to a quality of service (QoS) rule of the L4S queue and the legacy queue and the maximum bandwidth of the another network port, calculates a first ratio of a sending rate of the L4S queue to the maximum bandwidth of the L4S queue, and calculates the ECN marking probability according to at least the first ratio.

### Claim 8 (depends on 7)

The network packet processing device of claim 7, wherein the ECN marking circuit further calculates a total queue length of the L4S queue and the legacy queue, and calculates a second ratio of a queue length of the L4S queue to the total queue length of the L4S queue and the legacy queue; and the ECN marking circuit calculates the ECN marking probability according to at least the first ratio and the second ratio.

### Claim 9 (depends on 7)

The network packet processing device of claim 7, wherein the ECN marking circuit further calculates a total queue length of the L4S queue and the legacy queue, and calculate a second ratio of a queue length of the legacy queue to the total queue length of the L4S queue and the legacy queue; and the ECN marking circuit calculates the ECN marking probability according to at least the first ratio and the second ratio.

### Claim 10 (depends on 2)

The network packet processing device of claim 2, wherein the ECN marking circuit selects a plurality of L4S flows with highest traffic according to a predetermined flow count, determines an ECN marking count according to the ECN marking probability, and for each of the plurality of L4S flows, refers to the ECN marking count to select frontmost L4S packets for ECN marking.

### Claim 11

A network packet processing method comprising:
receiving a plurality of Low Latency, Low Loss, Scalable Throughput (L4S) packets from a network port;
sending the plurality of L4S packets to another network port through hardware-accelerated forwarding, without intervention of a central processing unit (CPU); and
performing, by a network processing unit (NPU), explicit congestion notification (ECN) marking on at least a portion of the plurality of L4S packets.

### Claim 12 (depends on 11)

The network packet processing method of claim 11, wherein performing, by the NPU, ECN marking on the at least a portion of the plurality of L4S packets comprises:
monitoring an L4S queue and a legacy queue to generate a monitoring result;
monitoring a maximum bandwidth of the another network port, wherein an update of the maximum bandwidth of the another network port depends on the monitoring result;
calculating an ECN marking probability according to at least the maximum bandwidth of the another network; and
performing ECN marking on the at least a portion of the plurality of L4S packets according to the ECN marking probability.

### Claim 13 (depends on 12)

The network packet processing method of claim 12, wherein monitoring the L4S queue and the legacy queue to generate the monitoring result comprises:
setting the monitoring result according to a queue length of the L4S queue and a queue length of the legacy queue.

### Claim 14 (depends on 13)

The network packet processing method of claim 13, wherein at least one of the queue length of the L4S queue and the queue length of the legacy queue is a non-zero value, and the monitoring result instructs updating the maximum bandwidth of the another network port.

### Claim 15 (depends on 14)

The network packet processing method of claim 14, wherein monitoring the maximum bandwidth of the another network port comprises:
calculating a sending rate of the L4S queue and a sending rate of the legacy queue; and
in response to the monitoring result, updating the maximum bandwidth of the another network port by a sum of the sending rate of the L4S queue and the sending rate of the legacy queue.

### Claim 16 (depends on 13)

The network packet processing method of claim 13, wherein both of the queue length of the L4S queue and the queue length of the legacy queue are zero values, and the monitoring result instructs keeping the maximum bandwidth of the another network port unchanged.

### Claim 17 (depends on 12)

The network packet processing method of claim 12, wherein calculating the ECN marking probability according to at least the maximum bandwidth of the another network comprises:
calculating a maximum bandwidth of the L4S queue according to a quality of service (QoS) rule of the L4S queue and the legacy queue and the maximum bandwidth of the another network port;
calculating a first ratio of a sending rate of the L4S queue to the maximum bandwidth of the L4S queue; and
calculating the ECN marking probability according to at least the first ratio.

### Claim 18 (depends on 17)

The network packet processing method of claim 17, wherein calculating the ECN marking probability according to at least the maximum bandwidth of the another network further comprises:
calculating a total queue length of the L4S queue and the legacy queue; and
calculating a second ratio of a queue length of the L4S queue to the total queue length of the L4S queue and the legacy queue;
calculating the ECN marking probability according to at least the first ratio comprises:
calculating the ECN marking probability according to at least the first ratio and the second ratio.

### Claim 19 (depends on 17)

The network packet processing method of claim 17, wherein calculating the ECN marking probability according to at least the maximum bandwidth of the another network further comprises:
calculating a total queue length of the L4S queue and the legacy queue; and
calculating a second ratio of a queue length of the legacy queue to the total queue length of the L4S queue and the legacy queue;
calculating the ECN marking probability according to at least the first ratio comprises:
calculating the ECN marking probability according to at least the first ratio and the second ratio.

### Claim 20 (depends on 12)

The network packet processing method of claim 12, wherein performing ECN marking on the at least a portion of the plurality of L4S packets according to the ECN marking probability comprises:
selecting a plurality of L4S flows with highest traffic according to a predetermined flow count;
determining an ECN marking count according to the ECN marking probability; and
for each of the plurality of L4S flows, referring to the ECN marking count to select frontmost L4S packets for ECN marking.
