Method and device for allocating buffer resources of sr-iov network card

A resource configuration and allocation method technology, applied in the field of communication systems, can solve problems such as low message forwarding efficiency and network card bandwidth resource consumption, so as to improve message forwarding efficiency, avoid buffer resource copy operations, and reduce network card bandwidth resource waste Effect

Active Publication Date: 2016-02-03
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that when forwarding packets between local virtual machines in the existing way, it is necessary to perform a copy operation on buffer resources, that is, a memory copy operation is required, so that the efficiency of packet forwarding between local virtual machines is low. And cause the network card bandwidth resources to consume more

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 device for allocating buffer resources of sr-iov network card
  • Method and device for allocating buffer resources of sr-iov network card
  • Method and device for allocating buffer resources of sr-iov network card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0047] In order to make the advantages of the technical solution of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0048] An embodiment of the present invention provides a method for allocating buffer resources of an SR-IOV network card, such as figure 1 As shown, the method includes:

[0049] 101. Receive a packet sending request sent by a first virtual m...

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 embodiment of the invention discloses a method and a device for allocating a single root-input / output virtualization (SR-IOV) network card buffering resource, which relates to the field of a communication system, can avoid the copy operation of the buffering resource in a message forwarding process among local virtualization machines, can improve the message forwarding efficiency among the local virtualization machines, and also can reduce the waste of the network card bandwidth resource. The method comprises the following steps of firstly acquiring the buffering resource from a preset public buffering resource pool, configuring the buffering resource into a transmitting buffering queue of a first virtualization machine, picking the buffering resource from the transmission buffering queue if a target address of a message is a local second virtualization machine, configuring the buffering resource into the receiving buffering queue of the second virtualization machine, and enabling the second virtualization machine to receive the message.

Description

technical field [0001] The invention relates to the field of communication systems, in particular to a method and device for allocating buffer resources of an SR-IOV network card. Background technique [0002] With the continuous development of science and technology, the application range of virtualization technology is also becoming wider and wider. Wherein, the SR-IOV (Single-RootI / OVirtualization, virtualization technology) network card is a network card supporting the virtualization technology. The SR-IOV network card can allocate buffer resources for multiple VFs (Virtual Functioning, virtual functions) corresponding to a VM (Virtual Manufacturing, virtual machine) according to a preset configuration scheme, so that messages can be sent and received between different virtual machines. [0003] When the existing SR-IOV network card implements message forwarding between local virtual machines, it first needs to copy the send buffer resource of the message from the send ...

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 Patents(China)
IPC IPC(8): H04L12/861
Inventor 向光蓉
Owner HUAWEI 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