Method and system for managing wireless network interface based on DPDK

A wireless network and interface technology, applied in the field of wireless function technology development, can solve problems such as large time delay and failure to meet design requirements, and achieve the effect of qualified time delay

Active Publication Date: 2020-11-13
FENGHUO COMM SCI & TECH CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] Generally, a direct implementation method is to submit the wireless frame processing flow unchanged, submit it to the CPU, and then transfer it to DPDK, so forwarding is feasible, but because the message needs to go through a complete process, the user state and kernel state copy switching , and there are two-hop routes, which will cause a large delay
In addition, two routing tables need to be maintained, which does not meet the design requirements

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for managing wireless network interface based on DPDK
  • Method and system for managing wireless network interface based on DPDK
  • Method and system for managing wireless network interface based on DPDK

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Explanation of technical terms

[0045] NFV network virtualization

[0046] DMA direct memory access

[0047] LTE long-term evolution mobile communication technology

[0048] WIFI wireless fidelity wireless access technology

[0049] AF_PACKET can directly act on the raw socket of the link layer

[0050] SOCK_RAW is used to create a raw socket identifier for the link layer to directly send data frames

[0051] packet_mmap Kernel mode and user mode based on packet-based memory sharing mapping

[0052] IGB_UIO DPDK interface technology, which can directly bind the network card to DPDK

[0053] USR_API user mode application

[0054] Kernel NIC interface technology promoted by KNI DPDK

[0055] Tx_ring The send queue ring managed by DPDK in user mode

[0056] Rx_ring Receive queue ring managed by DPDK in user mode

[0057] Tx_sock wireless module sending kernel queue ring

[0058] Rx_sock wireless module receiving kernel queue ring

[0059] Ifconfig general linux...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a system for managing a wireless network interface based on DPDK, and relates to the field of wireless function technology development of soft forwarding equipmentfor realizing network virtualization. The method comprises the following steps: creating tx_ring and rx_ring managed by a user mode DPDK for each wireless network interface, and binding the tx_ring and the rx_ring into a virtual transceiving port of the DPDK; based on the AF_PACKET, respectively creating a transceiving socket of a direct connection hardware layer for each wireless network interface, and setting rx_lock and tx_lock based on a packet mapping mode; mapping tx_ring to the kernel space of tx_lock by adopting memory mapping, and mapping rx_ring to the kernel space of rx_lock to realize memory sharing; and directly polling the tx_ring and the rx_ring through the DPDK to finish the transceiving of the frame. According to the method, kernel protocol stack processing is skipped, and data copying operation during one-time receiving and sending is omitted; wireless driving does not need to be changed, and time delay is qualified.

Description

technical field [0001] The invention relates to the field of wireless function technology development of a soft forwarding device realizing network virtualization, in particular to a method and system for managing a wireless network interface based on DPDK. Background technique [0002] Common communication forwarding equipment uses dedicated devices to efficiently forward messages through built-in hardware circuits or hardware circuits formed by programming, that is, only a very small amount of data frames need to be processed by the CPU. However, with the rapid development of the Internet, the rapid emergence of the cloud industry and the demand for network virtualization, a large number of data frames usually need to be processed by the CPU, that is, the integration of communication and information processing is required. This convergence is ICT (Information and Communication Technology, Information and Telecommunications Technology). [0003] The usual devices are KIO (...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24
CPCH04L41/00Y02D30/70
Inventor 刘怀明张光华王永强
Owner FENGHUO COMM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products