# US 2023/0066682 A1 · Transport control word architecture for physical port mirroring

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

- Number: US 2023/0066682 A1
- Document ID: US20230066682A1
- Status: Published application
- Kind: A1
- Application number: 17/409,884
- Filed: 2021-08-24
- Published: 2023-03-02
- Earliest claimed: 2021-08-24
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Pasquale A. Catalano; Michael James Becht; Christopher J. Colonna; Stephen Robert Guendert
- Web page: https://patentgrep.com/patent/US20230066682A1

## CPC

- H04L 49/208: {Port mirroring}
- G06F 13/126: {and has means for transferring I/O instructions and statuses between control unit and main processor}
- H04L 49/102: using shared medium, e.g. bus or ring
- H04L 49/9094: {Arrangements for simultaneous transmit and receive, e.g. simultaneous reading/writing from/to the storage element}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Aspects include receiving, at an input/output (I/O) processor, a transport control word (TCW) that includes an instruction to perform physical port mirroring. It is identified, by the I/O processor, a first port to be mirrored and a second port to perform the mirroring. The second port is a physical port on a host bus adapter (HBA). In response to outbound data being sent to the first port for transmission to a first target device and to the instruction specifying outbound port mirroring, the I/O processor sends a copy of the outbound data to a second target device via the second port. In response to receiving inbound data at the first port and to the instruction specifying inbound port mirroring, a copy of the inbound data is transmitted to the second target device via the second port.

## Claims

### Claim 1

A method comprising:
receiving, at an input/output (I/O) processor, a transport control word (TCW) that includes an instruction to perform physical port mirroring;
identifying, by the I/O processor, a first port to be mirrored and a second port to perform the mirroring, the second port a physical port on a host bus adapter (HBA);
in response to outbound data being sent to the first port for transmission to a first target device and to the instruction specifying outbound port mirroring, sending, by the I/O processor, a copy of the outbound data to a second target device via the second port; and
in response to receiving inbound data at the first port and to the instruction specifying inbound port mirroring, transmitting a copy of the inbound data to the second target device via the second port.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving, by the I/O processor, an instruction to send the outbound data to the first target device;
fetching, by the I/O processor, the outbound data from a memory; and
sending, by the I/O processor, the outbound data to the first port.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving, by the I/O processor, the inbound data from the first port; and
storing, by the I/O processor, the inbound data into a memory.

### Claim 4 (depends on 1)

The method of claim 1, wherein the copy of the outbound data sent to the second target device is a subset of the outbound data.

### Claim 5 (depends on 1)

The method of claim 1, wherein the copy of the inbound data sent to the second target device is a subset of the inbound data.

### Claim 6 (depends on 1)

The method of claim 1, wherein the instruction causes port mirroring to be performed for a plurality of outbound data transmissions on the first port.

### Claim 7 (depends on 1)

The method of claim 1, wherein the instruction causes port mirroring to be performed for a single outbound data transmission on the first port.

### Claim 8

A system comprising:
one or more processors for executing computer readable instructions, the computer readable instructions controlling the one or more processors to perform operations comprising:
receiving a transport control word (TCW) that includes an instruction to perform physical port mirroring;
identifying a first port to be mirrored and a second port to perform the mirroring, the second port a physical port on a host bus adapter (HBA);
in response to outbound data being sent to the first port for transmission to a first target device and to the instruction specifying outbound port mirroring, sending a copy of the outbound data to a second target device via the second port; and
in response to receiving inbound data at the first port and to the instruction specifying inbound port mirroring, transmitting a copy of the inbound data to the second target device via the second port.

### Claim 9 (depends on 8)

The system of claim 8, wherein the operations further comprise:
receiving, by the I/O processor, an instruction to send the outbound data to the first target device;
fetching, by the I/O processor, the outbound data from a memory; and
sending, by the I/O processor, the outbound data to the first port.

### Claim 10 (depends on 8)

The system of claim 8, wherein the operations further comprise:
receiving, by the I/O processor, the inbound data from the first port; and
storing, by the I/O processor, the inbound data into a memory.

### Claim 11 (depends on 8)

The system of claim 8, wherein the copy of the outbound data sent to the second target device is a subset of the outbound data.

### Claim 12 (depends on 8)

The system of claim 8, wherein the copy of the inbound data sent to the second target device is a subset of the inbound data.

### Claim 13 (depends on 8)

The system of claim 8, wherein the instruction causes port mirroring to be performed for a plurality of outbound data transmissions on the first port.

### Claim 14 (depends on 8)

The system of claim 8, wherein the instruction causes port mirroring to be performed for a single outbound data transmission on the first port.

### Claim 15

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by one or more processors to cause the one or more processors to perform operations comprising:
receiving a transport control word (TCW) that includes an instruction to perform physical port mirroring;
identifying a first port to be mirrored and a second port to perform the mirroring, the second port a physical port on a host bus adapter (HBA);
in response to outbound data being sent to the first port for transmission to a first target device and to the instruction specifying outbound port mirroring, sending a copy of the outbound data to a second target device via the second port; and
in response to receiving inbound data at the first port and to the instruction specifying inbound port mirroring, transmitting a copy of the inbound data to the second target device via the second port.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the operations further comprise:
receiving, by the I/O processor, an instruction to send the outbound data to the first target device;
fetching, by the I/O processor, the outbound data from a memory; and
sending, by the I/O processor, the outbound data to the first port.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the operations further comprise:
receiving, by the I/O processor, the inbound data from the first port; and
storing, by the I/O processor, the inbound data into a memory.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the copy of the outbound data sent to the second target device is a subset of the outbound data.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the copy of the inbound data sent to the second target device is a subset of the inbound data.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the instruction causes port mirroring to be performed for a plurality of outbound data transmissions on the first port.
