# US 2008/0301336 A1 · Dynamic memory allocation between inbound and outbound buffers in a protocol handler

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

- Number: US 2008/0301336 A1
- Document ID: US20080301336A1
- Status: Published application
- Kind: A1
- Application number: 12/183,533
- Filed: 2008-07-31
- Published: 2008-12-04
- Earliest claimed: 2002-03-12
- Assignees: International Business Machines Corporation
- Inventors: Mark R. BILAK; Robert M. Bunce; Steven C. Parker; Brian J. Schuh
- Web page: https://patentgrep.com/patent/US20080301336A1

## CPC

- H04L 49/9047: including multiple buffers, e.g. buffer pools
- H04L 49/90: Buffering arrangements
- H04L 49/3018: {Input queuing}
- H04L 49/3027: {Output queuing}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An apparatus and method for dynamically allocating memory between inbound and outbound paths of a networking protocol handler so as to optimize the ratio of a given amount of memory between the inbound and outbound buffers is presented. Dedicated but sharable buffer memory is provided for both the inbound and outbound processors of a computer network. Buffer memory is managed so as to dynamically alter what portion of memory is used to receive and store incoming data packets or to transmit outgoing data packets. Use of the present invention reduces throttling of data rate transmissions and other memory access bottlenecks associated with conventional fixed-memory network systems.

## Claims

### Claim 1

An apparatus for processing packets comprising:
an inbound memory for receiving data packets;
an outbound memory, separate form the inbound memory, for transmitting data packets; and
circuitry capable of dynamically allocating memory from the inbound memory for use by the outbound memory or from the outbound memory for use by the inbound memory.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the outbound and inbound memories are arranged to have a size that is smaller than a maximum frame size of the data packet to be processed.

### Claim 3 (depends on 1)

The apparatus of claim 1, further comprising:
a first processor for controlling the inbound memory; and
a second processor for controlling the outbound memory.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the apparatus is capable of processing inbound data and outbound data simultaneously.

### Claim 5 (depends on 1)

The apparatus of claim 1, further comprising:
an inbound FIFO in communication with the inbound memory; and
an outbound FIFO in communication with the outbound memory.

### Claim 6

An apparatus for receiving and transmitting data packets, the apparatus comprising:
means for receiving data packets in an inbound memory buffer;
means for transmitting data packets with an outbound memory buffer, separate from the inbound memory buffer; and
means for dynamically allocating memory from the inbound memory buffer for use by the outbound memory buffer or the outbound memory buffer for use by the inbound memory buffer.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the means for dynamically allocating comprises:
means for determining that the inbound memory buffer requires additional memory; and
means for dynamically allocating memory from the outbound memory buffer for use by the inbound memory.

### Claim 8 (depends on 6)

The apparatus of claim 6, wherein the means for dynamically allocating comprises:
means for determining that the outbound memory buffer requires additional memory; and
means for dynamically allocating memory from the inbound memory buffer for use by the outbound memory buffer.

### Claim 9 (depends on 6)

The apparatus of claim 6, wherein the apparatus is capable of processing inbound data and outbound data simultaneously.

### Claim 10 (depends on 6)

The apparatus of claim 6, further comprising:
an inbound FIFO arranged to transfer data packets to the means for receiving data packets in an inbound memory buffer; and
an outbound FIFO arranged to receive data from with the means for transmitting data packets with an outbound memory buffer.
