Supercharge Your Innovation With Domain-Expert AI Agents!

Virtual method of multiple Ethernet controllers in embedded system

An embedded system, Ethernet technology, applied in the field of virtual multiple Ethernet controllers, can solve the problems of high hardware cost, complex interface circuit, increased software design difficulty and time cost, etc., to reduce difficulty and time cost, The effect of reducing complexity and hardware cost

Inactive Publication Date: 2014-10-15
NR ELECTRIC CO LTD +1
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] (1) In terms of hardware, the circuit interface between each Ethernet controller and CPU needs to be considered, the interface circuit is complex, and the hardware cost is high;
[0004] (2) In terms of software, it is necessary to write a driver program for each Ethernet controller. If the models of these Ethernet controllers are the same, the driver program code can be reused. If the models are different, different drivers must be written, which increases the software cost. Design difficulty and time cost

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
  • Virtual method of multiple Ethernet controllers in embedded system
  • Virtual method of multiple Ethernet controllers in embedded system
  • Virtual method of multiple Ethernet controllers in embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The invention provides a method for virtualizing multiple Ethernet controllers in an embedded system, comprising the following steps:

[0021] (1) Set the switch chip to management mode, so that all messages from the LAN port of the switch chip are forwarded to the IMP (Inband Management Port) port;

[0022] (2) Enable the IEEE802.1Q VLAN function of the switch chip, and set the VLAN learning mode to the learning mode based on MAC and PVID. This is an existing technology and will not be described in detail;

[0023] (3) Set the unicast search failure forwarding mode of the switch chip to forward to the LAN port;

[0024] (4) For a switch chip with N (N is a natural number) LAN ports, divide N IEEE802.1Q VLANs inside the switch chip, so that each LAN port is in the same VLAN as the IMP port, and the LAN ports are isolated from each other , VLAN division method can refer to figure 1 shown;

[0025] (5) Add the MAC addresses of the corresponding Ethernet controllers of ...

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 invention discloses a virtual method of multiple Ethernet controllers in an embedded system, comprising the following steps: a switch chip is set to a management mode, and all packets which come from an LAN port of the switch chip are forwarded to an IMP port; an IEEE802.1Q VLAN function of the switch chip is enabled, and a VLAN learning mode is set to a learning mode based on MAC and PVID; a unicast lookup failure forwarding mode of the switch chip is set as forwarding to the LAN port; as for a switch chip having N LAN ports, N IEEE802.1Q VLANs are divided inside the switch chip, and each LAN port and the IMP port are positioned at the same VLAN, wherein N is a natural number; and MAC addresses of ethernet controllers corresponding to the N LAN ports are added into a static address table of the switch chip. By the method, design complexity of an interface circuit between the Ethernet controllers and a CPU and hardware costs can be reduced, and Ethernet drive program design difficulty and time cost are minimized.

Description

technical field [0001] The invention relates to a method for virtualizing multiple Ethernet controllers using a single managed Ethernet switching chip in an embedded system. Background technique [0002] For embedded systems oriented to network applications, in order to increase network processing capabilities, the system is generally configured with multiple independent Ethernet controllers, and each Ethernet controller interacts through an independent driver program and protocol stack. This design scheme has deficiencies in both hardware and software, which are specifically reflected in: [0003] (1) In terms of hardware, the circuit interface between each Ethernet controller and CPU needs to be considered, the interface circuit is complex, and the hardware cost is high; [0004] (2) In terms of software, it is necessary to write a driver program for each Ethernet controller. If the models of these Ethernet controllers are the same, the driver program code can be reused. ...

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 Applications(China)
IPC IPC(8): H04L12/02H04L12/28
Inventor 姜晓光胡绍谦王文龙林青尤小明张玉健代小翔丁浩川李大鹏杨梅强陈雄程夏
Owner NR ELECTRIC CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More