A method for sending a virtual extensible local area network, VxLAN, packet, performed by a network adapter in a computer device, the computer device comprising the network adapter, a central processing unit and a virtual machine, wherein the method comprises the steps of: • receiving (step 500) a first packet from the virtual machine, wherein the network adapter supports single-root input/output virtualization, SR-IOV, and the network adapter includes a virtual extensible local area network tunnel end point, VTEP; • determining (step 502) whether the network adapter stores encapsulation information required for performing VxLAN encapsulation on the first packet, wherein the encapsulation information comprises an encapsulation Media Access Control, MAC, address and an encapsulation Internet Protocol, IP, address, the encapsulation MAC address is a MAC address of a next-hop device passed through when the first packet is sent, and the encapsulation IP address is an IP address of a VTEP on a destination end of the first packet, ∘ when the network adapter stores the encapsulation information required for performing VxLAN encapsulation on the first packet, performing, by the VTEP of the network adapter, the Vxlan encapsulation on the first packet, the encapsulated first packet including a VxLAN tunnel header and an original payload, wherein the VxLAN tunnel header includes, as an outer destination Media Access Control, MAC, address the encapsulation MAC address, an outer source MAC address, as an outer destination Internet Protocol, IP, address the encapsulation IP address, an outer source IP address, an outer User Datagram Protocol, UDP, header and a VxLAN Network Identifier, VNI; andsending a packet obtained after the VxLAN encapsulation is performed on the first packet (step 504); ∘ when the network adapter does not store the encapsulation information required for performing the VxLAN encapsulation on the first packet, sending (step 506) an obtaining request to the central processing unit, obtaining the encapsulation information from the central processing unit, storing the encapsulation information, and sending the packet obtained after the VxLAN encapsulation is performed on the first packet (step 506). • receiving (step 500) a first packet from the virtual machine, wherein the network adapter supports single-root input/output virtualization, SR-IOV, and the network adapter includes a virtual extensible local area network tunnel end point, VTEP; • determining (step 502) whether the network adapter stores encapsulation information required for performing VxLAN encapsulation on the first packet, wherein the encapsulation information comprises an encapsulation Media Access Control, MAC, address and an encapsulation Internet Protocol, IP, address, the encapsulation MAC address is a MAC address of a next-hop device passed through when the first packet is sent, and the encapsulation IP address is an IP address of a VTEP on a destination end of the first packet, ∘ when the network adapter stores the encapsulation information required for performing VxLAN encapsulation on the first packet, performing, by the VTEP of the network adapter, the Vxlan encapsulation on the first packet, the encapsulated first packet including a VxLAN tunnel header and an original payload, wherein the VxLAN tunnel header includes, as an outer destination Media Access Control, MAC, address the encapsulation MAC address, an outer source MAC address, as an outer destination Internet Protocol, IP, address the encapsulation IP address, an outer source IP address, an outer User Datagram Protocol, UDP, header and a VxLAN Network Identifier, VNI; andsending a packet obtained after the VxLAN encapsulation is performed on the first packet (step 504); ∘ when the network adapter does not store the encapsulation information required for performing the VxLAN encapsulation on the first packet, sending (step 506) an obtaining request to the central processing unit, obtaining the encapsulation information from the central processing unit, storing the encapsulation information, and sending the packet obtained after the VxLAN encapsulation is performed on the first packet (step 506). ∘ when the network adapter stores the encapsulation information required for performing VxLAN encapsulation on the first packet, performing, by the VTEP of the network adapter, the Vxlan encapsulation on the first packet, the encapsulated first packet including a VxLAN tunnel header and an original payload, wherein the VxLAN tunnel header includes, as an outer destination Media Access Control, MAC, address the encapsulation MAC address, an outer source MAC address, as an outer destination Internet Protocol, IP, address the encapsulation IP address, an outer source IP address, an outer User Datagram Protocol, UDP, header and a VxLAN Network Identifier, VNI; andsending a packet obtained after the VxLAN encapsulation is performed on the first packet (step 504); ∘ when the network adapter does not store the encapsulation information required for performing the VxLAN encapsulation on the first packet, sending (step 506) an obtaining request to the central processing unit, obtaining the encapsulation information from the central processing unit, storing the encapsulation information, and sending the packet obtained after the VxLAN encapsulation is performed on the first packet (step 506).