IP Library Granted Patent US 7,143,231
Granted Patent B1
US 7,143,231 · App. 09/406,170 · Granted Nov 28, 2006

Method and apparatus for performing packet classification for policy-based packet routing

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,143,231
App. No.
09/406,170
Granted
Nov 28, 2006
Kind
B1
Abstract

A method and apparatus for performing packet classification in a digital signal processor for policy-based packet routing. For one embodiment, the digital signal processor includes a policy statement table for storing policy statements. Each policy statement has associated with it a priority number that indicates the priority of the policy statement relative to other policy statements. The priority numbers are separately stored in a priority index table. The priority index table includes priority logic that determines the most significant priority number from among the policy statements that match an incoming packet during a classification of filter operation. The priority logic also identifies the location in the priority index table of the most significant priority number. The identified location in the priority index table can be used to access associated route information or other information stored in a route memory array. New policy statements can be added at any location in the policy statement table, and the associated priority numbers loaded into corresponding locations in the priority index table. Priority numbers of previously stored priority policy statements may be updated such that the new policy statement does not have the same priority number as the previously stored policy statements.

Claims (20)

1. A method of adding a new policy statement to a plurality of policy statements stored in a first memory, comprising:

comparing a new priority number associated with the new policy statement

to a plurality of priority numbers stored in a second memory, the plurality of priority numbers each associated with a respective one of the plurality of policy statements stored in the first memory;

determining that the new priority number is more significant than one of the plurality of priority numbers stored in the second memory;

updating the one of the plurality of priority numbers in the second memory without changing its physical location in the second memory;

writing the new priority number to an available location in the second memory; and

writing the new policy statement to an available location in the first memory.

2. The method of claim 1 , wherein the new priority number is more significant than the one of the plurality of priority numbers when the new priority number is greater than or equal to the one of the plurality of priority numbers.

3. The method of claim 1 , wherein the new priority number is more significant than the one of the plurality of priority numbers when the new priority number is less than or equal to the one of the plurality of priority numbers.

4. A method of adding a new policy statement to a plurality of policy statements stored in a first memory, comprising:

altering a new priority number associated with the new policy statement;

comparing the altered new priority number to a plurality of priority numbers stored in a second memory, the plurality of priority numbers each associated with a respective one of the plurality of policy statements stored in the first memory;

determining that the altered new priority number is more significant than one of the plurality of priority numbers stored in the second memory;

updating the one of the plurality of priority numbers in the second memory without changing its physical location in the second memory;

writing the unaltered new priority number to an available location in the second memory; and

writing the new policy statement to an available location in the first memory.

5. The method of claim 4 , wherein the altered new priority number is more significant than the one of the plurality of priority numbers when the altered new priority number is greater than the one of the plurality of priority numbers.

6. The method of claim 4 , wherein the altered new priority number is more significant than the one of the plurality of priority numbers when the altered new priority number is less than the one of the plurality of priority numbers.

7. The method of claim 4 , wherein altering the new priority number comprises decrementing the new priority number.

8. The method of claim 4 , wherein altering the new priority number comprises incrementing the new priority number.

Assignments (3)
TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS Recorded Feb 3, 2017
From: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
To: BROADCOM CORPORATION
Reel/Frame 041712/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 1, 2017
From: BROADCOM CORPORATION
To: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
Reel/Frame 041706/0001 →
PATENT SECURITY AGREEMENT Recorded Feb 11, 2016
From: BROADCOM CORPORATION
To: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Reel/Frame 037806/0001 →