# US 2015/0146738 A1 · Providing i2c bus over ethernet

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0146738 A1
- Document ID: US20150146738A1
- Status: Published application
- Kind: A1
- Application number: 14/606,982
- Filed: 2015-01-27
- Published: 2015-05-28
- Earliest claimed: 2012-06-01
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Alexander P. Campbell; Keshav G. Kamble; Vijoy A. Pandey
- Web page: https://patentgrep.com/patent/US20150146738A1

## CPC

- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F 13/24: using interrupt (G06F13/32 takes precedence)
- G06F 13/385: {for adaptation of a particular data processing system to different peripheral devices}
- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F 13/4068: {Electrical coupling}
- G06F 21/85: interconnection devices, e.g. bus-connected or in-line devices
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 12/4641: {Virtual LANs, VLANs, e.g. virtual private networks [VPN] (LAN interconnection over a bridge based backbone H04L12/462; encapsulation techniques H04L12/4633; routing of packets H04L45/00; packet switches H04L49/00; virtual private networks for security H04L63/0272)}
- H04L 45/44: Distributed routing
- H04L 49/351: for local area network [LAN], e.g. Ethernet switches
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- G06F 2213/2424: Interrupt packet, e.g. event
- H04L 63/162: {at the data link layer}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In one embodiment, a method includes accessing every local I2C bus device, using a local processor of a distributed fabric protocol (DFP) system member, to ascertain which local I2C bus devices are present, receiving a request from a remote DFP system master, using a dedicated processor of the DFP system member, to register local I2C devices on the DFP system member in order to allow the DFP system master to have access to the local I2C devices, sending an acknowledgement to the request back to the DFP system master, receiving a read request from the DFP system master to read the local I2C bus devices and authenticating the read request, encapsulating details of the local I2C bus devices into a packet similar to that in which the read request was received, and sending the packet to a local network switch to be switched to the DFP system master.

## Claims

### Claim 1

A method, comprising:
accessing every local I2C bus device, using a local processor of a distributed fabric protocol (DFP) system member, to ascertain which local I2C bus devices are present on the DFP system member;
receiving a request from a remote DFP system master, using a dedicated processor of the DFP system member, to register local I2C devices on the DFP system member in order to allow the DFP system master to have access to the local I2C devices;
sending an acknowledgement to the request back to the DFP system master, wherein the acknowledgement includes a list of the local I2C bus devices;
receiving a read request from the DFP system master to read at least one of the local I2C bus devices and authenticating the read request;
encapsulating details of the at least one of the local I2C bus devices into a packet that is the same as a packet in which the read request was received; and
in response to the authenticated read request, sending the packet into which the details are encapsulated to at least one registered media access control (MAC) address via a network port connected to a local network switch of the DFP system member to be switched to at least the DFP system master.

### Claim 2 (depends on 1)

The method as recited in claim 1, wherein the acknowledgement further comprises each local I2C bus device's particular offsets, and wherein the details of the local I2C bus devices are sent via the local network switch to expose the local I2C devices to the DFP system master.

### Claim 3 (depends on 1)

The method as recited in claim 1, wherein the dedicated processor is a field programmable gate array (FPGA), and wherein the packet into which the details are encapsulated is an enhanced layer 2 transport (EL2T) protocol packet that includes a switch ID of the DFP system member, a local I2C bus device source, an offset, an interrupt type, and an interrupt priority for each of the local I2C bus devices.

### Claim 4 (depends on 1)

The method as recited in claim 1, further comprising enabling the local I2C bus devices to be networked.

### Claim 5 (depends on 1)

The method as recited in claim 1, further comprising:
causing the local processor to become a member of a DFP system by responding to a request from the DFP system master to join the DFP system;
creating a virtual local area network (VLAN) on the local network switch;
adding the local network port of the local network switch that is connected to the dedicated processor to the VLAN;
loading and initializing the dedicated processor of the DFP system member upon start up of the DFP system member; and
receiving a request at the local network switch of the DFP system member to become a member of the DFP system.

### Claim 6 (depends on 1)

The method as recited in claim 1, further comprising:
in response to the authenticated read request, sending a message signaled interrupt (MSI) to the local processor over a PCIe bus connected to a local PCIe switch simultaneously to sending the packet into which the details are encapsulated; and
switching the at least one packet to at least the DFP system master using the local network switch.

### Claim 7

A method, comprising:
sending a message to one or more distributed fabric protocol (DFP) system members in order to form mastership over the one or more DFP system members, wherein the message includes a request to register I2C bus devices on each DFP system member (remote I2C bus devices) with a DFP system master; and
receiving one or more acknowledgements to the request from the one or more DFP system members at a local network switch of the DFP system master, wherein each acknowledgement comprises at least one packet encapsulating details of one or more remote I2C bus devices to register with the DFP system master.

### Claim 8 (depends on 7)

The method as recited in claim 7, further comprising:
decoding the at least one packet to retrieve details of the one or more remote I2C bus devices using a dedicated processor of the DFP system master;
mapping all the remote I2C bus devices from each of the one or more DFP system members as local I2C bus devices using the details contained in the at least one packet using a local processor of the DFP system master; and
installing I2C drivers for all the mapped I2C bus devices on the local processor.

### Claim 9 (depends on 8)

The method as recited in claim 8, further comprising:
accessing the mapped I2C bus devices on the one or more DFP system members using the local processor of the DFP system master using software driver application programming interfaces (APIs); and
installing an interrupt service routine (ISR) for all remotely generated interrupts produced by the mapped I2C bus devices which are sent to the DFP system master,
wherein the remotely generated interrupts are sent to the DFP system master by dedicated processors of the one or more DFP system members.

### Claim 10 (depends on 7)

The method as recited in claim 7, wherein the method is performed using a dedicated processor of the DFP system master, wherein the dedicated processor is a field programmable gate array (FPGA), wherein the at least one packet is an enhanced layer 2 transport (EL2T) protocol packet, and wherein the at least one packet includes a switch ID of the DFP system member, a local I2C bus device source, an offset, an interrupt type, and an interrupt priority for each of the one or more local I2C bus devices.

### Claim 11 (depends on 10)

The method as recited in claim 10, wherein the one or more DFP system members send EL2T packets encapsulating interrupt details to the dedicated processor of the DFP system master and simultaneously send peripheral component interconnect express (PCIe) message signaled interrupt (MSI) to a local processor of the one or more DFP system members, wherein upon receipt of the interrupt encapsulated EL2T packet, the dedicated processor of the DFP system master generates a PCIe MSI to the local processor of the DFP system master, and wherein the local processor of the DFP system master invokes an interrupt service routine (ISR) to service the MSI.

### Claim 12 (depends on 7)

The method as recited in claim 7, further comprising:
creating a virtual local area network (VLAN) on the local network switch;
adding a local network port connected to a dedicated processor of the DFP system master to the VLAN;
loading and initializing the dedicated processor of the DFP system master upon start up of the DFP system master;
waiting for a predetermined amount of time for the one or more acknowledgements; and
causing a local processor of the DFP system master to become the DFP system master after election process performed on all members of the DFP system.
