Managing misaligned DMA addresses
Abstract
A system and method operable to manage misaligned direct memory access (DMA) data transfers is provided. This method involves determining a delta between N bytes of data to be copied from within a local side buffer (source location) to a remote buffer (destination location). After the delta is determined a tail of the same length is copied to temporary storage. Then the N bytes of data on the local side buffer minus the tail will be shifted to align the N bytes of data to be copied from within the local side buffer to the starting address of the destination location in the remote buffer. The pre-shifted N bytes of data within the local side buffer may be DMA transferred to the remote buffer. The tail transferred to temporary storage may then be copied from temporary storage to the remote buffer.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: determining a delta between N bytes of data to be copied from a local side buffer to a remote buffer, the delta being a misalignment of a starting location of a data block within the local side buffer and an intended starting location within the remote buffer; copying a tail of the N bytes of data within the local side buffer to temporary storage, the tail comprising a trailing number of bytes of the N bytes of data that would overrun the local side buffer if the N bytes of data were shifted in the local side buffer by the delta; shifting the N bytes of data to be copied f
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗