Method and system for memory management in a network processing system
First Claim
1. A method for managing memory in a network processing system having a control point processor (CP) coupled to a plurality of network processors (NPs) via a bus, said method comprising:
- providing a control point memory manager within said CP;
providing an NP memory manager within each of said plurality of NPs;
in response to a request of an allocation of memory by an application within said CP, transmitting said request from said CP to said plurality of NPs over said bus to request an allocation of a memory location within one of said plurality of NPs; and
allocating a physical memory within one of said plurality of NPs and returning a token representing said memory allocation from said one of said NPs to said control memory manager such that read/write accesses to said physical memory are available to said application.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for memory management in a network processing system provides for allocation of physical memory areas within network processors coupled to a control point processor by a bus. The allocation scheme provides a memory management layer without requiring a complete operating system interface and supports asynchronous completion of the allocation requests. Multicast allocation is supported allowing an allocation to be simultaneously requested on multiple network processors. The allocation mechanism returns a token, which may then be used to access the memory location via a protocol over the bus, and a single token may refer to an allocation made on several network processors where the actual physical addresses and memory configurations are different.
56 Citations
20 Claims
-
1. A method for managing memory in a network processing system having a control point processor (CP) coupled to a plurality of network processors (NPs) via a bus, said method comprising:
-
providing a control point memory manager within said CP; providing an NP memory manager within each of said plurality of NPs; in response to a request of an allocation of memory by an application within said CP, transmitting said request from said CP to said plurality of NPs over said bus to request an allocation of a memory location within one of said plurality of NPs; and allocating a physical memory within one of said plurality of NPs and returning a token representing said memory allocation from said one of said NPs to said control memory manager such that read/write accesses to said physical memory are available to said application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A network processing system, said network processing system comprising:
-
a control point processor (CP); a plurality of network processors (NPs) coupled to said CP via a bus; a control point memory manager within said CP; an NP memory manager within each of said plurality of NPs; in response to a request of an allocation of memory by an application within said CP, means for transmitting said request from said CP to said plurality of NPs over said bus to request an allocation of a memory location within one of said plurality of NPs; and means for allocating a physical memory within one of said plurality of NPs and returning a token representing said memory allocation from said one of said NPs to said control memory manager such that read/write accesses to said physical memory are available to said application. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification