IP Library Granted Patent US 12,164,450
Granted Patent B2
US 12,164,450 · App. 17/368,172 · Granted Dec 10, 2024

Managing network interface controller-generated interrupts

Inventor: Michael Tsirkin (Lexington, MA)
Assignee: Red Hat Israel, Ltd.
G06F13/24
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,164,450
App. No.
17/368,172
Granted
Dec 10, 2024
Kind
B2
Abstract

Systems and methods for managing interrupts generated by network interface controllers. An example method may comprise: responsive to determining that a memory pressure metric in a computer system does not exceed a threshold value, disabling interrupts that signal completion of a packet transmission by a network interface controller; transmitting a plurality of data packets by the network interface controller; and responsive to detecting that the memory pressure metric exceeds the threshold value, releasing a memory buffer allocated to a data packet of the plurality of data packets.

Claims (22)

1. A method, comprising:

responsive to determining, by a computer system, that a memory pressure metric in the computer system does not exceed a threshold value, disabling interrupts that signal completion of a packet transmission by a network interface controller, wherein the memory pressure metric comprises a period of time during which an application being executed by the computer system has been blocked by a memory allocation operation;

transmitting a plurality of data packets by the network interface controller; and

responsive to detecting that the memory pressure metric exceeds the threshold value, releasing a memory buffer allocated to a data packet of the plurality of data packets.

2. The method of claim 1 , further comprising determining that one or more data packets have been transmitted by the network interface controller, responsive to detecting that the memory pressure metric exceeds the threshold value.

3. The method of claim 1 , further comprising:

responsive to detecting that the memory pressure metric exceeds the threshold value, enabling interrupts that signal completion of packet transmission by the network interface controller.

4. A system comprising:

a memory; and

one or more processors, coupled to the memory, to:

responsive to determining that a memory pressure metric in the system does not exceed a threshold value, disable interrupts that signal completion of a packet transmission by a network interface controller, wherein the memory pressure metric comprises a period of time during which an application being executed by the computer system has been blocked by a memory allocation operation;

transmit a plurality of data packets by the network interface controller; and

responsive to detecting that the memory pressure metric exceeds the threshold value, release a memory buffer allocated to a data packet of the plurality of data packets.

5. The system of claim 4 , wherein the processors are further to:

responsive to detecting that the memory pressure metric exceeds the threshold value, enable interrupts that signal completion of packet transmission by the network interface controller.

6. The system of claim 4 , wherein disabling interrupts is performed by writing a pre-defined value into one of: a network interface controller or an interrupt controller.

7. A computer-readable non-transitory storage medium comprising executable instructions that, when executed by a computer system, cause the computer system to:

responsive to determining, by a computer system, that a memory pressure metric in the computer system does not exceed a threshold value, disable interrupts that signal completion of a packet transmission by a network interface controller, wherein the memory pressure metric comprises a period of time during which an application being executed by the computer system has been blocked by a memory allocation operation;

transmit a plurality of data packets by the network interface controller; and

responsive to detecting that the memory pressure metric exceeds the threshold value, release a memory buffer allocated to a data packet of the plurality of data packets.

8. The computer-readable non-transitory storage medium of claim 7 , further comprising instructions that, when executed by a computer system, cause the computer system to:

responsive to detecting that the memory pressure metric exceeds the threshold value, enabling interrupts that signal completion of packet transmission by the network interface controller.

Assignments (2)
CHANGE OF NAME Recorded Mar 3, 2026
From: RED HAT, INC.
To: RED HAT, LLC
Reel/Frame 074913/0759 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 6, 2021
From: TSIRKIN, MICHAEL
To: RED HAT ISRAEL, LTD.
Reel/Frame 056764/0616 →
Continuity (2)
Continuation 14034866 · Sep 24, 2013
Related Publication 20210334228A1 · Oct 28, 2021