Method, device and system for network package processing
A network packet and graphics processor technology, applied in the computer field, can solve the problems of low network packet processing efficiency, high resource consumption, long response time, etc., and achieve the effect of reducing the number of copies, saving system resources, and improving efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0068] An embodiment of the present invention provides a method for network packet processing, specifically as figure 1 As shown, the method includes:
[0069] 101. Receive a network packet, and cache it in a first address of a memory buffer.
[0070] It should be noted that the "first" in the first address does not have any special meaning, and only indicates that it is a specific address in the memory buffer.
[0071] 102. According to the first address of the memory buffer and the address mapping relationship between the address of the pre-stored memory buffer and the physical address in the video memory of the graphics processor GPU, determine the address of the network packet in the video memory of the GPU physical address.
[0072] Specifically, the embodiment of the present invention is based on the unified virtual address space UVA (Unified virtual addressing, unified virtual address space) technology, the memory resources and the video memory resources on the graphi...
Embodiment 2
[0106] An embodiment of the present invention provides a method for network packet processing, specifically as image 3 The illustrated network packet processing system 300 is described below. The network packet processing system may specifically include a network card 301, a graphics card 302, a CPU 303, a memory 304, a chipset 305, a PCIe bus 306, and a DMA controller 307, wherein the The graphics card 302 includes a GPU3021 and a video memory 3022. The network card 301 and the graphics card 302 are connected to the same PCIe bus 306 and communicate with the CPU 303 through the chipset 305 . The method is as Figure 4 shown, including:
[0107] 401. The network card receives the network packet and caches it in the first address of the memory buffer.
[0108] 402. The network card determines that the network packet is in the video memory of the GPU according to the first address of the memory buffer and the address mapping relationship between the address of the pre-stored...
Embodiment 3
[0190] An embodiment of the present invention provides an apparatus 700 for network packet processing, specifically as Figure 7 As shown, it includes a receiving unit 701 , a storage unit 702 , a determining unit 703 , a control unit 704 , and a sending unit 705 .
[0191] The receiving unit 701 is configured to receive network packets.
[0192] The storage unit 702 is configured to cache the network packet in the first address of the memory buffer.
[0193] The determining unit 703 is configured to determine, according to the address mapping relationship between the first address of the memory buffer and the address of the pre-stored memory buffer and the physical address in the video memory of the graphics processor GPU, where the network packet is located. Specifies the physical address in the video memory of the GPU.
[0194] The control unit 704 is configured to control a direct memory access DMA controller, and write the network packet into the determined physical add...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com