Message forwarding method and device
A forwarding method and message technology, applied in the field of communication, can solve problems such as limitations of message forwarding, and achieve the effect of expanding deployment and application scenarios
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] In this embodiment, a message forwarding method is provided, figure 1 is a flow chart of a message forwarding method according to an embodiment of the present invention, such as figure 1 As shown, the process includes the following steps:
[0035] In step S102, the SR-IOV network card forwards the received Ethernet message to a corresponding port at Layer 2.
[0036] Specifically, the value range of the VLAN is a positive integer between 1-4094 (including 1 and 4094).
[0037] Optionally, the SR-IOV network card performs two-layer forwarding of the received Ethernet message to the corresponding port, including: the SR-IOV network card is configured with a virtual local area network VLAN; after receiving the Ethernet message carrying the VLAN Afterwards, the SR-IOV network card determines the message type of the Ethernet message according to the configured VLAN TAG parameter in the virtual function VF; The message is forwarded to the corresponding port through Layer 2...
Embodiment 2
[0086] In this embodiment, a packet forwarding device is also provided, which is used to implement the above embodiments and preferred implementation modes, and those that have been explained will not be repeated here. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
[0087] Image 6 is a structural block diagram of a message forwarding device according to an embodiment of the present invention, such as Image 6 As shown, the device includes:
[0088] The forwarding module 62 is configured to perform Layer 2 forwarding of the received Ethernet message to a corresponding port.
[0089] It should be noted that the above-mentioned modules can be realized by software or hardware. For the latter, it can...
Embodiment 3
[0091] An embodiment of the present invention also provides a storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.
[0092] Optionally, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for performing the following steps:
[0093] S1, the SR-IOV network card forwards the received Ethernet packets to the corresponding port at Layer 2.
[0094] Optionally, in this embodiment, the above-mentioned storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), Various media that can store computer programs, such as removable hard disks, magnetic disks, or optical disks.
[0095] An embodiment of the present invention also provides an electronic device, including a memory and a processor, where a computer program is...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com