WO2016197848A1 - Method, apparatus and system for managing network card - Google Patents

Method, apparatus and system for managing network card Download PDF

Info

Publication number
WO2016197848A1
WO2016197848A1 PCT/CN2016/084335 CN2016084335W WO2016197848A1 WO 2016197848 A1 WO2016197848 A1 WO 2016197848A1 CN 2016084335 W CN2016084335 W CN 2016084335W WO 2016197848 A1 WO2016197848 A1 WO 2016197848A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual
network card
data packet
physical network
pcie address
Prior art date
Application number
PCT/CN2016/084335
Other languages
French (fr)
Chinese (zh)
Inventor
姚治成
马久跃
隋秀峰
包云岗
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2016197848A1 publication Critical patent/WO2016197848A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery

Definitions

  • Embodiments of the present invention relate to the field of information technology, and in particular, to a method, device, and system for managing a network card.
  • Virtualization abstracts and transforms various physical resources of a computer, such as servers, networks, memory, and storage, and breaks down barriers between physical structures. Computer components run on a virtual basis rather than on a real basis. To enable users to better apply these resources. Virtualization technology can simulate multiple independent hardware environments on a single hardware platform, so that one platform can run multiple operating systems at the same time, and applications can run in separate spaces without affecting each other, thus significantly improving the work of the computer. effectiveness.
  • VMs virtual network cards used by virtual machines
  • the hypervisor software of virtualization technology is complex in design. At this level, virtualized management of devices requires complex control logic. However, the traffic isolation of virtual network cards needs to be guaranteed at this level, further increasing the Hypervisor software. Design difficulty.
  • the complex implementation results in a virtual software card stack that is too thick, and its performance is severely degraded in the case of high load and multiple virtual network cards.
  • the software-level NIC virtualization technology also has poor reliability. The virtual NIC of the software layer shares a physical NIC, so once the physical NIC fails, all virtual layer NICs based on it will not work properly.
  • a method of managing a network card including the following steps:
  • mapping table where the mapping table is used to save a plurality of virtual network cards and a plurality of physical network cards Mapping relationship between
  • mapping table Querying the mapping table according to the virtual new generation peripheral component expansion interface PCIe address of the data packet, and acquiring the address information of the physical network card corresponding to the virtual PCIe address, that is, the physical PCIe address;
  • the mapping table specifically includes: a virtual PCIe address, a virtual MAC address, a physical PCIe address, and weight information.
  • the forwarding, by the physical network card corresponding to the virtual PCIe address, the data packet The steps specifically include:
  • the data packet is directly forwarded to the corresponding physical network card
  • the data packet is sent to one physical network card of the plurality of physical network cards by using load balancing technology.
  • the querying according to the virtual PCIe address Before the step of mapping the table the method further includes:
  • the NIC manager temporarily stores the data packet in the cache unit
  • the NIC manager obtains the virtual PCIe address information.
  • a network card manager including:
  • a receiving unit configured to receive a data packet
  • a storage unit configured to store a network card mapping table, where the mapping table stores a mapping relationship between a plurality of virtual network cards and a plurality of physical network cards, wherein one virtual network card may also be mapped to multiple physical network cards;
  • control unit configured to query the mapping table according to the virtual new generation peripheral component expansion interface PCIe address of the data packet, and obtain address information of a physical network card corresponding to the virtual PCIe address;
  • a sending unit configured to send the data packet to a physical network card corresponding to the address information according to an instruction of the control unit.
  • the mapping table specifically includes: a virtual PCIe address, a virtual MAC address, a physical PCIe address, and weight information.
  • control unit is further configured to:
  • the sending unit is controlled to directly forward the data packet to the corresponding physical network card;
  • the load balancing technology is used to control the sending unit to send the data packet to one of the plurality of physical network cards.
  • the method further includes:
  • a cache unit configured to cache the data packet
  • the control unit is further configured to acquire a virtual PCIe address of the data packet.
  • a third aspect provides a network card management system, including: a plurality of physical network cards, a plurality of virtual network cards, and a network card manager, wherein the plurality of physical network cards are connected to the network card manager, and the plurality of virtual network cards are virtualized by the network card manager.
  • the network card manager further includes:
  • a receiving unit configured to receive a data packet
  • a storage unit configured to store a network card mapping table, where the mapping table stores a mapping relationship between a plurality of virtual network cards and a plurality of physical network cards, wherein one virtual network card may also be mapped to multiple physical network cards;
  • control unit configured to query the mapping table according to the virtual new generation peripheral component expansion interface PCIe address of the data packet, and obtain address information of a physical network card corresponding to the virtual PCIe address;
  • a sending unit configured to send the data packet to a physical network card corresponding to the address information according to an instruction of the control unit.
  • control unit is further configured to:
  • the sending unit is controlled to directly forward the data packet to the corresponding physical network card;
  • the load balancing technology is used to control the sending unit to send the data packet to one of the plurality of physical network cards.
  • the network controller further includes:
  • a cache unit configured to cache the data packet
  • the control unit is further configured to acquire a virtual PCIe address of the data packet.
  • a mapping relationship between a plurality of virtual network cards and a plurality of physical network cards is established by using a mapping table, and two or more virtual network cards may be mapped to one physical network card to improve physical network cards.
  • the utilization efficiency; a virtual network card can also be mapped to multiple physical network cards.
  • the network card manager can offload the data packets to other physical network cards that can work normally, and play the role of backup protection to improve virtuality.
  • the physical network card may be temporarily added according to the service requirement.
  • mapping table of the network card manager needs to be updated, and the added physical network card is added to the mapping table, and the network card manager can split the data packet according to the updated mapping table.
  • the flexibility and scalability of the virtual machine system is greatly enhanced.
  • FIG. 1 is a schematic structural diagram of a network card management system according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a network card manager according to an embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of a method according to a first embodiment of the present invention.
  • FIG. 4 is a flow chart showing the method of the second embodiment of the present invention.
  • a network card management system includes: a plurality of physical network cards, a network card manager, and a plurality of virtual network cards.
  • a plurality of physical network cards are respectively connected to the network card manager, and a plurality of virtual network cards are virtualized through the network card manager.
  • the network card manager of the present invention further includes: a receiving unit, a buffer unit (RINGBUFFER), a storage unit, a control unit, and a transmitting unit.
  • the receiving unit is configured to receive a data packet
  • the cache unit is configured to cache a data packet received by the physical network card, a data packet sent to the virtual network card, and other temporary data packets
  • a storage unit configured to save the network interface card (Network Interface Card) , NIC) mapping table, the contents of the mapping table are shown in Table 1:
  • the mapping table is used to store a mapping relationship between a plurality of virtual network interface cards (VNICs) and a plurality of physical network interface cards (PNICs), wherein multiple virtual network cards can be mapped to one physical network card, one virtual The NIC can also be mapped to multiple physical NICs.
  • VNICs virtual network interface cards
  • PNICs physical network interface cards
  • the virtual network card VNIC1 corresponds to the unique physical network card PNIC1
  • the virtual network card VNIC3 is mapped to two physical network cards (PNIC2 and PNIC4).
  • control unit configured to query the mapping table according to the virtual new generation peripheral component expansion interface PCIe address of the data packet to obtain address information of a physical network card corresponding to the virtual PCIe address, and the control unit further includes direct memory access (Direct Memory Access, DMA) controller, protocol analysis (PA) logic, etc., used to control the entire workflow of the NIC manager;
  • DMA Direct Memory Access
  • PA protocol analysis
  • a sending unit configured to send the data packet to a physical network card corresponding to the address information according to an instruction of the control unit.
  • the operation process of the method according to the first embodiment of the present invention is as follows:
  • the receiving unit of the network card manager receives the data packet from the upper layer device, and assumes that the virtual PCIe (Peripheral Component Interconnect Express) address of the data packet is VNIC1;
  • VNIC1 virtual PCIe (Peripheral Component Interconnect Express) address of the data packet
  • the network card manager temporarily saves the data packet in a cache unit.
  • control unit of the network card manager obtains the virtual PCIe address of the data packet, that is, VNIC1;
  • the control unit of the network card manager queries the mapping table saved by the storage unit through the virtual PCIe address of the data packet, and obtains the address information of the physical network card corresponding to the virtual PCIe address of the data packet, that is, PNIC1;
  • the sending unit of the network card manager sends the data packet to the physical network card corresponding to the address information. Further, if the virtual network address corresponding to the virtual PCIe address of the data packet is Multiple, for example, the virtual network card VNIC3 corresponds to two physical network cards (PNIC2 and PNIC4), and the data packet can be sent to one of the physical network cards PNIC2 or PNIC4 by using load balancing technology.
  • the operation procedure of the method of the second embodiment of the present invention is as follows:
  • the receiving unit of the network card manager receives the data packet from the physical network card, and assumes that the physical PCIe (Peripheral Component Interconnect Express) address of the data packet is PNIC1;
  • PCIe Peripheral Component Interconnect Express
  • control unit of the network card manager acquires the physical PCIe address, that is, PNIC1;
  • the control unit of the network card manager queries the mapping table saved by the storage unit through the physical PCIe address, and obtains the address information of the virtual network card corresponding to the physical PCIe address, that is, VNIC1;
  • the network card manager temporarily saves the data packet in a cache unit corresponding to the virtual network card
  • the DMA interrupt is regenerated, and the data is sent to the designated memory.
  • the certain condition refers to that the cached data reaches a specified number or the time exceeds a specified time or a read request sent by the upper layer software is received.
  • the memory address of the DMA interrupt transfer data of each virtual network card is allocated by the upper input/output memory management unit (IO MMU), so that the virtual machine VM can directly use the virtual network card instead of Interventions at the hypervisor level are required.
  • IO MMU input/output memory management unit
  • a mapping relationship between a plurality of virtual network cards and a plurality of physical network cards is established by using a mapping table, and two or more virtual network cards may be mapped to one physical network card to improve utilization efficiency of the physical network card; and a virtual network card is also used. It can be mapped to multiple physical NICs. When one of the physical NICs fails, the NIC manager can offload the packets to other physical NICs that can work normally, and play the role of backup protection to improve the stability of the virtual machine system. In addition, the physical network card may be temporarily added according to the service requirement.
  • mapping table of the network card manager needs to be updated, and the added physical network card is added to the mapping table, and the network card manager can split the data packet according to the updated mapping table.
  • the flexibility and scalability of the virtual machine system is greatly enhanced.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device implementations described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used.
  • Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interface, device or unit.
  • the indirect coupling or communication connection can be in electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Abstract

Disclosed is a method for managing a network card. The method comprises the following steps: establishing a mapping table, wherein the mapping table is used to save a mapping relationship between plural virtual network cards and plural physical network cards; receiving a data packet; querying the mapping table according to a virtual new-generation peripheral component interface express (PCIe) address of the data packet, and acquiring address information, i.e. a physical PCIe address, about a physical network card corresponding to the virtual PCIe address; and forwarding the data packet to the physical network card corresponding to the virtual PCIe address. In the present invention, the mapping table is utilized to establish the mapping relationship between plural virtual network cards and plural physical network cards, unified management of a plurality of physical network cards is implemented, the flexibility of a system is improved, and hot plugging of a network card can be done according to different needs, having a very good fault tolerance function and reliability.

Description

一种管理网卡的方法、装置及系统Method, device and system for managing network card 技术领域Technical field
本发明实施例涉及信息技术领域,具体涉及一种管理网卡的方法、装置及系统。Embodiments of the present invention relate to the field of information technology, and in particular, to a method, device, and system for managing a network card.
背景技术Background technique
虚拟化是将计算机的各种实体资源,如服务器、网络、内存及存储等,予以抽象、转换后呈现出来,打破实体结构间的障碍,计算机元件在虚拟的基础上而不是真实的基础上运行,使用户可以更好的应用这些资源。虚拟化技术可以单硬件平台模拟多个独立运行的硬件环境,从而使得一个平台同时运行多个操作系统,并且应用程序都可以在相互独立的空间内运行而互不影响,从而显著提高计算机的工作效率。Virtualization abstracts and transforms various physical resources of a computer, such as servers, networks, memory, and storage, and breaks down barriers between physical structures. Computer components run on a virtual basis rather than on a real basis. To enable users to better apply these resources. Virtualization technology can simulate multiple independent hardware environments on a single hardware platform, so that one platform can run multiple operating systems at the same time, and applications can run in separate spaces without affecting each other, thus significantly improving the work of the computer. effectiveness.
在现有的虚拟化技术中,虚拟机(Virtual Machine,VM)使用的虚拟网卡都是由Hypervisor软件在软件层提供,并且所有虚拟网卡都共享一个物理网卡。发明人发现,软件层提供的虚拟网卡虽然使用方便、灵活,但是存在实现复杂、性能不足、可靠性差等问题。首先,虚拟化技术的Hypervisor软件设计复杂,在该层次对设备进行虚拟化管理本身就需要复杂的控制逻辑,然而虚拟网卡的流量隔离等工作也需要在该层次进行保障,进一步增加了Hypervisor软件的设计难度。其次,复杂的实现造成虚拟网卡的软件栈太厚,在高负载、多虚拟网卡情况下其性能严重下降。此外,软件层次的网卡虚拟化技术还存在可靠性差问题,软件层的虚拟网卡共享一个物理网卡,这样一旦该物理网卡发生故障,必然造成基于其的所有软件层虚拟网卡不能正常工作。In the existing virtualization technology, virtual network cards used by virtual machines (VMs) are provided by the hypervisor software at the software layer, and all virtual network cards share a physical network card. The inventor found that although the virtual network card provided by the software layer is convenient and flexible to use, it has problems such as complicated implementation, insufficient performance, and poor reliability. First of all, the hypervisor software of virtualization technology is complex in design. At this level, virtualized management of devices requires complex control logic. However, the traffic isolation of virtual network cards needs to be guaranteed at this level, further increasing the Hypervisor software. Design difficulty. Secondly, the complex implementation results in a virtual software card stack that is too thick, and its performance is severely degraded in the case of high load and multiple virtual network cards. In addition, the software-level NIC virtualization technology also has poor reliability. The virtual NIC of the software layer shares a physical NIC, so once the physical NIC fails, all virtual layer NICs based on it will not work properly.
发明内容Summary of the invention
本发明实施例的目的是提供一种可以提高系统稳定性和扩展便利性的管理网卡的方法、装置及系统。It is an object of embodiments of the present invention to provide a method, apparatus, and system for managing a network card that can improve system stability and scalability.
第一方面,提供一种管理网卡的方法,包括以下步骤:In a first aspect, a method of managing a network card is provided, including the following steps:
建立映射表,所述映射表用于保存复数个虚拟网卡和复数个物理网卡之 间的映射关系;Establishing a mapping table, where the mapping table is used to save a plurality of virtual network cards and a plurality of physical network cards Mapping relationship between
接收数据包;Receiving a data packet;
根据所述数据包的虚拟新一代周边元件扩展接口PCIe地址查询所述映射表,获取所述虚拟PCIe地址所对应的物理网卡的地址信息,即物理PCIe地址;Querying the mapping table according to the virtual new generation peripheral component expansion interface PCIe address of the data packet, and acquiring the address information of the physical network card corresponding to the virtual PCIe address, that is, the physical PCIe address;
向所述虚拟PCIe地址所对应的物理网卡转发所述数据包。And forwarding the data packet to a physical network card corresponding to the virtual PCIe address.
结合第一方面,在第一方面的第一种可能的实现方式中,所述映射表具体包括:虚拟PCIe地址、虚拟MAC地址、物理PCIe地址以及权重信息。With reference to the first aspect, in a first possible implementation manner of the first aspect, the mapping table specifically includes: a virtual PCIe address, a virtual MAC address, a physical PCIe address, and weight information.
结合第一方面或第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述向所述虚拟PCIe地址所对应的物理网卡转发所述数据包的步骤具体包括:With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the forwarding, by the physical network card corresponding to the virtual PCIe address, the data packet The steps specifically include:
当所述虚拟PCIe地址所对应的物理网卡为一个时,直接向对应的物理网卡转发所述数据包;When the physical network card corresponding to the virtual PCIe address is one, the data packet is directly forwarded to the corresponding physical network card;
当所述虚拟PCIe地址所对应的物理网卡为多个时,则利用负载均衡技术将数据包发送到多个物理网卡中的一个物理网卡。When there are multiple physical network cards corresponding to the virtual PCIe address, the data packet is sent to one physical network card of the plurality of physical network cards by using load balancing technology.
结合第一方面以及第一方面的第一种至第二种可能的任一种可能的实现方式,在第一方面的第三种可能的实现方式中,在所述根据所述虚拟PCIe地址查询所述映射表的步骤之前,还包括:With reference to the first aspect, and the first to the second possible possible implementation manners of the first aspect, in a third possible implementation manner of the first aspect, the querying according to the virtual PCIe address Before the step of mapping the table, the method further includes:
网卡管理器将该数据包临时保存在缓存单元中;The NIC manager temporarily stores the data packet in the cache unit;
网卡管理器获取该虚拟PCIe地址信息。The NIC manager obtains the virtual PCIe address information.
第二方面,提供一种网卡管理器,包括:In a second aspect, a network card manager is provided, including:
接收单元,用于接收数据包;a receiving unit, configured to receive a data packet;
存储单元,用于存储网卡映射表,所述映射表保存复数个虚拟网卡和复数个物理网卡的映射关系,其中,一个虚拟网卡也可以映射到多个物理网卡;a storage unit, configured to store a network card mapping table, where the mapping table stores a mapping relationship between a plurality of virtual network cards and a plurality of physical network cards, wherein one virtual network card may also be mapped to multiple physical network cards;
控制单元,用于根据所述数据包的虚拟新一代周边元件扩展接口PCIe地址查询所述映射表,获取所述虚拟PCIe地址所对应的物理网卡的地址信息;以及a control unit, configured to query the mapping table according to the virtual new generation peripheral component expansion interface PCIe address of the data packet, and obtain address information of a physical network card corresponding to the virtual PCIe address;
发送单元,用于根据所述控制单元的指令发送所述数据包到所述地址信息对应的物理网卡。And a sending unit, configured to send the data packet to a physical network card corresponding to the address information according to an instruction of the control unit.
结合第二方面,在第二方面的第一种可能的实现方式中,所述映射表具体包括:虚拟PCIe地址、虚拟MAC地址、物理PCIe地址以及权重信息。 With reference to the second aspect, in a first possible implementation manner of the second aspect, the mapping table specifically includes: a virtual PCIe address, a virtual MAC address, a physical PCIe address, and weight information.
结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述控制单元进一步用于:In conjunction with the second aspect or the first possible implementation of the second aspect, in a second possible implementation of the second aspect, the control unit is further configured to:
当所述虚拟PCIe地址所对应的物理网卡为一个时,控制所述发送单元直接向对应的物理网卡转发所述数据包;When the physical network card corresponding to the virtual PCIe address is one, the sending unit is controlled to directly forward the data packet to the corresponding physical network card;
当所述虚拟PCIe地址所对应的物理网卡为多个时,则利用负载均衡技术控制所述发送单元将数据包发送到多个物理网卡中的一个物理网卡。When there are multiple physical network cards corresponding to the virtual PCIe address, the load balancing technology is used to control the sending unit to send the data packet to one of the plurality of physical network cards.
结合第二方面,在第二方面的第三种可能的实现方式中,其特征在于,进一步包括:With reference to the second aspect, in a third possible implementation manner of the second aspect, the method further includes:
缓存单元,用于缓存所述数据包;a cache unit, configured to cache the data packet;
所述控制单元,进一步用于获取所述数据包的虚拟PCIe地址。The control unit is further configured to acquire a virtual PCIe address of the data packet.
第三方面,提供一种网卡管理系统,包括:复数个物理网卡、复数个虚拟网卡以及网卡管理器,所述复数个物理网卡与网卡管理器相连接,通过网卡管理器虚拟成复数个虚拟网卡,所述网卡管理器进一步包括:A third aspect provides a network card management system, including: a plurality of physical network cards, a plurality of virtual network cards, and a network card manager, wherein the plurality of physical network cards are connected to the network card manager, and the plurality of virtual network cards are virtualized by the network card manager. The network card manager further includes:
接收单元,用于接收数据包;a receiving unit, configured to receive a data packet;
存储单元,用于存储网卡映射表,所述映射表保存复数个虚拟网卡和复数个物理网卡的映射关系,其中,一个虚拟网卡也可以映射到多个物理网卡;a storage unit, configured to store a network card mapping table, where the mapping table stores a mapping relationship between a plurality of virtual network cards and a plurality of physical network cards, wherein one virtual network card may also be mapped to multiple physical network cards;
控制单元,用于根据所述数据包的虚拟新一代周边元件扩展接口PCIe地址查询所述映射表,获取所述虚拟PCIe地址所对应的物理网卡的地址信息;以及a control unit, configured to query the mapping table according to the virtual new generation peripheral component expansion interface PCIe address of the data packet, and obtain address information of a physical network card corresponding to the virtual PCIe address;
发送单元,用于根据所述控制单元的指令发送所述数据包到所述地址信息对应的物理网卡。And a sending unit, configured to send the data packet to a physical network card corresponding to the address information according to an instruction of the control unit.
结合第三方面,在第三方面的第一种可能的实现方式中,所述控制单元进一步用于:In conjunction with the third aspect, in a first possible implementation manner of the third aspect, the control unit is further configured to:
当所述虚拟PCIe地址所对应的物理网卡为一个时,控制所述发送单元直接向对应的物理网卡转发所述数据包;When the physical network card corresponding to the virtual PCIe address is one, the sending unit is controlled to directly forward the data packet to the corresponding physical network card;
当所述虚拟PCIe地址所对应的物理网卡为多个时,则利用负载均衡技术控制所述发送单元将数据包发送到多个物理网卡中的一个物理网卡。When there are multiple physical network cards corresponding to the virtual PCIe address, the load balancing technology is used to control the sending unit to send the data packet to one of the plurality of physical network cards.
结合第三方面或第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述网络控制器进一步包括:With the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the network controller further includes:
缓存单元,用于缓存所述数据包;a cache unit, configured to cache the data packet;
所述控制单元,进一步用于获取所述数据包的虚拟PCIe地址。 The control unit is further configured to acquire a virtual PCIe address of the data packet.
本发明实施例的有益效果是:本发明的实施例,利用映射表建立复数个虚拟网卡和复数个物理网卡之间的映射关系,两个以上的虚拟网卡可以映射到一个物理网卡,提高物理网卡的利用效率;一个虚拟网卡也可以映射到多个物理网卡,当其中一个物理网卡故障时,网卡管理器可以将数据包分流到其它可以正常工作的物理网卡,起到备份保护的作用,提高虚拟机系统的稳定性。另外,还可以根据业务需要临时增加物理网卡,此时,只需要更新网卡管理器的映射表,将增加的物理网卡加入到映射表,网卡管理器就可以根据更新后的映射表分流数据包,使得虚拟机系统的灵活性和可扩展性大大提高。The beneficial effects of the embodiments of the present invention are: in the embodiment of the present invention, a mapping relationship between a plurality of virtual network cards and a plurality of physical network cards is established by using a mapping table, and two or more virtual network cards may be mapped to one physical network card to improve physical network cards. The utilization efficiency; a virtual network card can also be mapped to multiple physical network cards. When one of the physical network cards fails, the network card manager can offload the data packets to other physical network cards that can work normally, and play the role of backup protection to improve virtuality. The stability of the machine system. In addition, the physical network card may be temporarily added according to the service requirement. In this case, only the mapping table of the network card manager needs to be updated, and the added physical network card is added to the mapping table, and the network card manager can split the data packet according to the updated mapping table. The flexibility and scalability of the virtual machine system is greatly enhanced.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without any creative work.
图1是本发明实施例的网卡管理系统的架构示意图;1 is a schematic structural diagram of a network card management system according to an embodiment of the present invention;
图2是本发明实施例的网卡管理器的组成示意图;2 is a schematic structural diagram of a network card manager according to an embodiment of the present invention;
图3是本发明第一实施例的方法流程示意图;3 is a schematic flow chart of a method according to a first embodiment of the present invention;
图4是本发明第二实施例的方法流程示意图。4 is a flow chart showing the method of the second embodiment of the present invention.
具体实施方式detailed description
如图1所示,本发明实施例的网卡管理系统,包括:复数个物理网卡、网卡管理器以及复数个虚拟网卡。复数个物理网卡分别与网卡管理器相连接,通过网卡管理器虚拟出复数个虚拟网卡。As shown in FIG. 1 , a network card management system according to an embodiment of the present invention includes: a plurality of physical network cards, a network card manager, and a plurality of virtual network cards. A plurality of physical network cards are respectively connected to the network card manager, and a plurality of virtual network cards are virtualized through the network card manager.
如图2所示,本发明的网卡管理器进一步包括:接收单元、缓存单元(RINGBUFFER)、存储单元、控制单元以及发送单元等组件。其中,接收单元,用于接收数据包;缓存单元,用于缓存物理网卡接收到的数据包、发送给虚拟网卡的数据包、以及其它临时数据包;存储单元,用于保存网卡(Network Interface Card,NIC)映射表,映射表的内容如表1所示:As shown in FIG. 2, the network card manager of the present invention further includes: a receiving unit, a buffer unit (RINGBUFFER), a storage unit, a control unit, and a transmitting unit. The receiving unit is configured to receive a data packet, and the cache unit is configured to cache a data packet received by the physical network card, a data packet sent to the virtual network card, and other temporary data packets, and a storage unit configured to save the network interface card (Network Interface Card) , NIC) mapping table, the contents of the mapping table are shown in Table 1:
虚拟PCIe地址Virtual PCIe address 虚拟MAC地址Virtual MAC address 物理PCIe地址Physical PCIe address 权重Weights 保留Reserved
VNIC1 VNIC 1 MAC1 MAC 1 PNIC1 PNIC 1 weightWeight reservedReserved
VNIC2 VNIC 2 MAC2 MAC 2 PNIC2 PNIC 2 weightWeight reservedReserved
VNIC3 VNIC 3 MAC3 MAC 3 PNIC2,PNIC4 PNIC 2 , PNIC 4 weightWeight reservedReserved
... ... ... weightWeight reservedReserved
VNICk VNIC k MACk MAC k PNICn PNIC n weightWeight reservedReserved
表1Table 1
映射表用于保存复数个虚拟网卡(Virtual Network Interface Card,VNIC)和复数个物理网卡(Physical Network Interface Card,PNIC)的映射关系,其中,多个个虚拟网卡可以映射到一个物理网卡,一个虚拟网卡也可以映射到多个物理网卡。如表1所示,虚拟网卡VNIC1与唯一的物理网卡PNIC1对应,虚拟网卡VNIC3则映射到两个物理网卡(PNIC2和PNIC4)。The mapping table is used to store a mapping relationship between a plurality of virtual network interface cards (VNICs) and a plurality of physical network interface cards (PNICs), wherein multiple virtual network cards can be mapped to one physical network card, one virtual The NIC can also be mapped to multiple physical NICs. As shown in Table 1, the virtual network card VNIC1 corresponds to the unique physical network card PNIC1, and the virtual network card VNIC3 is mapped to two physical network cards (PNIC2 and PNIC4).
控制单元,用于根据所述数据包的虚拟新一代周边元件扩展接口PCIe地址查询所述映射表,获取所述虚拟PCIe地址所对应的物理网卡的地址信息,控制单元进一步包括直接内存访问(Direct Memory Access,DMA)控制器、协议分析(Protocol Analysis,PA)逻辑等,用于控制网卡管理器的整个工作流程;a control unit, configured to query the mapping table according to the virtual new generation peripheral component expansion interface PCIe address of the data packet to obtain address information of a physical network card corresponding to the virtual PCIe address, and the control unit further includes direct memory access (Direct Memory Access, DMA) controller, protocol analysis (PA) logic, etc., used to control the entire workflow of the NIC manager;
发送单元,用于根据所述控制单元的指令发送所述数据包到所述地址信息对应的物理网卡。And a sending unit, configured to send the data packet to a physical network card corresponding to the address information according to an instruction of the control unit.
如图3所示,当有下行数据传输时,本发明第一实施例的方法操作流程如下:As shown in FIG. 3, when there is downlink data transmission, the operation process of the method according to the first embodiment of the present invention is as follows:
S100,网卡管理器的接收单元接收来自上层设备的数据包,假设该数据包的虚拟PCIe(新一代周边元件扩展接口,Peripheral Component Interconnect Express)地址为VNIC1;S100, the receiving unit of the network card manager receives the data packet from the upper layer device, and assumes that the virtual PCIe (Peripheral Component Interconnect Express) address of the data packet is VNIC1;
S102,网卡管理器将该数据包临时保存在缓存单元中;S102. The network card manager temporarily saves the data packet in a cache unit.
S104,网卡管理器的控制单元获取该数据包的虚拟PCIe地址,即VNIC1;S104, the control unit of the network card manager obtains the virtual PCIe address of the data packet, that is, VNIC1;
S106,网卡管理器的控制单元通过该数据包的虚拟PCIe地址查询存储单元所保存的映射表,并获取该数据包的虚拟PCIe地址所对应的物理网卡的地址信息,即PNIC1;S106, the control unit of the network card manager queries the mapping table saved by the storage unit through the virtual PCIe address of the data packet, and obtains the address information of the physical network card corresponding to the virtual PCIe address of the data packet, that is, PNIC1;
S108,网卡管理器的发送单元将该数据包发送给所述地址信息对应的物理网卡,进一步的,如果该数据包的虚拟PCIe地址所对应的物理网卡数量为 多个,例如虚拟网卡VNIC3对应两个物理网卡(PNIC2和PNIC4),则可以利用负载均衡技术将数据包发送到其中一个物理网卡PNIC2或PNIC4。S108. The sending unit of the network card manager sends the data packet to the physical network card corresponding to the address information. Further, if the virtual network address corresponding to the virtual PCIe address of the data packet is Multiple, for example, the virtual network card VNIC3 corresponds to two physical network cards (PNIC2 and PNIC4), and the data packet can be sent to one of the physical network cards PNIC2 or PNIC4 by using load balancing technology.
如图4所示,当有上行数据传输时,本发明第二实施例的方法操作流程如下:As shown in FIG. 4, when there is uplink data transmission, the operation procedure of the method of the second embodiment of the present invention is as follows:
S200,网卡管理器的接收单元接收来自物理网卡的数据包,假设该数据包的物理PCIe(Peripheral Component Interconnect Express)地址为PNIC1;S200, the receiving unit of the network card manager receives the data packet from the physical network card, and assumes that the physical PCIe (Peripheral Component Interconnect Express) address of the data packet is PNIC1;
S202,网卡管理器的控制单元获取该物理PCIe地址,即PNIC1;S202, the control unit of the network card manager acquires the physical PCIe address, that is, PNIC1;
S204,网卡管理器的控制单元通过该物理PCIe地址查询存储单元所保存的映射表,并获取该物理PCIe地址所对应的虚拟网卡的地址信息,即VNIC1;S204, the control unit of the network card manager queries the mapping table saved by the storage unit through the physical PCIe address, and obtains the address information of the virtual network card corresponding to the physical PCIe address, that is, VNIC1;
S206,网卡管理器将该数据包临时保存在该虚拟网卡所对应的缓存单元中;S206, the network card manager temporarily saves the data packet in a cache unit corresponding to the virtual network card;
S208,当该缓存单元中的数据达到一定条件后,重生DMA中断,将数据发往指定内存。其中,该一定条件是指缓存数据达到规定数量或者时间超过规定时间或者接收到上层软件发送的读请求。另外,每个虚拟网卡的DMA中断传输数据的内存地址由上层的输入/输出内存管理单元(Input/Output Memory Management Unit,IO MMU)进行分配,这样可以直接让虚拟机VM使用虚拟网卡,而不需要Hypervisor层的干预。S208. After the data in the buffer unit reaches a certain condition, the DMA interrupt is regenerated, and the data is sent to the designated memory. The certain condition refers to that the cached data reaches a specified number or the time exceeds a specified time or a read request sent by the upper layer software is received. In addition, the memory address of the DMA interrupt transfer data of each virtual network card is allocated by the upper input/output memory management unit (IO MMU), so that the virtual machine VM can directly use the virtual network card instead of Interventions at the hypervisor level are required.
根据本发明的实施例,利用映射表建立复数个虚拟网卡和复数个物理网卡之间的映射关系,两个以上的虚拟网卡可以映射到一个物理网卡,提高物理网卡的利用效率;一个虚拟网卡也可以映射到多个物理网卡,当其中一个物理网卡故障时,网卡管理器可以将数据包分流到其它可以正常工作的物理网卡,起到备份保护的作用,提高虚拟机系统的稳定性。另外,还可以根据业务需要临时增加物理网卡,此时,只需要更新网卡管理器的映射表,将增加的物理网卡加入到映射表,网卡管理器就可以根据更新后的映射表分流数据包,使得虚拟机系统的灵活性和可扩展性大大提高。According to an embodiment of the present invention, a mapping relationship between a plurality of virtual network cards and a plurality of physical network cards is established by using a mapping table, and two or more virtual network cards may be mapped to one physical network card to improve utilization efficiency of the physical network card; and a virtual network card is also used. It can be mapped to multiple physical NICs. When one of the physical NICs fails, the NIC manager can offload the packets to other physical NICs that can work normally, and play the role of backup protection to improve the stability of the virtual machine system. In addition, the physical network card may be temporarily added according to the service requirement. In this case, only the mapping table of the network card manager needs to be updated, and the added physical network card is added to the mapping table, and the network card manager can split the data packet according to the updated mapping table. The flexibility and scalability of the virtual machine system is greatly enhanced.
在本申请所提供的几个实施方式中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施方式仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元 的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device implementations described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed. Alternatively, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interface, device or unit. The indirect coupling or communication connection can be in electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
另外,在本申请各个实施方式中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述仅为本申请的实施方式,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。 The above description is only the embodiment of the present application, and thus does not limit the scope of the patent application, and the equivalent structure or equivalent process transformation of the specification and the drawings of the present application, or directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of this application.

Claims (11)

  1. 一种管理网卡的方法,包括以下步骤:A method of managing a network card, comprising the following steps:
    建立映射表,所述映射表用于保存复数个虚拟网卡和复数个物理网卡之间的映射关系;Establishing a mapping table, where the mapping table is used to save a mapping relationship between a plurality of virtual network cards and a plurality of physical network cards;
    接收数据包;Receiving a data packet;
    根据所述数据包的虚拟新一代周边元件扩展接口PCIe地址查询所述映射表,获取所述虚拟PCIe地址所对应的物理网卡的地址信息,即物理PCIe地址;Querying the mapping table according to the virtual new generation peripheral component expansion interface PCIe address of the data packet, and acquiring the address information of the physical network card corresponding to the virtual PCIe address, that is, the physical PCIe address;
    向所述虚拟PCIe地址所对应的物理网卡转发所述数据包。And forwarding the data packet to a physical network card corresponding to the virtual PCIe address.
  2. 根据权利要求1所述的方法,其特征在于,所述映射表具体包括:The method according to claim 1, wherein the mapping table specifically comprises:
    虚拟PCIe地址、虚拟MAC地址、物理PCIe地址以及权重信息。Virtual PCIe address, virtual MAC address, physical PCIe address, and weight information.
  3. 根据权利要求1或2所述的方法,其特征在于,所述向所述虚拟PCIe地址所对应的物理网卡转发所述数据包的步骤具体包括:The method according to claim 1 or 2, wherein the step of forwarding the data packet to the physical network card corresponding to the virtual PCIe address comprises:
    当所述虚拟PCIe地址所对应的物理网卡为一个时,直接向对应的物理网卡转发所述数据包;When the physical network card corresponding to the virtual PCIe address is one, the data packet is directly forwarded to the corresponding physical network card;
    当所述虚拟PCIe地址所对应的物理网卡为多个时,则利用负载均衡技术将数据包发送到多个物理网卡中的一个物理网卡。When there are multiple physical network cards corresponding to the virtual PCIe address, the data packet is sent to one physical network card of the plurality of physical network cards by using load balancing technology.
  4. 根据权利要求1至3任意一项所述的方法,其特征在于,在所述根据所述虚拟PCIe地址查询所述映射表的步骤之前,还包括:The method according to any one of claims 1 to 3, further comprising: before the step of querying the mapping table according to the virtual PCIe address, further comprising:
    网卡管理器将该数据包临时保存在缓存单元中;The NIC manager temporarily stores the data packet in the cache unit;
    网卡管理器获取该虚拟PCIe地址信息。The NIC manager obtains the virtual PCIe address information.
  5. 一种网卡管理器,包括:A network card manager, comprising:
    接收单元,用于接收数据包;a receiving unit, configured to receive a data packet;
    存储单元,用于存储网卡映射表,所述映射表保存复数个虚拟网卡和复数个物理网卡的映射关系,其中,一个虚拟网卡也可以映射到多个物理网卡;a storage unit, configured to store a network card mapping table, where the mapping table stores a mapping relationship between a plurality of virtual network cards and a plurality of physical network cards, wherein one virtual network card may also be mapped to multiple physical network cards;
    控制单元,用于根据所述数据包的虚拟新一代周边元件扩展接口PCIe地址查询所述映射表,获取所述虚拟PCIe地址所对应的物理网卡的地址信息;以及a control unit, configured to query the mapping table according to the virtual new generation peripheral component expansion interface PCIe address of the data packet, and obtain address information of a physical network card corresponding to the virtual PCIe address;
    发送单元,用于根据所述控制单元的指令发送所述数据包到所述地址信息对应的物理网卡。 And a sending unit, configured to send the data packet to a physical network card corresponding to the address information according to an instruction of the control unit.
  6. 根据权利要求5所述的装置,其特征在于,所述映射表具体包括:The device according to claim 5, wherein the mapping table specifically comprises:
    虚拟PCIe地址、虚拟MAC地址、物理PCIe地址以及权重信息。Virtual PCIe address, virtual MAC address, physical PCIe address, and weight information.
  7. 根据权利要求5或6所述的装置,其特征在于,所述控制单元进一步用于:The device according to claim 5 or 6, wherein the control unit is further configured to:
    当所述虚拟PCIe地址所对应的物理网卡为一个时,控制所述发送单元直接向对应的物理网卡转发所述数据包;When the physical network card corresponding to the virtual PCIe address is one, the sending unit is controlled to directly forward the data packet to the corresponding physical network card;
    当所述虚拟PCIe地址所对应的物理网卡为多个时,则利用负载均衡技术控制所述发送单元将数据包发送到多个物理网卡中的一个物理网卡。When there are multiple physical network cards corresponding to the virtual PCIe address, the load balancing technology is used to control the sending unit to send the data packet to one of the plurality of physical network cards.
  8. 根据权利要求5所述的装置,其特征在于,进一步包括:The device according to claim 5, further comprising:
    缓存单元,用于缓存所述数据包;a cache unit, configured to cache the data packet;
    所述控制单元,进一步用于获取所述数据包的虚拟PCIe地址。The control unit is further configured to acquire a virtual PCIe address of the data packet.
  9. 一种网卡管系统,其特征在于,包括:复数个物理网卡、复数个虚拟网卡以及网卡管理器,所述复数个物理网卡与网卡管理器相连接,通过网卡管理器虚拟成复数个虚拟网卡,所述网卡管理器进一步包括:A network card management system, comprising: a plurality of physical network cards, a plurality of virtual network cards, and a network card manager, wherein the plurality of physical network cards are connected to the network card manager, and the plurality of virtual network cards are virtualized by the network card manager. The network card manager further includes:
    接收单元,用于接收数据包;a receiving unit, configured to receive a data packet;
    存储单元,用于存储网卡映射表,所述映射表保存复数个虚拟网卡和复数个物理网卡的映射关系,其中,一个虚拟网卡也可以映射到多个物理网卡;a storage unit, configured to store a network card mapping table, where the mapping table stores a mapping relationship between a plurality of virtual network cards and a plurality of physical network cards, wherein one virtual network card may also be mapped to multiple physical network cards;
    控制单元,用于根据所述数据包的虚拟新一代周边元件扩展接口PCIe地址查询所述映射表,获取所述虚拟PCIe地址所对应的物理网卡的地址信息;以及a control unit, configured to query the mapping table according to the virtual new generation peripheral component expansion interface PCIe address of the data packet, and obtain address information of a physical network card corresponding to the virtual PCIe address;
    发送单元,用于根据所述控制单元的指令发送所述数据包到所述地址信息对应的物理网卡。And a sending unit, configured to send the data packet to a physical network card corresponding to the address information according to an instruction of the control unit.
  10. 根据权利要求9所述的系统,其特征在于,所述控制单元进一步用于:The system of claim 9 wherein said control unit is further configured to:
    当所述虚拟PCIe地址所对应的物理网卡为一个时,控制所述发送单元直接向对应的物理网卡转发所述数据包;When the physical network card corresponding to the virtual PCIe address is one, the sending unit is controlled to directly forward the data packet to the corresponding physical network card;
    当所述虚拟PCIe地址所对应的物理网卡为多个时,则利用负载均衡技术控制所述发送单元将数据包发送到多个物理网卡中的一个物理网卡。When there are multiple physical network cards corresponding to the virtual PCIe address, the load balancing technology is used to control the sending unit to send the data packet to one of the plurality of physical network cards.
  11. 根据权利要求9或10所述的系统,其特征在于,所述网络控制器进一步包括:The system of claim 9 or 10, wherein the network controller further comprises:
    缓存单元,用于缓存所述数据包;a cache unit, configured to cache the data packet;
    所述控制单元,进一步用于获取所述数据包的虚拟PCIe地址。 The control unit is further configured to acquire a virtual PCIe address of the data packet.
PCT/CN2016/084335 2015-06-09 2016-06-01 Method, apparatus and system for managing network card WO2016197848A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510312750.7 2015-06-09
CN201510312750.7A CN106301859B (en) 2015-06-09 2015-06-09 Method, device and system for managing network card

Publications (1)

Publication Number Publication Date
WO2016197848A1 true WO2016197848A1 (en) 2016-12-15

Family

ID=57503036

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084335 WO2016197848A1 (en) 2015-06-09 2016-06-01 Method, apparatus and system for managing network card

Country Status (2)

Country Link
CN (1) CN106301859B (en)
WO (1) WO2016197848A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491570A (en) * 2019-09-11 2021-03-12 中兴通讯股份有限公司 Method, device and storage medium for setting link state of virtual network card
CN113923273A (en) * 2021-09-29 2022-01-11 深信服科技股份有限公司 Data packet control method and related device
CN114124850A (en) * 2022-01-26 2022-03-01 浙江宇视系统技术有限公司 Network communication method and device and storage medium
WO2022177455A1 (en) * 2021-02-22 2022-08-25 Instituto De Telecomunicações Method and system for optimizing resource and traffic management of a computer execution environment in a vran

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789363A (en) * 2017-02-20 2017-05-31 郑州云海信息技术有限公司 A kind of method and device to virtual machine configuration network interface card
CN107046469B (en) * 2017-05-11 2021-02-02 苏州浪潮智能科技有限公司 Method for expanding server load balancing network card equipment
WO2019056380A1 (en) * 2017-09-25 2019-03-28 华为技术有限公司 Data access method and device
CN107832242A (en) * 2017-10-31 2018-03-23 郑州云海信息技术有限公司 A kind of data transmission method, system, device and computer-readable recording medium
CN108667951B (en) * 2018-04-13 2021-04-27 普联技术有限公司 Virtual MAC address mapping method and device, storage medium and relay equipment
CN111880901B (en) * 2020-07-29 2023-03-31 北京浪潮数据技术有限公司 Network configuration method, device, equipment and readable storage medium
CN112631969B (en) * 2020-12-30 2024-01-30 凌云光技术股份有限公司 Virtual multichannel data transmission method and system based on PCIE interface
CN113778626A (en) * 2021-08-31 2021-12-10 山石网科通信技术股份有限公司 Hot plug processing method and device for virtual network card, storage medium and processor
CN116028394B (en) * 2023-03-29 2023-06-16 苏州浪潮智能科技有限公司 Device information acquisition method, device, system, communication device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120005521A1 (en) * 2010-06-30 2012-01-05 Oracle America, Inc. Method and system for maintaining direct hardware access in the event of network interface card failure
CN103634225A (en) * 2013-12-18 2014-03-12 武汉朋客云计算有限公司 Service bandwidth expansion method in cloud computing network virtualization
CN103890728A (en) * 2013-12-31 2014-06-25 华为技术有限公司 Method for hot transfer of virtual machine and server
CN104468311A (en) * 2014-11-18 2015-03-25 浪潮(北京)电子信息产业有限公司 Method and system for virtualizing physical network card into multiple virtual network cards
CN104639372A (en) * 2015-02-13 2015-05-20 中国联合网络通信集团有限公司 Correlation method and system for overlay network based on SDN (Software Defined Network) and physical network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7925795B2 (en) * 2007-04-30 2011-04-12 Broadcom Corporation Method and system for configuring a plurality of network interfaces that share a physical interface
US7912082B2 (en) * 2008-06-09 2011-03-22 Oracle America, Inc. Shared virtual network interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120005521A1 (en) * 2010-06-30 2012-01-05 Oracle America, Inc. Method and system for maintaining direct hardware access in the event of network interface card failure
CN103634225A (en) * 2013-12-18 2014-03-12 武汉朋客云计算有限公司 Service bandwidth expansion method in cloud computing network virtualization
CN103890728A (en) * 2013-12-31 2014-06-25 华为技术有限公司 Method for hot transfer of virtual machine and server
CN104468311A (en) * 2014-11-18 2015-03-25 浪潮(北京)电子信息产业有限公司 Method and system for virtualizing physical network card into multiple virtual network cards
CN104639372A (en) * 2015-02-13 2015-05-20 中国联合网络通信集团有限公司 Correlation method and system for overlay network based on SDN (Software Defined Network) and physical network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491570A (en) * 2019-09-11 2021-03-12 中兴通讯股份有限公司 Method, device and storage medium for setting link state of virtual network card
WO2022177455A1 (en) * 2021-02-22 2022-08-25 Instituto De Telecomunicações Method and system for optimizing resource and traffic management of a computer execution environment in a vran
CN113923273A (en) * 2021-09-29 2022-01-11 深信服科技股份有限公司 Data packet control method and related device
CN114124850A (en) * 2022-01-26 2022-03-01 浙江宇视系统技术有限公司 Network communication method and device and storage medium

Also Published As

Publication number Publication date
CN106301859A (en) 2017-01-04
CN106301859B (en) 2020-02-14

Similar Documents

Publication Publication Date Title
WO2016197848A1 (en) Method, apparatus and system for managing network card
US9529773B2 (en) Systems and methods for enabling access to extensible remote storage over a network as local storage via a logical storage controller
US7996569B2 (en) Method and system for zero copy in a virtualized network environment
US9311122B2 (en) System and method for providing a scalable signaling mechanism for virtual machine migration in a middleware machine environment
US9813283B2 (en) Efficient data transfer between servers and remote peripherals
US9031081B2 (en) Method and system for switching in a virtualized platform
US8898665B2 (en) System, method and computer program product for inviting other virtual machine to access a memory space allocated to a virtual machine
US9432304B2 (en) System and method for supporting live migration of virtual machines based on an extended host channel adaptor (HCA) model
WO2015143983A1 (en) Method and apparatus for implementing acceleration processing on vnf
US20180329828A1 (en) Kernel-assisted inter-process data transfer
US20140032796A1 (en) Input/output processing
CN108965148B (en) Processor and message processing method
US9864717B2 (en) Input/output processing
US11757796B2 (en) Zero-copy processing
CN103942087A (en) Virtual machine thermal migration method, related device and cluster computing system
US20150339153A1 (en) Data flow affinity for heterogenous virtual machines
WO2016119469A1 (en) Service context management method, physical main machine, pcie device and migration management device
WO2015010584A1 (en) Operating system virtualization for host channel adapters
US20150319250A1 (en) Technologies for accelerating network virtualization
JP5662949B2 (en) Copy bypass in a virtual network environment
US8812707B2 (en) Transmitting internet protocol over SCSI in a high availability cluster
US20140025859A1 (en) Input/output processing
CN112583655B (en) Data transmission method and device, electronic equipment and readable storage medium
Guay et al. Early experiences with live migration of SR-IOV enabled InfiniBand
CN103118115B (en) Facing cloud calculates virtual machine management method and the device of user

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16806746

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16806746

Country of ref document: EP

Kind code of ref document: A1