摘要:
Embodiments of the present invention provide a method for sending a VxLAN packet, a computer device, and a computer readable medium, to resolve a problem that a network adapter cannot forward a VxLAN packet in the prior art. By means of the method for forwarding a VxLAN packet provided in the embodiments of the present invention, after receiving a first packet, a network adapter determines whether the network adapter stores encapsulation information required for performing VxLAN encapsulation on the first packet; if the network adapter stores the encapsulation information, performs VxLAN encapsulation on the first packet and sends the first packet; or if the network adapter does not store the encapsulation information, requests the encapsulation information from a central processing unit and stores the encapsulation information; and sends a packet obtained after the VxLAN encapsulation is performed on the first packet, so that the network adapter implements the VxLAN encapsulation and the sending of the received packet.
摘要:
Embodiments of the present invention provide a method for sending a VxLAN packet, a computer device, and a computer readable medium, to resolve a problem that a network adapter cannot forward a VxLAN packet in the prior art. By means of the method for forwarding a VxLAN packet provided in the embodiments of the present invention, after receiving a first packet, a network adapter determines whether the network adapter stores encapsulation information required for performing VxLAN encapsulation on the first packet; if the network adapter stores the encapsulation information, performs VxLAN encapsulation on the first packet and sends the first packet; or if the network adapter does not store the encapsulation information, requests the encapsulation information from a central processing unit and stores the encapsulation information; and sends a packet obtained after the VxLAN encapsulation is performed on the first packet, so that the network adapter implements the VxLAN encapsulation and the sending of the received packet.
摘要:
Embodiments of the present invention provide a method for sending a VxLAN packet, a computer device, and a computer readable medium, to resolve a problem that a network adapter cannot forward a VxLAN packet in the prior art. By means of the method for forwarding a VxLAN packet provided in the embodiments of the present invention, after receiving a first packet, a network adapter determines whether the network adapter stores encapsulation information required for performing VxLAN encapsulation on the first packet; if the network adapter stores the encapsulation information, performs VxLAN encapsulation on the first packet and sends the first packet; or if the network adapter does not store the encapsulation information, requests the encapsulation information from a central processing unit and stores the encapsulation information; and sends a packet obtained after the VxLAN encapsulation is performed on the first packet, so that the network adapter implements the VxLAN encapsulation and the sending of the received packet.