# US 2003/0229713 A1 · Server network controller including server-directed packet forwarding and method therefor

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

- Number: US 2003/0229713 A1
- Document ID: US20030229713A1
- Status: Published application
- Kind: A1
- Application number: 10/165,066
- Filed: 2002-06-06
- Published: 2003-12-11
- Earliest claimed: 2002-06-06
- Assignees: International Business Machines Corporation
- Inventors: Eric Van Hensbergen; Ramakrishnan Rajamony
- Web page: https://patentgrep.com/patent/US20030229713A1

## CPC

- H04L 69/161: {Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields}
- H04L 69/163: In-band adaptation of TCP data exchange; In-band control procedures
- H04L 69/16: Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A network controller including a server-directed packet forwarding mechanism and method therefor improve load-balancing within a network system without requiring an intelligent switch having TCP splicing capability. The network controller forwards connections in response to directives from the connected server, permitting connection splicing within the network controller, but in response to a determination within the server that a connection to an alternative node is more desirable. The alternative node connection can be determined based on data availability, server load or other criteria. The packet forwarding mechanism and can be implemented very compactly within the firmware of the network controller and the server forwarding control can be communicated via the network controller device driver, providing a load-balancing solution with little incremental cost.

## Claims

### Claim 1

A method for forwarding connections at a server, comprising:
receiving a first packet at a network controller of said server, wherein said first packet is destined for an original destination node of said server and was provided by an originating source;
transmitting said first packet from said network controller to said original destination node;
within said server, determining whether or not said original destination node should handle a connection associated with said first packet;
in response to determining that said original destination node should not handle said connection, sending a command to said network controller to forward subsequent packets for said connection to an alternate destination node;
in response to receiving said command at said network controller, modifying a destination address of said subsequent packets within said network controller to produce modified packets containing an address of said alternate destination node and an origin address containing a response node of said network controller; and
transmitting said modified packets from said network controller to said alternate destination node.

### Claim 2 (depends on 1)

The method of claim 1, wherein said receiving a first packet receives a first packet from a switch coupled to said network controller and wherein said transmitting transmits said modified packets to said switch.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
building a database within said server of alternate destinations for packer data; and
selecting alternate destination node from said database, and wherein said sending sends a command including an address of said alternate destination node.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
building a database within said network controller of alternate destinations for packet data; and
in response to receiving said command, selecting said alternate destination node from said database.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
building a database within said server of alternate destinations for packet data;
transferring said database to said network controller; and
in response to receiving said command, selecting said alternate destination node from said database from said transferred database within said network controller.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
analyzing network traffic at said server; and
building a database in conformity with a result of said analyzing, whereby said alternate destination node is selected from said database.

### Claim 7 (depends on 1)

The method of claim 1, wherein said determining comprises detecting that a size of a packet buffer for said original destination node has exceeded a predetermined threshold, and wherein said sending is performed in response to said detecting.

### Claim 8 (depends on 1)

The method of claim 1, wherein said packet is a connection request, wherein said determining determines an alternate node for said connection, and wherein said modifying and transmitting are performed for subsequent packets received for said connection.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving a response packet from said alternate destination node at said response node;
modifying an origination address of said response packet within said network controller to produce a modified response packet containing an origination address of said original destination node and a destination address of said originating source; and
transmitting said modified response packet from said network controller to said originating source.

### Claim 10

A server system, comprising:
a processing unit, including a server memory for storing server program instructions for execution by a server processor within said processing unit;
a bus for interconnecting said processing unit with peripheral devices; and
a network controller coupled to said bus for coupling said server system to a network, said network controller including a controller processor and a controller memory coupled to said controller processor for storing controller program instructions for execution by said controller processor, and wherein said controller program instructions include instructions for
receiving a command from said server processor to forward a connection destined for an original destination node of said server to an alternate destination node;
in response to said receiving and within said network controller, modifying a destination address of packets associated with said connection to produce modified packets containing an address of said alternate destination node and an origin address containing a response node of said network controller; and
transmitting said modified packets from said network controller to said alternate destination node.

### Claim 11 (depends on 10)

The server system of claim 10, wherein said intelligent network controller includes a network processor and wherein said controller processor and said controller memory are included within said network processor.

### Claim 12 (depends on 10)

The server system of claim 10, wherein said server program instructions comprise program instructions for:
building within said server a database of alternate destinations for packet data;
determining whether or not an original destination node should handle said connection;
selecting an alternate destination node for said connection from said database; and
program instructions for sending said command to said network controller, and wherein said program instructions for selecting and sending are executed in response to said program instructions to determining that said original destination node should not handle said connection.

### Claim 13 (depends on 10)

The server system of claim 10, wherein said controller program instructions further comprise program instructions for:
receiving from said server processor a database of alternate destinations for packet data;
determining whether or not an original destination node should handle a connection; and
selecting said alternate destination node from said database, and wherein said program instructions for selecting are executed in response to receiving said command.

### Claim 14 (depends on 10)

The server system of claim 10, wherein said server program instructions comprise program instructions for:
building a database within said server of alternate destinations for packet data; and
transferring said database to said network controller, and wherein said controller program instructions further comprise program instructions for selecting said alternate destination node from said database in response to receiving said command.

### Claim 15 (depends on 10)

The server system of claim 10, wherein said server program instructions further comprise program instructions for:
analyzing network traffic at said server; and
building a database in conformity with a result of said analyzing, whereby said alternate destination node may be selected from said database.

### Claim 16 (depends on 10)

The server system of claim 10, wherein said server program instructions further comprise program instructions for detecting that a size of a packet buffer for said original destination node has exceeded a predetermined threshold, and wherein program instructions for said sending are executed in response to said detecting.

### Claim 17 (depends on 10)

The server system of claim 10, wherein said controller program instructions further comprise program instructions for:
receiving a response packet from said alternate destination node at said response node;
modifying an origination address of said response packet within said network controller to produce a modified response packet containing an origination address of said original destination node and a destination address of said originating source; and
transmitting said modified response packet from said network controller to said originating source.

### Claim 18

A computer program product comprising signal-bearing media encoding program instructions for execution within a controller processor of a network controller, said program instructions comprising program instructions for:
receiving a command from bus interface of said network controller to forward a connection made through a network interface of said network controller;
in response to said receiving and within said network controller, modifying a destination address of packets associated with said connection to produce modified packets containing an address of said alternate destination node and an origin address containing a response node of said network controller; and
transmitting said modified packets from said network controller to said alternate destination node.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein said program instructions further comprise program instructions for:
receiving through said bus interface, a database of alternate destinations for packet data;
determining whether or not an original destination node should handle a connection; and
selecting said alternate destination node from said database, and wherein said program instructions for selecting are executed in response to receiving said command.

### Claim 20 (depends on 18)

The computer program product of claim 18, wherein said program instructions further comprise program instructions for:
receiving a response packet from said alternate destination node at said response node;
modifying an origination address of said response packet within said network controller to produce a modified response packet containing an origination address of said original destination node and a destination address of said originating source; and
transmitting said modified response packet from said network controller to said originating source.
