The invention belongs to the field of
network data processing, and provides a method and a
system for achieving transmission and receiving of VXLAN message line speed. The method comprises the steps that a
virtual machine application program calls a VXLAN interface
library to open a network card device port, the VXLAN interface
library distributes
direct memory access (DMA) buffer area queues in
user space, and transmits an address of a buffer area to a network card driver, a network card extension drive program writes a received VXLAN message in the DMA buffer area, an interface
library function conducts VXLAN agreement de-encapsulation to the received message and submits the message to the
virtual machine application program, the
virtual machine application program calls the interface
library function to sent the message, the interface
library function conducts VXLAN encapsulation to the message and writes the message in the DMA buffer area, and the network card extension drive program transmits the message according to a target address. According to the method and the
system for achieving the transmission and the receiving of the VXLAN message line speed, real-
time processing to the VXLAN message is achieved in a
cloud computing environment and cost of VXLAN
message processing is effectively lowered on the premise that hardware equipment is not exchanged.