Invention Grant
- Patent Title: Zero copy message reception for devices via page tables used to access receiving buffers
-
Application No.: US16453576Application Date: 2019-06-26
-
Publication No.: US11593168B2Publication Date: 2023-02-28
- Inventor: Michael Tsirkin
- Applicant: Red Hat, Inc.
- Applicant Address: US NC Raleigh
- Assignee: Red Hat, Inc.
- Current Assignee: Red Hat, Inc.
- Current Assignee Address: US NC Raleigh
- Agency: K&L Gates LLP
- Main IPC: G06F9/50
- IPC: G06F9/50 ; G06F9/455

Abstract:
Zero copy message reception for devices is disclosed. For example, a host has a memory, a processor, a supervisor, and a device with access to device memory addresses mapped in a device page table via an IOMMU. An application has access to application memory addresses and is configured to identify a first page of memory addressed by an application memory address to share with the device as a receiving buffer to store data received by the device for the application, where the first page is mapped to a first device memory address in a first device page table entry (PTE). A supervisor is configured to detect that the first application has disconnected from the device, and in response to detecting the application disconnecting, to update the first device PTE to address a second page instead of the first page.
Information query