IP Library Granted Patent US 8,559,331
Granted Patent B2
US 8,559,331 · App. 12/880,373 · Granted Oct 15, 2013

Tri-colour data packet counting for tri-colour marking policies

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 8,559,331
App. No.
12/880,373
Granted
Oct 15, 2013
Kind
B2
Abstract

The invention is directed to counting data packets marked according to tri-color marking techniques. Packets of a packet flow that are marked according to a three color (or tri-color) marking scheme are counted using a counter implemented on a ternary content addressable memory (TCAM). Advantages of some embodiments of the invention are to enable the use of generic and cost-efficient TCAMs to quickly obtain the counts of all three colors of packets in such a packet flow. These counts can be used to provide detailed statistics on characteristics of the packet flow, which can be useful for debugging and accounting purposes.

Claims (22)

1. A method of counting packets of a data packet flow marked according to a tri-color marking scheme, comprising the steps of:

receiving a packet of the flow;

determining whether the flow matches a srTCM flow policy;

determining an identifier for the flow;

determining a marked color of the received packet;

incrementing a first counter at a first ternary content-addressable memory (TCAM) entry corresponding to the identifier responsive to the marked color being a first color of said tri-color marking scheme;

incrementing a second counter at the first TCAM entry corresponding to the identifier responsive to the marked color being a second color of said tri-color marking scheme; and

incrementing a third counter at a second TCAM entry corresponding to the identifier.

2. The method of claim 1 , further comprising determining a count of packets from the flow having a marked color being a third color of said tri-color marking scheme by subtracting from a current count of the third counter a sum of current counts of the first and second counters.

3. The method of claim 1 , wherein the first and second colors are green and yellow and the third color is red.

4. The method of claim 1 , wherein the first and second counters are implemented on a first TCAM and the third counter is implemented on a second TCAM.

5. The method of claim 1 , wherein the first, second, and third counters are implemented on respective first, second and third TCAMs.

6. The method of claim 1 , wherein the first, second, and third counters are implemented on a single TCAM.

7. The method of claim 1 , wherein the step of incrementing a third counter comprises incrementing the third counter regardless of the marked color.

8. The method of claim 1 , further comprising

ascertaining if there is a TCAM entry for the identifier;

ascertaining, responsive to there being said TCAM entry, if there are three TCAM counters associated with the entry; and

configuring, responsive to there being fewer than three such TCAM counters, one or more TCAM counters associated with the entry so there are a total of at least three TCAM counters associated with the entry.

9. The method of claim 8 , wherein configuring comprises configuring the one or more counters such that two of the at least three counters are configured on a first TCAM and a third of the at least three counters is configured on a second TCAM.

10. The method of claim 9 wherein configuring said policy in the flow policy storage comprises configuring said policy on either the first or second TCAM.

11. The method of claim 1 , further comprising:

responsive to the flow not matching a srTCM flow policy, configuring said policy in a flow policy storage.

Assignments (10)
RELEASE OF SECURITY INTEREST Recorded Jun 3, 2021
From: TERRIER SSC, LLC
To: WSOU INVESTMENTS, LLC
Reel/Frame 056526/0093 →
SECURITY INTEREST Recorded Jun 1, 2021
From: WSOU INVESTMENTS, LLC
To: OT WSOU TERRIER HOLDINGS, LLC
Reel/Frame 056990/0081 →
RELEASE OF SECURITY INTEREST Recorded May 21, 2019
From: OCO OPPORTUNITIES MASTER FUND, L.P. (F/K/A OMEGA CREDIT OPPORTUNITIES MASTER FUND LP
To: WSOU INVESTMENTS, LLC
Reel/Frame 049246/0405 →
SECURITY INTEREST Recorded May 20, 2019
From: WSOU INVESTMENTS, LLC
To: BP FUNDING TRUST, SERIES SPL-VI
Reel/Frame 049235/0068 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 25, 2017
From: ALCATEL LUCENT
To: WSOU INVESTMENTS, LLC
Reel/Frame 044000/0053 →
SECURITY INTEREST Recorded Sep 21, 2017
From: WSOU INVESTMENTS, LLC
To: OMEGA CREDIT OPPORTUNITIES MASTER FUND, LP
Reel/Frame 043966/0574 →
RELEASE OF SECURITY INTEREST Recorded Oct 9, 2014
From: CREDIT SUISSE AG
To: ALCATEL-LUCENT USA INC.
Reel/Frame 033949/0016 →
SECURITY INTEREST Recorded Mar 7, 2013
From: ALCATEL-LUCENT USA INC.
To: CREDIT SUISSE AG
Reel/Frame 030510/0627 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 17, 2011
From: ALCATEL-LUCENT USA INC.
To: ALCATEL LUCENT
Reel/Frame 027069/0057 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 13, 2010
From: OLAKANGIL, JOSEPH F.
To: ALCATEL-LUCENT USA INC.
Reel/Frame 024975/0689 →