CN114265686B - A method, device and equipment supporting a default network card single queue - Google Patents
A method, device and equipment supporting a default network card single queue Download PDFInfo
- Publication number
- CN114265686B CN114265686B CN202111348299.6A CN202111348299A CN114265686B CN 114265686 B CN114265686 B CN 114265686B CN 202111348299 A CN202111348299 A CN 202111348299A CN 114265686 B CN114265686 B CN 114265686B
- Authority
- CN
- China
- Prior art keywords
- network card
- queue
- data
- queues
- default
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 239000000872 buffer Substances 0.000 claims abstract description 47
- 238000012545 processing Methods 0.000 claims abstract description 20
- 230000015654 memory Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 18
- 230000006870 function Effects 0.000 claims description 16
- 230000008569 process Effects 0.000 claims description 8
- 230000004048 modification Effects 0.000 claims description 4
- 238000012986 modification Methods 0.000 claims description 4
- 230000003111 delayed effect Effects 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 101150015836 ENO1 gene Proteins 0.000 description 1
- 101100172356 Schizosaccharomyces pombe (strain 972 / ATCC 24843) eno101 gene Proteins 0.000 description 1
- 101100172357 Schizosaccharomyces pombe (strain 972 / ATCC 24843) eno102 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000027455 binding Effects 0.000 description 1
- 238000009739 binding Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007123 defense Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 150000002085 enols Chemical class 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method, a device and equipment for supporting a default network card single queue, wherein the method comprises the steps of obtaining the queue information of a network card; the method comprises the steps of obtaining a buffer area when the network card receives data according to the queue information of the network card, assigning 1 to the default initial queue number of the network card according to the queue information of the network card, registering network card interruption, adding the default initial queue number of the network card to the buffer area, scaling received packets by using delay procedure call, and filling the received packet data into the buffer area for processing. By setting the default initial queue number of the network card to be 1 and adding the queue number to the buffer zone of the network card, only a single-queue network card driver exists in the buffer zone of the network card, so that the transmission of data packets is ensured to be in a single-thread mode, and the problem that the data packet transmission disorder is easily caused by multiple queues of the network card is effectively solved.
Description
Technical Field
The invention belongs to the field of network card driving, and particularly relates to a method, a device and equipment for supporting default network card single queues.
Background
At present, the domestic operating system is mainly a system based on Linux development, and is widely used in the industries of national defense, government, finance and the like, and the software and hardware development based on the domestic operating system is more and more. The network card is used as an indispensable component under a domestic software and hardware platform, and more problems are exposed in the development process of basic software and hardware. The problem of packet sending disorder is caused by finding out multiple queues of the network card in the process of adapting software and hardware, and the network card arranged into a single queue cannot have the problem.
The network card single queue is a technology that only one core is processing network card receiving packets at the same time, and the network card multiple queues have higher requirements on the number of CPU cores and network card hardware. In the occasion of general hardware performance, a network card single queue needs to be used, and the network card single queue carries out single-thread transmission so as to ensure that the received packets are normal.
Most network card drivers on the market default to multiple queues, the process of setting the multiple queues to a single queue is complex for hardware manufacturers, and operation errors may occur in actual use to cause the network card to work abnormally, so a solution for supporting the default network card single queue is needed.
Disclosure of Invention
The invention aims to provide a method, a device and equipment for supporting a default network card single queue, which are used for solving the problem of disordered data packet transmission caused by multiple network card queues in the prior art.
In a first aspect of the embodiment of the present invention, a method for supporting a default network card single queue is provided, including:
Acquiring queue information of a network card;
Acquiring a buffer area when the network card receives data according to the queue information of the network card;
according to the queue information of the network card, aiming at the initial queue number of the network card, assigning the default initial queue number of the network card to be 1;
Registering network card interruption, and adding the default initial queue number of the network card to a buffer area;
and scaling the received packet by using the delay procedure call, and filling the data of the received packet into a buffer area for processing.
In a second aspect of the embodiment of the present invention, there is provided an apparatus for supporting a default network card single queue, including:
the data acquisition module is used for acquiring the queue information of the network card;
the data processing module is used for acquiring a buffer area when the network card receives data according to the queue information of the network card;
the data modification module is used for assigning a default initial queue number of the network card to be 1 according to the queue information of the network card aiming at the initial queue number of the network card;
and the data writing module is used for registering network card interruption and adding the default initial queue number of the network card into the buffer area.
In a third aspect of the embodiments of the present invention, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the above method for supporting a default single network card queue when executing the computer program.
In a fourth aspect of the embodiments of the present invention, a computer readable storage medium is provided, where a computer program is stored, where the computer program when executed by a processor implements the steps of the method for supporting a default network card single queue described above.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for supporting default network card single queue according to an embodiment of the invention;
FIG. 2 is a flowchart illustrating a method for supporting default network card single queues according to another embodiment of the present invention;
FIG. 3 is a schematic block diagram of an apparatus for supporting default network card single queues according to an embodiment of the present invention;
Fig. 4 is a schematic block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical schemes and beneficial effects to be solved more clear, the invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In one embodiment of the present invention, a flow chart of a method for supporting default network card single queues is provided as shown in fig. 1. The method comprises the following steps:
s101, acquiring queue information of a network card:
In this embodiment, the queue information of the network card may be obtained by using a system application program in a wired manner, or may be obtained by using a hardware device in a wireless manner, where the queue information of the network card may include, but is not limited to, a queue rule or a queue number, and the like, which are not limited herein.
S102, according to the queue information of the network card, a buffer area when the network card receives data is obtained:
In this embodiment, firstly, a receiving queue pointer array of a network card is obtained, where rx_ queues is a receiving queue pointer array, and each pointer points to a receiving queue;
Acquiring all receiving queues of the network card according to the receiving queue pointer array;
obtaining a hardware descriptor and a software descriptor corresponding to the receiving queues, wherein each receiving queue comprises a hardware descriptor ring (rx_ring) and a software descriptor (sw_ring), the rx_ring is mainly used by a driver and hardware, the sw_ring is actually an mbuf pointer and is mainly used by an application program, and each hardware descriptor has a corresponding software descriptor and is a bridge for communication between the application program and data;
According to the information of all the receiving queues, using all the network card descriptions e1000_adv_rx_ decs to form an annular DMA buffer, for the received data, the network card DMA writes the message data into the corresponding memory space according to the received physical address of the message data, namely, pkt_addr points to rte _mbuf- > buf_ physaddr, so that when the network card receives the data, the network card writes the data into the data buffer corresponding to mbuf.
S103, according to the queue information of the network card, aiming at the initial queue number of the network card, assigning the default initial queue number of the network card as 1:
in this embodiment, all option types of the network card are obtained first, and range options of the network card are determined;
there are several receive queues and transmit queues that can be seen at the operating system terminal using ls/sys/class/net/enol/queues/ethtool _channels represents the number of configurable network channels, comcines _count is used to record the receive and transmit queues, comcines _count gets the value of the receive queue through ch- > combined_count = adapter- > num_rx_ queues;
the types of the network card options option include enabling, scope, list and the like, the network card queues belong to scope options, and a queue scope def module of the network card is determined according to the scope options of the network card;
Setting the name of a network card queue as RSS, setting the DEFAULT_RSS as 1 in a def module of the network card option, and assigning the module to an RSS queue (adapter- > rss_ queues =opt. Def) of the network adapter;
The range of the network card queue is set to be 1 as the minimum value and 8 as the maximum value. The maximum number of queues of the network card can be seen under the Pre-set maximums entry by using ethtool-l eno1 instruction at the operating system terminal. The number of network card queues, the maximum value and the minimum value are determined by three parameters of the RSS, the value of the # definition default_RSS is set to determine the initial number of queues, the value of the # definition MAX_RSS is set to determine the maximum number of queues, and the value of the # DEFINE MIN _RSS is set to determine the minimum number of queues.
S104, registering network card interruption, and adding the default initial queue number of the network card to a buffer area:
in this embodiment, firstly registering a network card interrupt, and initializing the number of queues of the network card adapter when registering the interrupt;
If the virtual network card queue pool has data, the network card adapter can acquire the number of queues from the queue pool, if the queue pool is empty, the network card sets MSI-X, the receiving queue of the network card adapter acquires a value from the rss queue (adapter- > num_rx_ queues =adapter- > rss_ queues), the receiving queue and the sending queue have the same value (adapter- > num_tx_ queues =adapter- > num_rx_ queues), and the data are put into the virtual network card queue pool. After the network adapter is initialized, the number of the queues is added into a network card ring buffer area, and meanwhile, the number of the queues is saved into a network card register.
S105, performing received packet scaling by using a delay procedure call, and filling data of the received packet into a buffer area for processing:
In this embodiment, received packet scaling is performed by scheduling a delay procedure call, thereby more efficiently processing received packets. Meanwhile, the data of the received packet is filled into the single-threaded buffer area, so that the problem that the data inclusion is easy to cause disorder in multi-queue processing is avoided.
The embodiment of the invention obtains the queue information of the network card, then obtains a buffer area when the network card receives data according to the queue information of the network card, assigns the default initial queue number of the network card as 1 according to the initial queue number of the network card according to the queue information of the network card, registers network card interruption, adds the default initial queue number of the network card into the buffer area, and finally utilizes delay procedure call to zoom the received packet and fills the data of the received packet into the buffer area for processing. By setting the default initial queue number of the network card to be 1 and adding the queue number to the buffer zone of the network card, only a single-queue network card driver exists in the buffer zone of the network card, so that the transmission of data packets is ensured to be in a single-thread mode, and the problem that the data packet transmission disorder is easily caused by multiple queues of the network card is effectively solved.
On the basis of the embodiment shown in fig. 1, a flowchart of a method for supporting a default network card single queue according to another embodiment shown in fig. 2 is provided, where the method in this embodiment includes:
S201, the network card driver schedules a delay procedure call to zoom the received packet, and distributes the data of the received packet to a system CPU:
in this embodiment, the driven receiving server function schedules a delay procedure call in order to efficiently process the received packets;
Because of the set receive packet scaling, the network card may provide the ability to schedule these packets to other processors. The method has the functions that a hash function with a predefined hash key is sent out on each incoming data packet, and the hash function takes the IP address, the protocol and the port of the data packet as keys and calculates a hash value;
the least significant bits of the hash value are used to index an indirection table, the values in which are used to allocate data of the received packet to the CPU.
S202, the network card uses direct memory access to fill data received by a system CPU into a buffer area and interrupt the system:
In this embodiment, the network card uses DMA to fill the received data into the buffer and interrupt the system, and during initialization, the miniport driver allocates the receive buffer in the shared memory. The network card can fill other buffer areas at any time in the interrupt period.
S203, the network drive interface type calls a miniport interrupt function of a miniport driver on a CPU confirmed by the system:
In this embodiment, the network driver interface type invokes the miniport interrupt function of the miniport driver on the system-validated CPU. It should be noted that the miniport interrupt function should ideally go to the least busy CPU, but in some systems the system assigns the miniport interrupt function to an available CPU or a CPU associated with the network card.
S204, the interrupt service routine disables the interrupt and requests the network interrupt interface type to queue the delay procedure call to process the received data:
In this embodiment, descriptors are created for all received buffers due to the deferred procedure call and data is specified on the driver stack. There may be many buffers for many different connections and there may be many processes to complete, so the request network interrupt interface type is required to queue a deferred procedure call to process the received data.
According to the method for supporting the default network card single queue, provided by the embodiment of the invention, the received packet is scaled by scheduling a delay procedure call, so that the received packet can be efficiently processed.
The received packet scaling is a shunting mechanism provided by the network card, and is used for shunting the report form to different packet receiving queues so as to improve the packet receiving performance. The least significant bit of the hash value is taken by calculating two/three/four groups of hash values of a network layer and a transmission layer in the network data message, and the saved index value in the indirect addressing table is used for distributing the data message to different CPU (central processing unit) processing due to the index indirect addressing table.
To obtain the receive packet scaling configuration information, the upper layer driver may send an old query to the miniport driver, and during initialization, the network driver interface type also provides the receive packet scaling configuration information to the upper layer protocol driver in the network driver interface specification.
The upper level driver selects the hash function, type, and indirection table. The upper layer driver may disable the receive packet scaling of the network card. In this case, the driver sets the disable receive packet scaling flag in the flag bit of the network driver receive scale parameter. The miniport driver should ignore all other flags and designs after setting this flag and disable the receive packet scaling of the network card.
If receive hash computation is enabled, the network driver interface may disable receive hash computation before enabling receive packet scaling. All miniport adapters supported by the miniport must provide the same hash configuration design for all subsequent protocol bindings. The key is 320 bits long and may contain any data selected by the upper layer driver, such as a random byte stream.
To rebalance the processing load, the upper layer driver may set the receive packet scaling parameters and modify the indirection table. Typically, all parameters remain unchanged except for the indirect table. But the upper layer driver may change other received packet scaling initialization parameters after initializing the received packet scaling. The miniport driver may reset the network card hardware to alter the hash function, hash key, hash type, basic CPU number, or number of bits used to index the indirection table, if necessary.
Referring to fig. 3, fig. 3 is a schematic block diagram of an apparatus for supporting a default network card single queue according to an embodiment of the present invention, and for convenience of explanation, only a portion related to the embodiment of the present invention is shown. As shown in fig. 3, the apparatus includes:
the data acquisition module 301 is configured to acquire queue information of a network card;
The data processing module 302 is configured to obtain a buffer area when the network card receives data according to queue information of the network card, scale a received packet by using a delay procedure call, and fill the data of the received packet into the buffer area for processing;
The data modification module 303 is configured to assign a default initial queue number of the network card to 1 according to the queue information of the network card;
the data writing module 304 is configured to register a network card interrupt, and add a default initial queue number of the network card to the buffer.
Optionally, the data obtaining module 301 may be further configured to obtain a receive queue pointer array of the network card, and obtain all option types of the network card.
Optionally, the data processing module 302 may be further configured to obtain all the receive queues of the network card according to the receive queue pointer array, where pointers in the receive queue pointer array correspond to the receive queues one by one, obtain, for each receive queue, a hardware descriptor and a software descriptor corresponding to the receive queue, and construct, according to the hardware descriptors of all the receive queues, an annular direct memory access buffer, that is, a buffer when the network card receives data. And acquiring the maximum queue number, the minimum queue number and the default initial queue number of the network card queue according to the queue range setting module.
Optionally, the data modification module 303 may be further configured to set the maximum number of queues of the network card queue to 8, and simultaneously set the minimum number of queues of the network card queue to 1, and set the default initial number of queues of the network card queue to 1.
Optionally, the data writing module 304 may be further configured to register a network card interrupt and initiate a number of queues of the network card, call the number of queues in the queue pool if there is data in the queue pool, acquire the number of queues in the queue information of the network card and put the number of queues in the queue pool when the network card sets the interrupt if the queue pool is empty, call a default initial number of queues in the queue pool by the network card, and add the default initial number of queues of the network card to the buffer.
Referring to fig. 4, fig. 4 is a schematic block diagram of an electronic device according to an embodiment of the present invention. The electronic device 400 in the present embodiment as shown in fig. 4 may include, but is not limited to, at least one of one or more processors 401, one or more input devices 402, one or more output devices 403, and one or more memories 404. The processor 401, the input device 402, the output device 403, and the memory 404 communicate with each other via a communication bus 405. The memory 404 is used to store a computer program comprising program instructions. The processor 401 is arranged to execute program instructions stored in the memory 404.
It should be appreciated that in embodiments of the present invention, the Processor 401 may be a central processing unit (Central Processing Unit, CPU), which may also be other general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 402 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of a fingerprint), a microphone, etc., and the output device 403 may include a display (LCD, etc.), a speaker, etc.
The memory 404 may include read only memory and random access memory and provide instructions and data to the processor 401. A portion of memory 404 may also include non-volatile random access memory. For example, memory 404 may also store information of device type.
In a specific implementation, the processor 401, the input device 402, and the output device 403 described in the embodiments of the present invention may execute the implementation described in the method embodiment provided in the embodiments of the present invention, which is not described herein again.
In another embodiment of the present invention, a computer readable storage medium is provided, where the computer readable storage medium stores a computer program, where the computer program includes program instructions, where the program instructions, when executed by a processor, implement all or part of the procedures in the method embodiments described above, or may be implemented by instructing related hardware by the computer program, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by the processor, implements the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include any entity or device capable of carrying computer program code, recording medium, USB flash disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random access Memory (RAM, random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media, among others. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the jurisdiction's jurisdiction and the patent practice, for example, in some jurisdictions, the computer readable medium does not include electrical carrier signals and telecommunication signals according to the jurisdiction and the patent practice.
The computer readable storage medium may be an internal storage unit of the terminal of any of the foregoing embodiments, such as a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk provided on the terminal, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD), or the like. Further, the computer-readable storage medium may also include both an internal storage unit of the terminal and an external storage device. The computer-readable storage medium is used to store a computer program and other programs and data required for the terminal. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
Those of skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied as electronic hardware, computer software, or combinations of both, and to provide a clear description of the interchangeability of hardware and software, various illustrative components and steps have been described above generally in terms of functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
Claims (10)
1. A method for supporting a default network card list queue, the method comprising:
Acquiring queue information of a network card;
acquiring a buffer area when the network card receives data according to the queue information of the network card;
According to the queue information of the network card, aiming at the initial queue number of the network card, assigning the default initial queue number of the network card to be 1;
registering an interrupt of the network card and adding a default initial queue number of the network card to the buffer;
and scaling the received packet by using a delay procedure call, and filling the data of the received packet into the buffer area for processing.
2. The method of claim 1, wherein the obtaining the buffer area when the network card receives the data according to the queue information of the network card comprises:
acquiring a receiving queue pointer array of the network card;
acquiring all receiving queues of the network card according to the receiving queue pointer array, wherein pointers in the receiving queue pointer array correspond to the receiving queues one by one;
for each receiving queue, acquiring a hardware descriptor and a software descriptor corresponding to the receiving queue;
And constructing an annular direct memory access buffer area according to the hardware descriptors of all the receiving queues, namely, a buffer area when the network card receives data.
3. The method of claim 1, wherein assigning the initial number of queues of the network card to 1 for the initial number of queues of the network card according to the queue information of the network card comprises:
acquiring all option types of the network card, and determining range options of the network card;
determining a queue range setting module of the network card according to the range option of the network card;
obtaining the maximum queue number, the minimum queue number and the default initial queue number of the network card queue according to the queue range setting module;
And setting the maximum queue number of the network card queue to 8, setting the minimum queue number of the network card queue to 1, and setting the default initial queue number of the network card queue to 1.
4. The method of supporting default network card single queues of claim 1, wherein registering the interruption of the network card and adding the default initial number of queues of the network card to the buffer comprises:
Registering an interruption of the network card and initializing the number of queues of the network card;
If the data exists in the queue pool, calling the number of queues in the queue pool;
If the queue pool is empty, when the network card is set to be interrupted, acquiring the number of queues from the queue information of the network card, and putting the number of queues into the queue pool;
and the network card calls a default initial queue number in the queue pool, and adds the default initial queue number of the network card to the buffer area.
5. The method of claim 1, wherein the scaling the received packet with the delayed procedure call and filling the data of the received packet into the buffer for processing comprises:
The network card drive schedules a delay procedure call to zoom a received packet, and distributes the data of the received packet to a system CPU;
The network card uses direct memory access to fill the data received by the system CPU into a buffer area and interrupt the system;
the network driving interface type calls a micro port interrupt function of a micro port driving program on a CPU confirmed by a system;
The interrupt service routine disables interrupts and requests the network interrupt interface type to queue the deferred procedure call to process the received data.
6. The method of supporting default network card single queue of claim 5, wherein the network card driver schedules a deferred procedure call for received packet scaling and distributes data of the received packet to a system CPU, comprising:
The network card driver schedules a delay procedure call, and adds a hash function with a predefined hash key to the received packet;
the network card driver calculates a hash value according to the hash key and indexes an indirect table by utilizing a plurality of least significant bits of the hash value;
and the network card driver distributes the data of the received packet to a system CPU according to the value in the indirect table.
7. The method of claim 5, wherein the network driver interface type calls a miniport interrupt function of a miniport driver on a system-acknowledged CPU, comprising:
The network driving interface type is on the least busy CPU in the system, calls the micro port interrupt function of the micro port driving program, or on the CPU available in the system, calls the micro port interrupt function of the micro port driving program, or on the CPU associated with the network card in the system, calls the micro port interrupt function of the micro port driving program.
8. An apparatus for supporting a default network card list queue, the apparatus comprising:
the data acquisition module is used for acquiring the queue information of the network card;
The data processing module is used for acquiring a buffer area when the network card receives data according to the queue information of the network card, scaling a received packet by utilizing a delay procedure call, and filling the data of the received packet into the buffer area for processing;
The data modification module is used for assigning a default initial queue number of the network card to be 1 according to the queue information of the network card aiming at the initial queue number of the network card;
and the data writing module is used for registering the interruption of the network card and adding the default initial queue number of the network card to the buffer area.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method steps of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111348299.6A CN114265686B (en) | 2021-11-15 | 2021-11-15 | A method, device and equipment supporting a default network card single queue |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111348299.6A CN114265686B (en) | 2021-11-15 | 2021-11-15 | A method, device and equipment supporting a default network card single queue |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114265686A CN114265686A (en) | 2022-04-01 |
| CN114265686B true CN114265686B (en) | 2025-04-22 |
Family
ID=80825030
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111348299.6A Active CN114265686B (en) | 2021-11-15 | 2021-11-15 | A method, device and equipment supporting a default network card single queue |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114265686B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102571580A (en) * | 2011-12-31 | 2012-07-11 | 曙光信息产业股份有限公司 | Data receiving method and computer |
| CN103049336A (en) * | 2013-01-06 | 2013-04-17 | 浪潮电子信息产业股份有限公司 | Hash-based network card soft interrupt and load balancing method |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8589941B2 (en) * | 2010-04-23 | 2013-11-19 | International Business Machines Corporation | Resource affinity via dynamic reconfiguration for multi-queue network adapters |
| CN104281493A (en) * | 2014-09-28 | 2015-01-14 | 般固(北京)科技股份有限公司 | Method for improving performance of multiprocess programs of application delivery communication platforms |
| CN110658751B (en) * | 2019-09-16 | 2021-02-09 | 华中科技大学 | Implementation method of EtherCAT field bus control system |
| CN113037649B (en) * | 2021-05-24 | 2021-09-07 | 北京金山云网络技术有限公司 | Method and device for transmitting and receiving network interrupt data packet, electronic equipment and storage medium |
-
2021
- 2021-11-15 CN CN202111348299.6A patent/CN114265686B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102571580A (en) * | 2011-12-31 | 2012-07-11 | 曙光信息产业股份有限公司 | Data receiving method and computer |
| CN103049336A (en) * | 2013-01-06 | 2013-04-17 | 浪潮电子信息产业股份有限公司 | Hash-based network card soft interrupt and load balancing method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114265686A (en) | 2022-04-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113037649B (en) | Method and device for transmitting and receiving network interrupt data packet, electronic equipment and storage medium | |
| CN107480554B (en) | Authority management method, authority management device and intelligent terminal | |
| CN111177025B (en) | Data storage method and device and terminal equipment | |
| CN110704202B (en) | Multimedia recording data sharing method and terminal equipment | |
| CN104123252A (en) | Multi-channel direct memory access controller and control method thereof | |
| WO2024198425A1 (en) | Data processing method and apparatus based on memory access engine, device, memory access engine and computer program product | |
| CN118331903A (en) | Data transmission method and device | |
| KR101861768B1 (en) | System on-chip, Electronic system including the same, and Method there-of | |
| CN114265686B (en) | A method, device and equipment supporting a default network card single queue | |
| US7216186B2 (en) | Controlling data flow between processor systems | |
| WO2019032173A1 (en) | MEMORY ASSIGNMENT TYPE FOR MEDIA STAMP | |
| CN118519589B (en) | Data processing method, distributed storage system, product, equipment and medium | |
| CN119621650A (en) | Remote direct memory access method and device in virtualization scenario | |
| CN117749739B (en) | Data sending method, data receiving method, device, equipment and storage medium | |
| CN113568349A (en) | Data processing method and device, terminal equipment and readable storage medium | |
| CN111352868B (en) | Serial port access method, device, terminal equipment and storage medium | |
| CN110968414A (en) | Resource scaling method and device | |
| CN112000496B (en) | Access method and device of third-party information source API and implementation method thereof | |
| CN108804362A (en) | Serial ports bulk data transmission method, device and storage medium | |
| CN114077500A (en) | Data processing method, data processing device, computer readable storage medium and processor | |
| CN119759593B (en) | GPGPU scheduling method, device, equipment and medium | |
| CN118740760B (en) | Data transmission method, device, medium and computer program product | |
| CN112399611B (en) | Internet of things service access method and device | |
| CN110765426A (en) | Equipment permission setting method, device, equipment and computer storage medium | |
| CN115002133B (en) | Data transmission determining method and device based on multiple interfaces |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |