Snoop logic function streaming timers
Abstract
Embodiments of the present disclosure implement hardware-based snoop logic streaming timers for input/output (I/O) communications between a host and a shared network adapter in a computing system. The disclosed embodiments describe a hardware-based snoop logic and snoop logic timer function control of input/output (I/O) processor monitoring a defined memory area to detect a completion queue entry being written to a completion queue, and implementing streaming timers and interpacket timers, based on the completion queue entry and predefined configuration information for an associated host interface connection, to provide streaming data status, interpacket arrival times, and streaming timer expiration for the associated host interface connection.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method comprising: monitoring, using hardware-based snoop logic, a completion queue entry (CQE) being written to a completion queue in a defined memory area, where the CQE includes an identifier of a host interface connection; configuring predefined events based on the CQE and predefined configuration information for the host interface connection; and initiating a streaming timer, based on the predefined events, to provide streaming data status and a streaming timer expiration for the host interface connection.
- Claim 2Depends on #1
The method of claim 1, wherein initiating the streaming timer further comprises initiating an interpacket timer, based on the predefined events, to monitor interpacket arrival times of a given configuration for the host interface connection set by a host.
- Claim 3Depends on #2
The method of claim 2, wherein initiating the interpacket timer further comprises detecting an interpacket timer expiration in response to a predefined timeout interval between packet arrivals and cancelling the streaming timer.
- Claim 4Depends on #2
The method of claim 2, wherein initiating a streaming timer further comprises detecting the streaming timer expiration and cancelling the interpacket timer.
- Claim 5Depends on #2
The method of claim 2, wherein the streaming timer and the interpacket timer are initiated based on a given host defined configuration for the host interface connection, and wherein the host defined configuration includes a first timeout interval for the streaming timer and a second timeout interval for the interpacket timer.
- Claim 6Depends on #1
The method of claim 1, wherein the completion event entry includes a connection ID associated with the host interface connection and a queue ID for the connection ID, and wherein initiating the streaming timer further comprises triggering the streaming timer based on one or more packet arrivals for the connecting ID and the queue ID.
- Claim 7Depends on #1
The method of claim 1, wherein initiating the streaming timer further comprises maintaining a timer array function for assigning each new streaming timer, wherein the each new streaming timer is assigned in continuous locations in the timer array with unused locations left toward an end of the timer array.
- Claim 8Depends on #7
The method of claim 7, wherein maintaining the timer array function further comprises providing a timer-free pointer, a read pointer, and a write pointer, wherein the timer-free pointer points at a next free entry in the timer array and is always active.
- Claim 9Depends on #8
The method of claim 8, wherein assigning the each new streaming timer further comprises capturing a Time-of-Day (ToD) value in the array location for each activated new streaming timer, updating the timer-free pointer for a next array location and incrementing the timer-free pointer, and updating the timer array for each new streaming timer assignment.
- Claim 10Depends on #8
The method of claim 8, further comprises in response to identifying a Time-of-Day (ToD) change, performing an array walk-through based on the ToD change, identifying a non-timed-out entry, incrementing the read pointer and incrementing the write pointer for the non-timed-out entry; identifying a timed-out entry of the timer array, only incrementing the read pointer, and writing a next non-timed-out entry to the free space created due to the timed-out timer.
- Claim 11Independent Claim
A system, comprising one or more computer processors; and a memory containing a program which when executed by the one or more computer processors performs an operation, the operation comprising: monitoring, using hardware-based snoop logic, a completion queue entry (CQE) being written to a completion queue in a defined memory area, where the CQE includes an identifier of a host interface connection; configuring predefined events based on the CQE and predefined configuration information for the host interface connection; and initiating a streaming timer, based on the predefined events, to provide streaming data status and a streaming timer expiration to the host interface connection.
- Claim 12Depends on #11
The system of claim 11, wherein initiating the streaming timer further comprises initiating an interpacket timer, based on the predefined events, to monitor interpacket arrival times for the host interface connection of a given configuration set by a host.
- Claim 13Depends on #12
The system of claim 12, wherein initiating the interpacket timer further comprises detecting an interpacket timer expiration in response to a predefined timeout interval between packet arrivals and cancelling the streaming timer.
- Claim 14Depends on #12
The system of claim 12, wherein initiating the streaming timer further comprises detecting the streaming timer expiration and cancelling the interpacket timer.
- Claim 15Depends on #12
The system of claim 12, wherein the streaming timer and the interpacket timer are initiated based on a given host defined configuration for the host interface connection, and wherein the host defined configuration includes a first timeout interval for the streaming timer and a second timeout interval for the interpacket timer.
- Claim 16Independent Claim
A computer program product comprising: a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code executable by one or more computer processors to perform an operation, the operation comprising: monitoring, using hardware-based snoop logic, a completion queue entry (CQE) being written to a completion queue in a defined memory area, where the CQE includes an identifier of a host interface connection; configuring predefined events based on the CQE and predefined configuration information for the host interface connection; and initiating a streaming timer, based on the predefined events, to provide streaming data status and a streaming timer expiration to the host interface connection.
- Claim 17Depends on #16
The computer program product of claim 16, wherein initiating the streaming timer further comprises initiating an interpacket timer, based on the predefined events, to monitor interpacket arrival times for the host interface connection of a given configuration set by a host.
- Claim 18Depends on #17
The computer program product of claim 17, wherein initiating the interpacket timer further comprises detecting an interpacket timer expiration in response to a predefined timeout interval between packet arrivals and cancelling the streaming timer.
- Claim 19Depends on #17
The computer program product of claim 17, wherein initiating the streaming timer further comprises detecting the streaming timer expiration and cancelling the interpacket timer.
- Claim 20Depends on #17
The computer program product of claim 17, wherein the streaming timer and the interpacket timer are initiated based on a given host defined configuration for the host interface connection, and wherein the host defined configuration includes a first timeout interval for the streaming timer and a second timeout interval for the interpacket timer.
Technical Overview & Description
BACKGROUND The present invention relates to computing systems, and more specifically, to implementing hardware-based snoop logic streaming timers for input/output (I/O) communications between a host and a shared network adapter in a computing system. In computing systems, enabling I/O communications between a host and a shared network adapter remains a significant challenge, typically requiring a large number of timers with complex logic for a multiplicity of data connections. A shared network adapter (e.g., an I/O adapter) facilitates I/O communications that include the transfer of large amounts of data, such as streaming data, into or out of a host and host memory file system. Conventional I/O communications typically include streaming timer operations for each of the data connections, which often require complex hardware and significant time to complete. As modern computing systems evolve, it is increasingly difficult to provide effective and efficient I/O communications with conventional techniques. SUMMARY According to one embodiment of the present disclosure, a non-limiting computer implemented method is provided. The method comprises monitoring, using hardware-based snoop logic, a completion queue entry (CQE) being written to a completion queue in a defined memory area, where the CQE includes an identifier of a host interface connection; configuring predefined events based on the CQE and predefined configuration information for the host interface connection; and initiating a streaming timer, based on the predefined events, to provide streaming data status and a streaming timer expiration to the host interface connection. According to one embodiment of the present disclosure, a system is provided. The system includes one or more computer processors, and a memory containing a program which when executed by the one or more computer processors performs an operation. The operation comprises monitoring, using hardware-based snoop logic, a completion queue entry (CQ
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (11)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (5)
- International Searching Authority,
- “
- Notification of Transmittal of the International Search Report and the Written Opinion of the International Searching Authority, or Declaration,
- ”
- Patent Cooperation Treaty Apr. 10, 2025, 10 pages, International Application No.-PCT/IB2024/063114.