IP Library Granted Patent US 8,885,480
Granted Patent B2
US 8,885,480 · App. 13/277,613 · Granted Nov 11, 2014

Packet priority in a network processor

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,885,480
App. No.
13/277,613
Granted
Nov 11, 2014
Kind
B2
Abstract

In a network processor, a “port-kind” identifier (ID) is assigned to each port. Parsing circuitry employs the port-kind ID to select the configuration information associate with a received packet. The port kind ID can also be stored at a data structure presented to software, along with a larger port number (indicating an interface and/or channel). Based on the port kind ID and extracted information about the packet, a backpressure ID is calculated for the packet. The backpressure ID is implemented to assign a priority to the packet, as well as determine whether a traffic threshold is exceeded, thereby enabling a backpressure signal to limit packet traffic associated with the particular backpressure ID.

Claims (17)

1. A method of processing packets comprising:

receiving, from a network interface, a packet and a port identifier (ID), the port ID indicating a channel associated with the packet, the channel being a subset of communications at the network interface;

comparing the port ID against entries in a table to determine instructions for processing the packet, the table storing a plurality of port IDs with corresponding instructions;

determining a backpressure ID based on the port ID and information regarding the packet;

incrementing a resource counter corresponding to the backpressure ID; and

in response to detecting the resource counter reaching a threshold, sending a control signal to the network interface to limit operation of the channel;

assigning a priority to the packet based on the backpressure ID.

2. The method of claim 1 , wherein the information regarding the packet includes packet data.

3. The method of claim 2 , wherein the packet data includes one or more of a Virtual Local Area Network (VLAN) tag, HiGig tag, Digital Signature Algorithm (DSA) tag, Differentiated Services (diffserv) tag, a packet instruction header, and a customer configured custom field from the packet.

4. The method of claim 1 , wherein the control signal is configured to cause a network element upstream from the network interface to limit packet transmission to the network interface.

5. An apparatus comprising:

an input port for receiving packets from a plurality of network interfaces, each of the packets having an associated port identifier (ID), the port ID indicating a channel associated with the packet, the channel being a subset of communications at the network interface;

a parsing circuit configured to 1) compare the port ID against entries in a table to determine instructions for processing the packet, the table storing a plurality of port IDs with corresponding instructions, 2) determine a backpressure ID based on the port ID and information regarding the packet, and 3) assigns a priority to the packet based on the backpressure ID; and

a backpressure control circuit configured to increment a resource counter corresponding to the backpressure ID and, in response to detecting the resource counter reaching a threshold, send a control signal to the respective network interface to limit operation of the channel.

6. The apparatus of claim 5 , wherein the information regarding the packet includes packet data.

7. The apparatus of claim 6 , wherein the packet data includes one or more of a Virtual Local Area Network (VLAN) tag, HiGig tag, Digital Signature Algorithm (DSA) tag, Differentiated Services (diffserv) tag, a packet instruction header, and a customer configured custom field from the packet.

8. The apparatus of claim 5 , wherein the control signal is configured to cause a network element upstream from the network interface to limit packet transmission to the network interface.

Assignments (5)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 15, 2020
From: CAVIUM INTERNATIONAL
To: MARVELL ASIA PTE, LTD.
Reel/Frame 053179/0320 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 17, 2020
From: CAVIUM, LLC
To: CAVIUM INTERNATIONAL
Reel/Frame 051948/0807 →
CERTIFICATE OF CONVERSION AND CERTIFICATE OF FORMATION Recorded Oct 2, 2018
From: CAVIUM, INC.
To: CAVIUM, LLC
Reel/Frame 047185/0422 →
RELEASE OF SECURITY INTEREST Recorded Jul 6, 2018
From: JP MORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
To: CAVIUM, INC; CAVIUM NETWORKS LLC; QLOGIC CORPORATION
Reel/Frame 046496/0001 →
SECURITY AGREEMENT Recorded Aug 17, 2016
From: CAVIUM, INC.; CAVIUM NETWORKS LLC
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 039715/0449 →